Developer Tools · Databases & Storage

MongoDB MCP

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

Tools

This is a reference catalogue. Tools cannot be configured or run from this page.

  • 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 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 indexes

    Describe the indexes for a collection

  • Collection schema

    Describe the schema for a collection

  • Collection storage size

    Gets the size of the collection

  • Count

    Gets the number of documents in a MongoDB collection using db.collection.count() and query as an optional filter parameter

  • Create collection

    Creates a new collection in a database. If the database doesn't exist, it will be created automatically.

  • Create index

    Create an index for a collection

  • Db stats

    Returns statistics that reflect the use state of a single database

  • Delete many

    Removes all documents that match the filter from a MongoDB collection

  • Drop collection

    Removes a collection or view from the database. The method also removes any indexes associated with the dropped collection.

  • Drop database

    Removes the specified database, deleting the associated data files

  • Drop index

    Drop an index for the provided database and collection.

  • Explain

    Returns statistics describing the execution of the winning plan chosen by the query optimizer for the evaluated method

  • Find

    Run a find query against a MongoDB collection

  • 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 collections

    List all collections for a given database

  • List databases

    List all databases for a MongoDB connection

  • Remote atlas connect

    Connect to MongoDB Atlas cluster

  • Rename collection

    Renames a collection in a MongoDB database

PreviousPage 2 / 3Next