Back to Documentation
🤖

Claude (Anthropic)

Connect Claude Desktop to Synapse Layer via MCP for persistent, privacy-first memory across conversations.

1

Get your API Key

Sign in to your Synapse Forge account and generate a Connect Token from the dashboard.

2

Install the SDK

pip install synapse-layer
3

Configure Claude (Anthropic)

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "synapse-secure-memory": {
      "command": "python",
      "args": ["path/to/server.py"],
      "env": {
        "SYNAPSE_AGENT_ID": "claude-desktop",
        "SYNAPSE_API_KEY": "sk_connect_YOUR_KEY_HERE",
        "SYNAPSE_BASE_URL": "https://forge.synapselayer.org",
        "SYNAPSE_PRIVACY_EPSILON": "0.5"
      }
    }
  }
}

Replace sk_connect_YOUR_KEY_HERE with your actual API key from Step 1.

4

Verify Connection

Once configured, your agent can use store_memory and recall_memory tools. Try storing a test memory:

"Remember that the test connection from Claude (Anthropic) was successful."