What your AI apps can do with MongoDB
- Inspect clusters and collections
- Query documents
MongoDB MCP tools
41 tools, taken from the publisher's documentation on 29 October 2026. The server decides what it offers and can add or rename tools at any time; after you connect, Toolstile shows the current list.
| Tool | What it does |
|---|---|
atlas-list-orgs | Lists Atlas organizations |
atlas-list-projects | Lists Atlas projects |
atlas-create-project | Creates an Atlas project |
atlas-list-clusters | Lists Atlas clusters |
atlas-inspect-cluster | Gets information about an Atlas cluster |
atlas-create-free-cluster | Creates a free Atlas cluster |
atlas-get-regions | Lists supported Atlas regions for AWS, Azure or GCP |
atlas-upgrade-cluster | Upgrades or scales an Atlas cluster |
atlas-create-cluster | Creates a dedicated M10-M80 Atlas cluster |
atlas-pause-resume-cluster | Pauses or resumes a dedicated Atlas cluster |
atlas-inspect-access-list | Gets the IP/CIDR access list for an Atlas cluster |
atlas-list-db-users | Lists Atlas database users |
atlas-create-db-user | Creates an Atlas database user |
atlas-list-alerts | Lists triggered alerts for an Atlas project |
atlas-get-performance-advisor | Gets Performance Advisor recommendations for a cluster |
atlas-load-sample-dataset | Loads a sample dataset into an Atlas cluster |
remote-atlas-connect | Connects to an Atlas cluster on the remote MCP server |
atlas-streams-discover | Gets information about Atlas Stream Processing resources |
atlas-streams-build | Creates Atlas Stream Processing resources |
atlas-streams-manage | Starts, stops or updates Atlas Stream Processing resources |
atlas-streams-teardown | Deletes Atlas Stream Processing resources |
find | Runs a database query |
aggregate | Runs an aggregation pipeline |
aggregate-db | Runs a database-level aggregation pipeline |
count | Counts documents in a collection |
explain | Explains the winning query plan for a query |
insert-many | Inserts documents into a collection |
create-index | Creates an index, including vector and lexical search indexes |
drop-index | Drops an index, including vector and lexical search indexes |
update-many | Updates multiple documents in a collection |
rename-collection | Renames a collection |
create-collection | Creates a collection |
delete-many | Deletes documents from a collection |
drop-collection | Deletes a collection from a database |
drop-database | Deletes a database |
list-databases | Lists databases |
list-collections | Lists collections in a database |
collection-indexes | Gets a collection's indexes, including search indexes |
collection-schema | Gets a collection's schema |
collection-storage-size | Gets a collection's size in megabytes |
db-stats | Gets database statistics |
Suggested access for each AI app
The documentation this list comes from doesn't mark MongoDB's tools as read-only or destructive. Read each tool's description and decide per app before allowing it.
Coding agent in Claude Code or Cursor. Allow the read tools so the agent can look things up without stopping, and require approval for tools that change shared data.
Chat or research app in Claude Desktop. Allow reading and searching. Allow writes only where you want the app to act for you.
Unattended agent, such as a scheduled Codex job. No one is watching the session, so keep it narrow: allow what the job needs, require approval for changes and block the rest.
Blocked tools are removed from the tool list an app sees, so it won't try them. Because rules apply per app, the same MongoDB connection can be broad in one app and read-only in another, and the credential stays in Toolstile instead of each app's config file.
How it works with Toolstile
- Connect once. Add MongoDB to a workspace (browser sign-in). Toolstile keeps the credential, so no agent config holds it.
- Choose access per app. Give Claude Code every MongoDB tool, give Cursor only the read tools, or keep MongoDB away from an app entirely.
- Share approved accounts. Teammates use the connection without copying tokens, and you can remove access in one place.
- Review activity. See which app called which tool and when, so you can tighten access with evidence.
Add the MongoDB MCP server to an AI app
Through Toolstile, every AI app uses one gateway entry, whichever servers you connect. In Claude Code:
claude mcp add --transport http toolstile 'https://toolstile.com/mcp'Then connect MongoDB in your workspace and choose which of its tools that app may use. Client setup covers Codex, Cursor and Claude Desktop.
To connect directly instead, add the MongoDB endpoint to each app separately. In Claude Code:
claude mcp add --transport http mongodb 'https://mcp.mongodb.com/mcp'In Cursor's mcp.json:
{
"mcpServers": {
"mongodb": {
"url": "https://mcp.mongodb.com/mcp"
}
}
}Some servers accept only clients they have approved, or need a token header. Check the MongoDB MCP documentation for what your client needs.
Before you connect
A MongoDB account. Sign-in uses your MongoDB permissions.
Browser sign-in requires this installation to be served from a public HTTPS address so the provider can read its client metadata.
Server details
| Detail | Value |
|---|---|
| Publisher | MongoDB |
| Endpoint | https://mcp.mongodb.com/mcp |
| Authentication | Browser sign-in |
| Categories | Development, Data & infrastructure |
| Tool list | 41 tools, observed 29 October 2026 (docs) |