MongoDB MCP
A Model Context Protocol server that enables AI agents to interact with MongoDB databases and MongoDB Atlas clusters. It supports connecting via local deployment or through the official mongodb-atlas plugin using OAuth, allowing agents to perform database operations without running local infrastructure for Atlas connections.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What its tools do
25 tools, grouped by the hints the source reports. Hints are self-declared, not verified behavior.
Not annotated (25)
aggregateaggregate-dbcollection-indexescollection-schemacollection-storage-sizeconnectcountcreate-collectioncreate-indexdb-statsdelete-manydrop-collectiondrop-databasedrop-indexexplainexportfindinsert-manylist-collectionslist-databaseslist-knowledge-sourcesmongodb-logsrename-collectionsearch-knowledgeupdate-many
Checks and signals
Each line is separate evidence, not a trust score.
- Popularity 1,155 GitHub stars
What you can do with it
- Connect to MongoDB Atlas clusters via OAuth
- Interact with self-managed MongoDB deployments locally
- Execute database queries and operations via AI agents
Source and maintenance
- Last repository push
- Latest release
- v3.2.1
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
mcp/mongodb@sha256:6ab64d0ba27f23c88d206f75a393a6fc2930b16600f6d5d826e3f65020683005
{
"transport": "stdio",
"identifier": "mcp/mongodb@sha256:6ab64d0ba27f23c88d206f75a393a6fc2930b16600f6d5d826e3f65020683005",
"registryType": "oci",
"registryBaseUrl": "https://registry-1.docker.io"
}Tools
Reported by the attributed source; not independently observed by Koskamo.
aggregate
{
"type": "",
"required": null,
"properties": null
}aggregate-db
{
"type": "",
"required": null,
"properties": null
}collection-indexes
{
"type": "",
"required": null,
"properties": null
}collection-schema
{
"type": "",
"required": null,
"properties": null
}collection-storage-size
{
"type": "",
"required": null,
"properties": null
}connect
{
"type": "",
"required": null,
"properties": null
}count
{
"type": "",
"required": null,
"properties": null
}create-collection
{
"type": "",
"required": null,
"properties": null
}create-index
{
"type": "",
"required": null,
"properties": null
}db-stats
{
"type": "",
"required": null,
"properties": null
}delete-many
{
"type": "",
"required": null,
"properties": null
}drop-collection
{
"type": "",
"required": null,
"properties": null
}drop-database
{
"type": "",
"required": null,
"properties": null
}drop-index
{
"type": "",
"required": null,
"properties": null
}explain
{
"type": "",
"required": null,
"properties": null
}export
{
"type": "",
"required": null,
"properties": null
}find
{
"type": "",
"required": null,
"properties": null
}insert-many
{
"type": "",
"required": null,
"properties": null
}list-collections
{
"type": "",
"required": null,
"properties": null
}list-databases
{
"type": "",
"required": null,
"properties": null
}list-knowledge-sources
{
"type": "",
"required": null,
"properties": null
}mongodb-logs
{
"type": "",
"required": null,
"properties": null
}rename-collection
{
"type": "",
"required": null,
"properties": null
}search-knowledge
{
"type": "",
"required": null,
"properties": null
}update-many
{
"type": "",
"required": null,
"properties": null
}Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · repository · passed · metadata changed · updated
- · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
{
"mcpServers": {
"mongodb-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"mcp/mongodb@sha256:6ab64d0ba27f23c88d206f75a393a6fc2930b16600f6d5d826e3f65020683005"
]
}
}
}Cline
{
"mcpServers": {
"mongodb-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"mcp/mongodb@sha256:6ab64d0ba27f23c88d206f75a393a6fc2930b16600f6d5d826e3f65020683005"
]
}
}
}VS Code
{
"servers": {
"mongodb-mcp": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"mcp/mongodb@sha256:6ab64d0ba27f23c88d206f75a393a6fc2930b16600f6d5d826e3f65020683005"
]
}
}
}Claude Desktop
{
"mcpServers": {
"mongodb-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"mcp/mongodb@sha256:6ab64d0ba27f23c88d206f75a393a6fc2930b16600f6d5d826e3f65020683005"
]
}
}
}Let your agent find its tools
Find servers like MongoDB MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.