MongoDB MCP

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

41 actionsAPI key

Connect MongoDB MCP

What your bot can do in MongoDB MCP

Looks up

  • AggregateRun an aggregation against a MongoDB collection
  • Aggregate-dbRun an aggregation against a MongoDB database
  • Atlas-get-performance-advisorGet MongoDB Atlas performance advisor recommendations and suggestions, which includes the operations.
  • Atlas-inspect-access-listInspect Ip/CIDR ranges with access to your MongoDB Atlas clusters.
  • Atlas-inspect-clusterInspect metadata of a MongoDB Atlas cluster
  • Atlas-list-alertsList triggered alerts for a MongoDB Atlas project.
  • Atlas-list-clustersList MongoDB Atlas clusters
  • Atlas-list-db-usersList MongoDB Atlas database users
  • Atlas-list-orgsList MongoDB Atlas organizations
  • Atlas-list-projectsList MongoDB Atlas projects.
Show 11 more
  • Atlas-streams-discoverDiscover and inspect Atlas Stream Processing resources.
  • Collection-indexesDescribe the indexes for a collection
  • Collection-schemaDescribe the schema for a collection
  • Collection-storage-sizeGets the size of the collection
  • CountGets the number of documents in a MongoDB collection using db.collection.count() and query as an optional filter parameter
  • Db-statsReturns statistics that reflect the use state of a single database
  • ExplainReturns statistics describing the execution of the winning plan chosen by the query optimizer for the evaluated method
  • FindRun a find query against a MongoDB collection
  • List-collectionsList all collections for a given database
  • List-databasesList all databases for a MongoDB connection
  • Remote-atlas-connectConnect to MongoDB Atlas cluster

Takes action

  • Atlas-create-access-listAllow Ip/CIDR ranges to access your MongoDB Atlas clusters.
  • Atlas-create-clusterCreate a MongoDB Atlas cluster (M10–M80, replica set or single shard, single or multi-region).
  • Atlas-create-db-userCreate an MongoDB Atlas database user
  • Atlas-create-free-clusterCreate a free MongoDB Atlas cluster
  • Atlas-create-projectCreate a MongoDB Atlas project
  • Atlas-load-sample-datasetLoad a MongoDB sample dataset into an Atlas cluster, or check the status of a previously-initiated load.
  • Atlas-pause-resume-clusterPause or resume a dedicated (M10+) MongoDB Atlas cluster (Free and Flex clusters cannot be paused).
  • Atlas-streams-buildCreate Atlas Stream Processing resources.
  • Atlas-streams-manageManage Atlas Stream Processing resources.
  • Atlas-streams-teardownDelete Atlas Stream Processing resources.
Show 10 more
  • Atlas-upgrade-clusterUpgrade a MongoDB Atlas cluster tier.
  • Create-collectionCreates a new collection in a database.
  • Create-indexCreate an index for a collection
  • Delete-manyRemoves all documents that match the filter from a MongoDB collection
  • Drop-collectionRemoves a collection or view from the database.
  • Drop-databaseRemoves the specified database, deleting the associated data files
  • Drop-indexDrop an index for the provided database and collection.
  • Insert-manyInsert an array of documents into a MongoDB collection.
  • Rename-collectionRenames a collection in a MongoDB database
  • Update-manyUpdates all documents that match the specified filter for a collection.

More developer apps