Synapse Layer — Trust Infrastructure for AI Agents MCP Server
io.github.SynapseLayer/synapse-layer
Persistent encrypted memory for AI agents with semantic search and trust scoring.
What is the Synapse Layer — Trust Infrastructure for AI Agents MCP server?
Synapse Layer is an MCP-native persistent memory infrastructure for AI agents that stores encrypted memories with semantic recall and trust quotient scoring. It enables agents to maintain context across sessions and share memories across different AI platforms like Claude, ChatGPT, and Gemini.
Synapse Layer provides a secure, searchable memory layer for AI agents. Memories are encrypted at rest with AES-256-GCM, indexed for semantic recall via pgvector HNSW, and exposed through MCP JSON-RPC. It solves the problem of stateless LLMs forgetting context between sessions and enables cross-agent memory sharing.
How to install Synapse Layer — Trust Infrastructure for AI Agents
Copy-paste configuration for popular MCP clients.
x-connect-tokensecretConnect token for API authentication (sk_connect_*). Obtain via Forge → Dashboard → Connect.
Tools & capabilities
Tools this server exposes to the agent.
recall— Retrieve memories via semantic search with trust quotient rankingsave_to_synapse— Store a memory in the encrypted persistent layerprocess_text— Process and prepare text for memory storagesearch— Search stored memories by contenthealth_check— Check the health status of the Synapse Layer serviceinitialize_context— Initialize context for a new memory sessionsave_memory— Save structured memory entriesstore_memory— Store memory with metadatarecall_memory— Recall specific memories by querylist_memories— List all stored memoriesmemory_feedback— Provide feedback on memory quality and trustneural_handover— Transfer context between AI agentsslo_report— Generate service level objective reports
Use cases
- Persist user preferences and conversation history across multiple chat sessions with different AI models
- Build multi-agent systems where one agent saves context that another agent can recall and act upon
- Maintain an audit trail of agent decisions with trust scoring for production AI workflows
- Create long-term assistant memory that survives session restarts and model switches
- Implement secure memory sharing across teams using encrypted, tenant-scoped storage
Synapse Layer — Trust Infrastructure for AI Agents MCP server FAQ
Synapse Layer is persistent encrypted memory infrastructure for AI agents. It stores memories encrypted with AES-256-GCM, indexes them for semantic recall, and exposes them via MCP so agents like Claude, ChatGPT, and Gemini can access shared context across sessions.
Synapse Layer is open-source under Apache 2.0. You can self-host it or use the managed Forge service at forge.synapselayer.org, which requires a Connect Token obtained from the dashboard.
Add the MCP server to your claude_desktop_config.json with the remote endpoint https://forge.synapselayer.org/api/mcp and your Connect Token in the x-connect-token header. The Forge dashboard provides a one-command install via Smithery.
You need a Connect Token from forge.synapselayer.org. Tokens are passed via the x-connect-token header (never in URLs) and are required for all API calls.
Yes. Memories saved in one agent (e.g., ChatGPT) can be recalled by another (e.g., Claude) if they share the same Connect Token, enabling true cross-agent continuity.
Memories are encrypted at rest with AES-256-GCM using per-operation random IVs, integrity-checked with HMAC-SHA-256, and stored in tenant-scoped encrypted storage with header-first authentication.
README (reference)
Source of truth, from the repository.
🧠 Synapse Layer
RAG retrieves. Synapse remembers.
Persistent memory infrastructure for AI agents — AES-256-GCM encrypted at rest, semantic search, MCP-native.
Synapse Layer is open-source persistent memory infrastructure for AI agents and assistants. Memories are encrypted at rest with AES-256-GCM, indexed via pgvector HNSW for semantic recall, and exposed through MCP JSON-RPC for native integration with Claude, GPT, Gemini, and any MCP-compatible client. Apache 2.0 licensed.
</div>⚡ 30-Second Quickstart
Get your Connect Token at forge.synapselayer.org → Connect, then install into any MCP client:
curl -fsSL https://forge.synapselayer.org/install/smithery | bash
On the Forge dashboard the Smithery card already copies the command with your token embedded (… | bash -s -- sk_connect_…) — a single paste in your terminal is enough.
Or use the Python SDK:
from synapse_layer import Synapse
s = Synapse(token="sk_connect_YOUR_TOKEN")
s.store("user likes coffee")
print(s.recall("what does user like?"))
Get your token at forge.synapselayer.org → Dashboard → Connect
What is Synapse Layer?
The persistent memory layer for AI agents — the missing piece between stateless LLMs and real continuity of context.
Your AI agents forget everything between sessions. Synapse Layer fixes that.
| Feature | Description |
|---|---|
| 🔐 Encrypted at rest | AES-256-GCM with per-operation random IV and HMAC-SHA-256 integrity |
| 🧩 One-click connect | Claude Desktop, Cursor, LangChain, CrewAI, n8n |
| 🌐 Cross-agent memory | Save in ChatGPT, recall in Claude |
| ⚡ MCP-native | Any MCP-compatible agent |
| 🔒 Header-first auth | Tokens never in URLs or logs |
| 🎯 Trust Quotient | Deterministic recall — memories ranked by confidence, not recency alone |
Why Synapse Layer?
Your AI agents forget everything between sessions. Synapse Layer fixes that — in one line.
| Without Synapse Layer | With Synapse Layer |
|---|---|
| Agent forgets context every session | Persistent memory across all sessions |
| Memory locked to one model | Cross-agent: save in ChatGPT, recall in Claude |
| No audit trail | Trust Quotient scoring on every memory |
| Complex integration | pip install synapse-layer + 3 lines of code |
| Plaintext stored on servers | AES-256-GCM encrypted at rest |
Use Cases
- Long-term assistant memory — persist user preferences, facts, and prior decisions across sessions.
- Cross-agent continuity — save context in one agent and recall it in another.
- Secure memory for MCP clients — connect Claude Desktop, Cursor, and other MCP-compatible tools to a governed memory layer.
- Operational memory for teams — maintain structured context, trust scoring, and searchable recall for production agents.
Install
pip install synapse-layer
Quick Start
Python Script
from synapse_layer import Synapse
client = Synapse(token="sk_connect_YOUR_TOKEN")
# Store
client.store("User prefers dark mode and concise answers")
# Recall
results = client.recall("user preferences")
for r in results:
print(r["content"], r["trust_quotient"])
With Context Manager
from synapse_layer import Synapse
with Synapse(token="sk_connect_YOUR_TOKEN") as client:
client.store("User prefers dark mode and concise answers")
results = client.recall("user preferences")
for r in results:
print(r["content"])
Get your token at forge.synapselayer.org → Dashboard → Connect
13 MCP Tools at a Glance
Synapse Layer currently exposes 13 MCP tools for persistent memory workflows:
recallsave_to_synapseprocess_textsearchhealth_checkinitialize_contextsave_memorystore_memoryrecall_memorylist_memoriesmemory_feedbackneural_handoverslo_report
These tools cover memory capture, semantic recall, structured storage, feedback loops, agent handoff, and operational observability.
Deployment Modes
Python Script Mode
Use the SDK when you want direct Python access to Forge memory from your application.
Best for:
- prototypes and scripts
- Python-native workflows
- fast integration into existing apps
Cloud / Forge API
Use Forge when you need persistent, cross-session, and cross-agent memory with managed access tokens.
Best for:
- production assistants
- multi-agent systems
- MCP-based integrations
- shared memory across tools and sessions
MCP Integration (Claude Desktop / Cursor)
Add to claude_desktop_config.json:
{
"mcpServers": {
"synapse-layer": {
"command": "npx",
"args": [
"mcp-remote",
"https://forge.synapselayer.org/api/mcp",
"--header",
"x-connect-token: sk_connect_YOUR_TOKEN"
]
}
}
}
Config file location:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json - Linux:
~/.config/Claude/claude_desktop_config.json
API — Header-First Auth
# Health check
curl -H "x-connect-token: sk_connect_YOUR_TOKEN" \
https://forge.synapselayer.org/api/connect/health
# Save memory
curl -X POST \
-H "x-connect-token: sk_connect_YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{"content": "User is a Python developer"}' \
https://forge.synapselayer.org/api/v1/capture
Security
| Feature | Implementation |
|---|---|
| Encryption | AES-256-GCM at rest with per-operation random IV |
| Integrity | HMAC-SHA-256 on content |
| Auth | Header-first (x-connect-token) — tokens never in URLs or logs |
| Privacy | Content sanitization + tenant-scoped encrypted storage |
| Isolation | 1 user = 1 tenant = 1 private mind |
See SECURITY.md for vulnerability reporting.
Related Projects
| Project | Description |
|---|---|
| synapse-sdk-python | Python SDK — LangChain, CrewAI, and A2A protocol adapters |
| synapse-layer-skill | MCP skill configuration for Claude Desktop, Cursor, Windsurf |
| synapse-layer-langgraph | LangGraph checkpoint saver with encrypted state persistence |
Governance
- All public claims follow the Public Claims Matrix.
- Architecture details that reveal benefits are public; mechanisms that enable them are private.
- Claim = Reality. If it's not implemented, it's not in the README.
License
Apache-2.0 © Synapse Layer
Related MCP servers
Synapse Network MCP paid API calls via discover_services; not Synapse.org/Sage Bionetworks Synapse.

GhostQA
AI personas navigate your web app in real browsers, find bugs and UX issues. No scripts needed.
SynClub MCP Server for AI-powered comic creation with script generation and image tools

Official US data for AI agents: CPI inflation since 1913, famous prices, national debt since 1790.
Compare, estimate, and deploy cloud infrastructure across AWS, GCP, and Azure for AI agents.
Manage ad campaigns across 19 platforms—create, pause, adjust budgets, and pull performance data via AI.



