libregistry
Registry
Models
Docker
IAM
MCP
Docs
Sign in with Google
MCP Servers
/
database
/ Mongo-MCP
Mongo-MCP
JSON →
stdio
none
★ 3
database
An MCP server for interacting with a MongoDB database.
github ↗
Install
How to run this server
[ { "cmd": "uvx\n\n```bash", "imports": [] } ]
server path:
mongo-mcp
Tools
What this server exposes
list_databases
List all databases
create_database
Create new database
drop_database
Delete database
get_database_stats
Get database statistics
list_collections
List all collections in a database
create_collection
Create new collection (with optional settings)
drop_collection
Delete collection
rename_collection
Rename collection
get_collection_stats
Get collection statistics
insert_document
Insert single document
insert_many_documents
Batch insert multiple documents
find_documents
Query documents (supports sorting, projection, limit)
find_one_document
Query single document
count_documents
Count documents matching query
update_document
Update documents (single or batch)
replace_document
Replace document
delete_document
Delete documents (single or batch)
list_indexes
List all indexes for a collection
create_index
Create regular index
create_text_index
Create text search index
create_compound_index
Create compound index
drop_index
Delete index
reindex_collection
Rebuild all indexes for a collection
aggregate_documents
Execute aggregation pipeline operations
distinct_values
Get distinct values for a field
get_server_status
Get MongoDB server status
get_replica_set_status
Get replica set status
ping_database
Test database connection
test_mongodb_connection
Comprehensive connection test
get_connection_details
Get detailed connection information
Configuration
Environment & auth
auth
none
Resources
github
https://github.com/441126098/mongo-mcp ↗
Mongo-MCP — MCP Server · libregistry