Cursor
Register the jeffs-brain MCP server with Cursor.
Prerequisites
- Cursor installed.
- Node
>=20on yourPATH.
Install
Cursor reads MCP servers from ~/.cursor/mcp.json (global) or <repo>/.cursor/mcp.json (project). Add:
{
"mcpServers": {
"jeffs-brain": {
"command": "npx",
"args": ["-y", "@jeffs-brain/memory-mcp"],
"env": {
"JB_TOKEN": "optional-hosted-token"
}
}
}
}
Reload Cursor. Open Settings → MCP to confirm the server shows as connected.
Smoke test
In Composer or the chat panel:
Remember: my test framework is vitest.
Then later:
What test framework do I use?
Both turns should show tool calls.
Troubleshooting
- Server appears disconnected — check Cursor’s MCP logs via the command palette: “MCP: Show Logs”.
envvars not picked up — Cursor requires a reload after editingmcp.json.- Global vs project scope:
~/.cursor/mcp.jsonapplies everywhere; the project copy overrides.