# MCP in Cursor SUMMARY: Connect Synapse to Cursor IDE for persistent project memory across coding sessions. MCP in Cursor Cursor is an AI-powered IDE based on VS Code. With Synapse MCP, Cursor gains persistent memory across sessions — it remembers your project decisions, codebase patterns, and past debugging sessions. Prerequisites - Cursor IDE installed () - Node.js 18+ - Your Synapse Mind Key Setup Step 1: Open Cursor Settings In Cursor: 1. Open Settings (Cmd+, on macOS, Ctrl+, on Windows/Linux) 2. Search for "MCP" or navigate to Step 2: Add Synapse MCP Server Click "Add MCP Server" and configure: | Field | Value | |-------|-------| | Name | | | Type | | | Command | | | Env | | Step 3: Edit config.json directly (alternative) Cursor stores MCP config in : [CODE BLOCK] Step 4: Restart Cursor Fully restart Cursor (Cmd+Q and reopen on macOS). Verify It Works In Cursor's chat panel (Cmd+L): [CODE BLOCK] Cursor should call and respond with your stored memories. Common Patterns Project onboarding When opening a new project: [CODE BLOCK] Cursor calls and continues work where you left off. Architecture decisions [CODE BLOCK] Cursor stores it as a memory with priority. Debugging history [CODE BLOCK] Cursor searches for memories and reminds you of past fixes. Cross-session code patterns [CODE BLOCK] Cursor finds memories about auth implementations you've done before. Troubleshooting MCP server not connecting 1. Verify Node.js: (≥ 18) 2. Test MCP server: (should start without errors) 3. Check Cursor's MCP logs (View → Output → MCP) 4. Restart Cursor fully Tools not appearing - Check is valid JSON - Verify env var is set - Check Cursor version supports MCP (≥ 0.42) Mind Key invalid [CODE BLOCK] Next Steps - Claude Desktop Setup - Continue.dev Setup - Persistent LLM Agent Guide