Requires the runtime declared in the upstream repo — check the README before running. Cursor reloads its MCP servers automatically the moment the file is saved — no restart needed. Paste the config below, then follow the reload step to register contextplus.
~/.cursor/mcp.json.cursor/mcp.json (commit alongside your repo){
"mcpServers": {
"contextplus": {
"command": "bunx",
"args": [
"contextplus"
],
"env": {
"OLLAMA_EMBED_MODEL": "nomic-embed-text",
"OLLAMA_CHAT_MODEL": "gemma2:27b",
"OLLAMA_API_KEY": "YOUR_OLLAMA_API_KEY"
}
}
}
}