MCP servers · MongoDB · MCP server + skill
Connect Claude Code to MongoDB
One line gives Claude Code your MongoDB account as tools: 8 endpoints, aggregate, documents, more, called with your own connection. No key in the prompt, a receipt for every call, revoke Claude Code's access alone any time.
Three steps
- Create a free 0n3 account and connect MongoDB. Paste a key or sign in; it lands in your vault, encrypted.
- Install 0n3 into Claude Code. The terminal agent. One command, then every connection you hold is a tool in your shell. The skill file teaches it how 0n3 works.
- Ask Claude Code: whoami. Then: "Aggregate in MongoDB".
Install (user scope — every project)
claude mcp add --transport http --scope user 0n3 https://0n3.app/mcp --header "Authorization: Bearer <your 0n token>"
The line above carries a placeholder; 0n3.app/install mints a real key named for Claude Code and fills it in.
What Claude Code can then do in MongoDB
Aggregate · Run aggregation pipelines1
Aggregate
POST /action/aggregateDocuments · CRUD operations on documents0
CRUD operations on documents
More · Everything else this app exposes.7
Find one
POST /action/findOneFind many
POST /action/findInsert one
POST /action/insertOneInsert many
POST /action/insertManyUpdate an one
POST /action/updateOneUpdate a many
POST /action/updateManyDelete an one
POST /action/deleteOneMongoDB in other AI clients
Claude (desktop & claude.ai) + MongoDBconnectorChatGPT + MongoDBconnector · GPT actionCodex CLI + MongoDBMCP serverGemini CLI + MongoDBMCP serverCursor + MongoDBMCP serverVS Code (Copilot) + MongoDBMCP serverWindsurf + MongoDBMCP server
