Cursor IDE Integration
Add persistent, encrypted memory to Cursor's AI assistant via the Model Context Protocol. Your coding context survives across sessions — securely.
On this page
Overview
Cursor IDE supports MCP servers, allowing its built-in AI assistant to interact with external tools. By connecting Synapse Layer, Cursor's agent gains the ability to store and recall memories across coding sessions — project preferences, architecture decisions, debugging context — all encrypted with AES-256-GCM.
Setup
Cursor supports MCP configuration via a JSON file. Create or edit .cursor/mcp.json in your project root (or the global Cursor config directory):
{
"mcpServers": {
"synapse-layer": {
"url": "https://forge.synapselayer.org/api/mcp",
"headers": { "x-connect-token": "sk_connect_YOUR_TOKEN" }
}
}
}Note
sk_connect_YOUR_TOKEN with your Connect Token from forge.synapselayer.org → Dashboard → Connect.After saving the config, restart Cursor. The Synapse Layer tools will appear in Cursor's MCP tools panel.
Usage
Once connected, you can ask Cursor's AI to use Synapse Layer naturally:
Next session, different file...
Project vs Global Configuration
| Scope | Config Location | Use Case |
|---|---|---|
| Project | .cursor/mcp.json | Memory scoped to a specific codebase. Commit to version control for team sharing. |
| Global | ~/.cursor/mcp.json | Memory available across all projects. Personal preferences and cross-project context. |
Tip