Supabase
Supabase
Design tables, run SQL and manage your Supabase projects.
mcp.supabase.com/mcpQuery collections and manage Atlas clusters.
mcpServers (merge with any servers you already have).
mongodb+srv://user:pass@cluster.example.mongodb.net/ with your own values (your MongoDB connection string).
{ "mcpServers": { "mongodb": { "command": "npx", "args": [ "-y", "mongodb-mcp-server@latest", "--readOnly" ], "env": { "MDB_MCP_CONNECTION_STRING": "mongodb+srv://user:pass@cluster.example.mongodb.net/" } } }}
Requires Node.js 22.13+. Run npx -y mongodb-mcp-server@latest setup for guided configuration.
--scope user for every project, or --scope project to share it via .mcp.json.
mongodb+srv://user:pass@cluster.example.mongodb.net/ with your own values (your MongoDB connection string).
claude and run /mcp to confirm the server is connected.
claude mcp add --env MDB_MCP_CONNECTION_STRING=mongodb+srv://user:pass@cluster.example.mongodb.net/ --transport stdio mongodb -- npx -y mongodb-mcp-server@latest --readOnly
{ "mcpServers": { "mongodb": { "command": "npx", "args": [ "-y", "mongodb-mcp-server@latest", "--readOnly" ], "env": { "MDB_MCP_CONNECTION_STRING": "${MDB_MCP_CONNECTION_STRING}" } } }}
Requires Node.js 22.13+. Run npx -y mongodb-mcp-server@latest setup for guided configuration.
ChatGPT only connects to remote MCP servers over HTTPS, and MongoDB runs locally. Use a client that can launch local servers, such as Claude Desktop, Claude Code, Cursor or VS Code.
~/.codex/config.toml.
mongodb+srv://user:pass@cluster.example.mongodb.net/ with your own values (your MongoDB connection string).
codex and type /mcp to see the server's tools.
codex mcp add mongodb --env MDB_MCP_CONNECTION_STRING=mongodb+srv://user:pass@cluster.example.mongodb.net/ -- npx -y mongodb-mcp-server@latest --readOnly
[mcp_servers.mongodb]command = "npx"args = ["-y", "mongodb-mcp-server@latest", "--readOnly"]env = { MDB_MCP_CONNECTION_STRING = "mongodb+srv://user:pass@cluster.example.mongodb.net/" }
Requires Node.js 22.13+. Run npx -y mongodb-mcp-server@latest setup for guided configuration.
-s user makes it global), or edit ~/.gemini/settings.json.
mongodb+srv://user:pass@cluster.example.mongodb.net/ with your own values (your MongoDB connection string).
/mcp inside Gemini CLI to confirm it's connected.
gemini mcp add -s user -e MDB_MCP_CONNECTION_STRING=mongodb+srv://user:pass@cluster.example.mongodb.net/ mongodb npx -y mongodb-mcp-server@latest --readOnly
{ "mcpServers": { "mongodb": { "command": "npx", "args": [ "-y", "mongodb-mcp-server@latest", "--readOnly" ], "env": { "MDB_MCP_CONNECTION_STRING": "$MDB_MCP_CONNECTION_STRING" } } }}
Requires Node.js 22.13+. Run npx -y mongodb-mcp-server@latest setup for guided configuration.
~/.cursor/mcp.json (global) or .cursor/mcp.json (this project).
mongodb+srv://user:pass@cluster.example.mongodb.net/ with your own values (your MongoDB connection string).
{ "mcpServers": { "mongodb": { "type": "stdio", "command": "npx", "args": [ "-y", "mongodb-mcp-server@latest", "--readOnly" ], "env": { "MDB_MCP_CONNECTION_STRING": "mongodb+srv://user:pass@cluster.example.mongodb.net/" } } }}
Requires Node.js 22.13+. Run npx -y mongodb-mcp-server@latest setup for guided configuration.
.vscode/mcp.json in your project (or run MCP: Open User Configuration) and paste the JSON.
{ "inputs": [ { "type": "promptString", "id": "mdb-mcp-connection-string", "description": "Your MongoDB connection string", "password": true } ], "servers": { "mongodb": { "type": "stdio", "command": "npx", "args": [ "-y", "mongodb-mcp-server@latest", "--readOnly" ], "env": { "MDB_MCP_CONNECTION_STRING": "${input:mdb-mcp-connection-string}" } } }}
Requires Node.js 22.13+. Run npx -y mongodb-mcp-server@latest setup for guided configuration.
mcp_config.json).
mcpServers and save.
mongodb+srv://user:pass@cluster.example.mongodb.net/ with your own values (your MongoDB connection string).
{ "mcpServers": { "mongodb": { "command": "npx", "args": [ "-y", "mongodb-mcp-server@latest", "--readOnly" ], "env": { "MDB_MCP_CONNECTION_STRING": "mongodb+srv://user:pass@cluster.example.mongodb.net/" } } }}
Requires Node.js 22.13+. Run npx -y mongodb-mcp-server@latest setup for guided configuration.
context_servers.
mongodb+srv://user:pass@cluster.example.mongodb.net/ with your own values (your MongoDB connection string).
{ "context_servers": { "mongodb": { "command": "npx", "args": [ "-y", "mongodb-mcp-server@latest", "--readOnly" ], "env": { "MDB_MCP_CONNECTION_STRING": "mongodb+srv://user:pass@cluster.example.mongodb.net/" } } }}
Requires Node.js 22.13+. Run npx -y mongodb-mcp-server@latest setup for guided configuration.