MongoDB Database Service MCP Integration
Provides secure interaction with MongoDB database through the MCP protocol.
Go to CloudBase Platform to run MCP Server
Environment Variables
- Set MONGO_CONNECT_STRING to the MongoDB connection string (e.g.,
mongodb://user:password@host:port/database?authSource=admin
)
🗺️ Feature List
MongoDB Atlas Tools
Note: Atlas tools are only available when credentials are set in the configuration section
Command Name | Function Description |
---|---|
atlas-list-orgs | List MongoDB Atlas organizations |
atlas-list-projects | List MongoDB Atlas projects |
atlas-create-project | Create new MongoDB Atlas project |
atlas-list-clusters | List MongoDB Atlas clusters |
atlas-inspect-cluster | Inspect a specific MongoDB Atlas cluster |
atlas-create-free-cluster | Create free MongoDB Atlas cluster |
atlas-connect-cluster | Connect to MongoDB Atlas cluster |
atlas-inspect-access-list | Inspect allowed IP/CIDR ranges for MongoDB Atlas cluster |
atlas-create-access-list | Configure IP/CIDR access list for MongoDB Atlas cluster |
atlas-list-db-users | List MongoDB Atlas database users |
atlas-create-db-user | Create MongoDB Atlas database user |
atlas-list-alerts | List MongoDB Atlas alerts for a project |
MongoDB Database Tools
Command Name | Function Description |
---|---|
connect | Connect to MongoDB instance |
find | Run find query on MongoDB collection |
aggregate | Run aggregation query on MongoDB collection |
count | Get document count in MongoDB collection |
insert-one | Insert a single document into MongoDB collection |
insert-many | Insert multiple documents into MongoDB collection |
create-index | Create index for MongoDB collection |
update-one | Update a single document in MongoDB collection |
update-many | Update multiple documents in MongoDB collection |
rename-collection | Rename MongoDB collection |
delete-one | Delete a single document from MongoDB collection |
delete-many | Delete multiple documents from MongoDB collection |
drop-collection | Drop a collection from the MongoDB database |
drop-database | Drop a MongoDB database |
list-databases | List all databases in the MongoDB connection |
list-collections | List all collections in the given database |
collection-indexes | Describe collection indexes |
collection-schema | Describe collection schema |
collection-storage-size | Get the collection storage size (MB) |
db-stats | Return MongoDB database statistics |
Repository URL
https://github.com/mongodb-js/mongodb-mcp-server