Skip to content

cursor-mcp.json

Source file: 03-mcp/templates/client-configs/cursor-mcp.json. Copy it from the repository, or use the copy button on the code block.

cursor-mcp.json
{
"mcpServers": {
"notes-ts": {
"command": "node",
"args": ["C:/path/to/typescript-server/build/index.js"],
"env": { "NOTES_FILE": "${userHome}/.notes-mcp.json" }
},
"notes-py": {
"command": "uv",
"args": ["--directory", "C:/path/to/python-server", "run", "server.py"]
},
"npm-published-server": {
"command": "npx",
"args": ["-y", "your-mcp-package"],
"envFile": "${workspaceFolder}/.env"
},
"remote-server": {
"url": "https://mcp.example.com/mcp",
"headers": { "Authorization": "Bearer ${env:EXAMPLE_TOKEN}" }
}
}
}