mongoDB-MCP

leorosignoli/mongoDB-MCP

3.1

If you are the rightful owner of mongoDB-MCP 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 production-ready Model Context Protocol (MCP) server for MongoDB operations with enhanced safety, performance monitoring, and comprehensive tooling.

Tools

Functions exposed to the LLM to take actions

query

Execute MongoDB find queries with safety restrictions.

aggregate

Run aggregation pipelines (read-only operations only).

listCollections

List all collections in a database.

listDatabases

List all accessible databases.

getIndexes

View indexes for a collection.

explain

Analyze query performance and execution plans.

stats

Get collection or database statistics.

Prompts

Interactive templates invoked by user choice

No prompts

Resources

Contextual data attached and managed by the client

No resources