MCP Troubleshooting
Solve common MCP integration issues — server not starting, tools not appearing, auth errors.
MCP Troubleshooting
Common issues and solutions when integrating Synapse MCP with your LLM client.
Quick Diagnostic Checklist
- ✅ Node.js 18+ installed? (
node --version) - ✅ Mind Key starts with
mk_? (not JWTeyJ...) - ✅ Synapse API reachable? (
curl https://synapse.schaefer.zone/health) - ✅ Mind Key works? (
curl -H "Authorization: Bearer mk_..." .../memory/recall) - ✅ Config file is valid JSON? (no trailing commas, no comments)
- ✅ Client restarted after config change?
- ✅ MCP server starts manually? (
npx -y synapse-mcp-api@latest)
Issue: No Tools Appear in Client
Symptoms
- Claude Desktop / Cursor / Continue shows 0 tools
- No 🔌 icon or "synapse" entry in MCP servers list
Solutions
- Restart client fully — Cmd+Q on macOS (not just close window)
- Check config file location:
- Claude Desktop macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Claude Desktop Windows:
%APPDATA%\Claude\claude_desktop_config.json - Cursor:
~/.cursor/config.json - Continue:
~/.continue/config.json
- Claude Desktop macOS:
- Validate JSON — paste config into https://jsonlint.com
- Check client logs for MCP errors:
- Claude Desktop:
~/Library/Logs/Claude/mcp.log(macOS) - Cursor: View → Output → MCP
- Claude Desktop:
- Run MCP server manually to see startup errors:
SYNAPSE_MIND_KEY=mk_... npx -y synapse-mcp-api@latest
Issue: "Mind Key invalid" Error
Symptoms
- Tools appear but calls fail with "401 Unauthorized"
- Error: "Mind Key fehlt oder ungültig"
Solutions
- Verify Mind Key format — starts with
mk_, ~40 characters - Test directly:
curl -H "Authorization: Bearer mk_YOUR_KEY" \ https://synapse.schaefer.zone/memory/recall - Check env var is set — for stdio transport, the env var must be in the MCP server config, not your shell
- Get a fresh Mind Key:
# Login to get JWT curl -X POST .../login -d '{"email":"...","password":"..."}' # Create new mind curl -X POST .../minds -H "Authorization: Bearer YOUR_JWT" -d '{"name":"new mind"}'
Issue: npx Not Found
Symptoms
- Error: "npx: command not found"
- MCP server fails to start
Solutions
- Install Node.js 18+:
- macOS:
brew install nodeor download from https://nodejs.org - Linux:
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash - && sudo apt install -y nodejs - Windows: download from https://nodejs.org
- macOS:
- Restart terminal after install
- Verify:
node --version && npx --version
Issue: SYNAPSE_URL Unreachable
Symptoms
- MCP server starts but tool calls time out
- Error: "fetch failed" or "ECONNREFUSED"
Solutions
- Test connectivity:
curl https://synapse.schaefer.zone/health - Check corporate firewall — may block outbound HTTPS
- Try alternative URL:
- Production:
https://synapse.schaefer.zone - MCP server:
https://synapse-mcp.schaefer.zone
- Production:
- For self-hosted: ensure your Synapse instance is running and accessible
Issue: MCP Server Crashes
Symptoms
- MCP server exits immediately after start
- Client logs show "MCP server disconnected"
Solutions
- Run manually to see error:
SYNAPSE_MIND_KEY=mk_... SYNAPSE_URL=https://synapse.schaefer.zone \ npx -y synapse-mcp-api@latest - Check for port conflicts — MCP server uses port 13100 by default
- Clear npx cache:
npx clear-npx-cache # or rm -rf ~/.npm/_npx - Update to latest:
npx -y synapse-mcp-api@latest --version
Issue: Tool Calls Return 429
Symptoms
- Error: "Rate limit exceeded"
Solutions
This shouldn't happen with MCP (uses header auth, no rate limit). If it does:
- Check if you're using
?key=somewhere — switch to header auth - Verify
SYNAPSE_URL— make sure it points to the right instance - Contact support if issue persists
Issue: Tools Appear but Don't Work
Symptoms
- Tools listed in client
- Calling a tool returns an error or no result
Solutions
- Check the tool name — must be exact (e.g.
memory_recall, notmemory.recall) - Verify arguments — check the tool's input schema
- Test via direct API:
curl -X POST https://synapse.schaefer.zone/memory \ -H "Authorization: Bearer mk_..." \ -H "Content-Type: application/json" \ -d '{"category":"fact","key":"test","content":"hello"}' - Check Synapse health:
curl https://synapse.schaefer.zone/health
Getting Help
If none of the above solves your issue:
- Check existing issues: https://gitlab.com/schaefer-services/synapse-mcp/-/issues
- Open a new issue with:
- MCP server version (
npx -y synapse-mcp-api@latest --version) - Client name and version
- Operating system
- Relevant log excerpts
- Steps to reproduce
- MCP server version (