mongodb-js_mongodb-mcp-server

MCP-Mirror/mongodb-js_mongodb-mcp-server

3.2

If you are the rightful owner of mongodb-js_mongodb-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

A Model Context Protocol server for interacting with MongoDB Databases and MongoDB Atlas.

Tools

Functions exposed to the LLM to take actions

switch-connection

Switch to a different MongoDB connection. If the user has configured a connection string or has previously called the connect tool, a connection is already established and there's no need to call this tool unless the user has explicitly requested to switch to a new instance.

list-collections

List all collections for a given database

list-databases

List all databases for a MongoDB connection

collection-indexes

Describe the indexes for a collection

create-index

Create an index for a collection

collection-schema

Describe the schema for a collection

find

Run a find query against a MongoDB collection

insert-many

Insert an array of documents into a MongoDB collection

delete-many

Removes all documents that match the filter from a MongoDB collection

collection-storage-size

Gets the size of the collection

count

Gets the number of documents in a MongoDB collection

db-stats

Returns statistics that reflect the use state of a single database

aggregate

Run an aggregation against a MongoDB collection

update-many

Updates all documents that match the specified filter for a collection

rename-collection

Renames a collection in a MongoDB database

drop-database

Removes the specified database, deleting the associated data files

drop-collection

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

explain

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

create-collection

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

mongodb-logs

Returns the most recent logged mongod events

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources