MongoDB Read-Only MCP for Cursor
io.github.fean-developer/mongodb-readonly-mcp
Read-only MongoDB queries with database, collection and field policies.
client:Cursor
transport:stdio
runtime:npm
Install MongoDB Read-Only MCP in Cursor
~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json
{
"mcpServers": {
"mongodb-readonly-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@fean-developer/mongodb-readonly-mcp"
],
"env": {
"MONGODB_MCP_PROFILE": "<MONGODB_MCP_PROFILE>",
"MONGODB_URI": "<MONGODB_URI>"
}
}
}
}
Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs