MongoDB MCP logo

MongoDB MCP

MongoDB MCP lets authorized agents explore and manage MongoDB Atlas resources, databases, collections, documents, indexes, performance data, and MongoDB knowledge sources.

41 actions Integration catalog
Request access
Connect MongoDB MCP once you're in Boring.
01 · WHAT THE AGENT CAN DO

Actions

Every capability is a discrete, logged action the agent calls by name — scoped to what you authorize and recorded in the run trace.

AggregateMONGODB_MCP_AGGREGATE
Run an aggregation against a MongoDB collection
Aggregate-dbMONGODB_MCP_AGGREGATE_DB
Run an aggregation against a MongoDB database
Atlas-create-access-listMONGODB_MCP_ATLAS_CREATE_ACCESS_LIST
Allow Ip/CIDR ranges to access your MongoDB Atlas clusters.
Atlas-create-clusterMONGODB_MCP_ATLAS_CREATE_CLUSTER
Create a MongoDB Atlas cluster (M10–M80, replica set or single shard, single or multi-region). Compute autoscaling is enabled by default: min instance size is set to the selected instance size, max is set two tiers above. Disk autoscaling is always enabled. For encryption at rest, the CMK provider must already have a valid configuration in the Atlas project. The tool returns immediately, use the atlas-inspect-cluster tool to poll the cluster state for readiness (state: IDLE). Connection strings are unavailable until the cluster reaches IDLE state. Note to LLM: Omit instance size unless specified by the user. If provider and regions are not already known, ask for both together in a single question before calling this tool. Common, non-exhaustive region default mappings by provider: AWS: "East Coast"/"Virginia"/"US East" → US_EAST_1, "Ohio" → US_EAST_2, "California"/"West Coast" → US_WEST_2, "Southeast Asia"/"APAC"/"Singapore" → AP_SOUTHEAST_1, "Europe"/"EU"/"Ireland" → EU_WEST_1. GCP: "Central US" → CENTRAL_US, "Western US" → WESTERN_US, "Southeast Asia"/"APAC" → SOUTHEASTERN_ASIA_PACIFIC, "Europe"/"EU" → WESTERN_EUROPE. AZURE: "East US" → US_EAST_2, "West US" → US_WEST_2, "Europe North" → EUROPE_NORTH, "Europe West" → EUROPE_WEST. Default recommendation: AWS US_EAST_1. User-specified regions not present in the mapping MUST be respected, rely on the tool to surface errors if a region is not supported.
Atlas-create-db-userMONGODB_MCP_ATLAS_CREATE_DB_USER
Create an MongoDB Atlas database user
Atlas-create-free-clusterMONGODB_MCP_ATLAS_CREATE_FREE_CLUSTER
Create a free MongoDB Atlas cluster
Atlas-create-projectMONGODB_MCP_ATLAS_CREATE_PROJECT
Create a MongoDB Atlas project
Atlas-get-performance-advisorMONGODB_MCP_ATLAS_GET_PERFORMANCE_ADVISOR
Get MongoDB Atlas performance advisor recommendations and suggestions, which includes the operations: suggested indexes, drop index suggestions, schema suggestions, and a sample of the most recent (max 50) slow query logs
Atlas-inspect-access-listMONGODB_MCP_ATLAS_INSPECT_ACCESS_LIST
Inspect Ip/CIDR ranges with access to your MongoDB Atlas clusters.
Atlas-inspect-clusterMONGODB_MCP_ATLAS_INSPECT_CLUSTER
Inspect metadata of a MongoDB Atlas cluster
Atlas-list-alertsMONGODB_MCP_ATLAS_LIST_ALERTS
List triggered alerts for a MongoDB Atlas project. These are alerts Atlas has raised, not the alert configurations that define them. Defaults to OPEN alerts; set status to TRACKING or CLOSED to see others.
Atlas-list-clustersMONGODB_MCP_ATLAS_LIST_CLUSTERS
List MongoDB Atlas clusters
Atlas-list-db-usersMONGODB_MCP_ATLAS_LIST_DB_USERS
List MongoDB Atlas database users
Atlas-list-orgsMONGODB_MCP_ATLAS_LIST_ORGS
List MongoDB Atlas organizations
Atlas-list-projectsMONGODB_MCP_ATLAS_LIST_PROJECTS
List MongoDB Atlas projects.
Atlas-load-sample-datasetMONGODB_MCP_ATLAS_LOAD_SAMPLE_DATASET
Load a MongoDB sample dataset into an Atlas cluster, or check the status of a previously-initiated load. To start a new load, provide `clusterName` — the load runs asynchronously and the response includes a `jobId` and initial state. To check progress, call this tool again with `jobId` (sample dataset loads typically take 1–5 minutes). State can be WORKING, COMPLETED, or FAILED.
Atlas-pause-resume-clusterMONGODB_MCP_ATLAS_PAUSE_RESUME_CLUSTER
Pause or resume a dedicated (M10+) MongoDB Atlas cluster (Free and Flex clusters cannot be paused). Pause: paused clusters are unavailable for connections and do not incur compute costs. If the cluster being paused is the current active connection, it will be automatically disconnected. Returns an error if the cluster is already paused or not in a pausable state (must be IDLE). Resume: the cluster will not be immediately available after resuming. Use the atlas-inspect-cluster tool to poll the cluster state for readiness (state: IDLE). If the cluster is not paused, resuming it is a no-op.
Atlas-streams-buildMONGODB_MCP_ATLAS_STREAMS_BUILD
Create Atlas Stream Processing resources. Use this tool for 'set up a Kafka pipeline', 'create a workspace', 'add a connection', or 'deploy a processor'. Use resource='workspace' to create a new workspace (specify cloud provider, region, and tier). Use resource='connection' to add a data source or sink to an existing workspace. Use resource='processor' to deploy a stream processor with a pipeline. Use resource='privatelink' to set up private networking. Typical workflow: create workspace → add connections → deploy processor.
Atlas-streams-discoverMONGODB_MCP_ATLAS_STREAMS_DISCOVER
Discover and inspect Atlas Stream Processing resources. Also use for 'why is my processor failing', 'what workspaces do I have', 'show processor stats', or 'check processor health'. Use 'list-workspaces' to see all workspaces in a project. Use inspect actions for details on a specific resource. Use 'diagnose-processor' for a combined health report including state, stats, connection health, and recent errors. Use 'get-networking' for PrivateLink and account details.
Atlas-streams-manageMONGODB_MCP_ATLAS_STREAMS_MANAGE
Manage Atlas Stream Processing resources: start/stop processors, modify pipelines, update configurations. Also use for 'change the pipeline', 'scale up my processor', or 'update my workspace tier'. Common workflow: action='stop-processor' → action='modify-processor' → action='start-processor'. Use `atlas-streams-discover` with action 'inspect-processor' to check state before managing.
Atlas-streams-teardownMONGODB_MCP_ATLAS_STREAMS_TEARDOWN
Delete Atlas Stream Processing resources. Also use for 'remove my workspace', 'disconnect a source', 'delete all processors', or 'clean up my streams environment'. Performs basic safety checks before deletion: summarizes counts of processors and connections, highlights connections referenced by processors where possible, and surfaces API errors if processors are still running when deletion is attempted. Use `atlas-streams-discover` to review resources before deleting.
Atlas-upgrade-clusterMONGODB_MCP_ATLAS_UPGRADE_CLUSTER
Upgrade a MongoDB Atlas cluster tier. Upgrades Free (M0) clusters to Flex or M10 Dedicated, or Flex clusters to M10 Dedicated. The upgrade path is determined automatically from the current tier unless overridden with targetTier. Note to LLM: If provider and region are not already known, ask for both together in a single question before calling this tool. Common region mappings by provider (default recommendation: AWS US_EAST_1): AWS: "East Coast"/"Virginia"/"US East" → US_EAST_1, "Ohio" → US_EAST_2, "California"/"West Coast" → US_WEST_2, "Southeast Asia"/"APAC"/"Singapore" → AP_SOUTHEAST_1, "Europe"/"EU"/"Ireland" → EU_WEST_1. GCP: "Central US" → CENTRAL_US, "Western US" → WESTERN_US, "Southeast Asia"/"APAC" → SOUTHEASTERN_ASIA_PACIFIC, "Europe"/"EU" → WESTERN_EUROPE. AZURE: "East US" → US_EAST_2, "West US" → US_WEST_2, "Europe"/"EU" → EUROPE_NORTH.
Collection-indexesMONGODB_MCP_COLLECTION_INDEXES
Describe the indexes for a collection
Collection-schemaMONGODB_MCP_COLLECTION_SCHEMA
Describe the schema for a collection
Collection-storage-sizeMONGODB_MCP_COLLECTION_STORAGE_SIZE
Gets the size of the collection
CountMONGODB_MCP_COUNT
Gets the number of documents in a MongoDB collection using db.collection.count() and query as an optional filter parameter
Create-collectionMONGODB_MCP_CREATE_COLLECTION
Creates a new collection in a database. If the database doesn't exist, it will be created automatically.
Create-indexMONGODB_MCP_CREATE_INDEX
Create an index for a collection
Db-statsMONGODB_MCP_DB_STATS
Returns statistics that reflect the use state of a single database
Delete-manyMONGODB_MCP_DELETE_MANY
Removes all documents that match the filter from a MongoDB collection
Drop-collectionMONGODB_MCP_DROP_COLLECTION
Removes a collection or view from the database. The method also removes any indexes associated with the dropped collection.
Drop-databaseMONGODB_MCP_DROP_DATABASE
Removes the specified database, deleting the associated data files
Drop-indexMONGODB_MCP_DROP_INDEX
Drop an index for the provided database and collection.
ExplainMONGODB_MCP_EXPLAIN
Returns statistics describing the execution of the winning plan chosen by the query optimizer for the evaluated method
FindMONGODB_MCP_FIND
Run a find query against a MongoDB collection
Insert-manyMONGODB_MCP_INSERT_MANY
Insert an array of documents into a MongoDB collection. If the list of documents is above com.mongodb/maxRequestPayloadBytes, consider inserting them in batches.
List-collectionsMONGODB_MCP_LIST_COLLECTIONS
List all collections for a given database
List-databasesMONGODB_MCP_LIST_DATABASES
List all databases for a MongoDB connection
Remote-atlas-connectMONGODB_MCP_REMOTE_ATLAS_CONNECT
Connect to MongoDB Atlas cluster
Rename-collectionMONGODB_MCP_RENAME_COLLECTION
Renames a collection in a MongoDB database
Update-manyMONGODB_MCP_UPDATE_MANY
Updates all documents that match the specified filter for a collection. If the list of documents is above com.mongodb/maxRequestPayloadBytes, consider updating them in batches.