A Model Context Protocol server to connect to MongoDB databases and MongoDB Atlas Clusters.
6.7K
4
20 Tools
Version 4.43 or later needs to be installed to add the server automatically
Connect the MCP Toolkit gateway to Claude Desktop using:
Once connected, you can install this MCP server using:
Note: You should still configure the server and specify required secrets after installing it.
Restart Claude Desktop for the changes to take effect.
mongodb
to the mcpServers
section:{
"mcpServers": {
"mongodb": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"MDB_MCP_CONNECTION_STRING",
"mcp/mongodb@sha256:fea52d98d972cfb17a360a114b20da56d26d6d8301629deeeaf549cf8e3c2e2e"
],
"env": {
"MDB_MCP_CONNECTION_STRING": "mongodb+srv://username:[email protected]/myDatabase"
}
}
}
}
Connect the MCP Toolkit gateway to Continue.dev using:
Once connected, you can install this MCP server using:
Note: You should still configure the server and specify required secrets after installing it.
name: Docker MCP MongoDB
version: 1.0.1
schema: v1
mcpServers:
- name: MongoDB
command: docker
args:
- run
- --rm
- -i
- -e
- MDB_MCP_CONNECTION_STRING
- mcp/mongodb@sha256:fea52d98d972cfb17a360a114b20da56d26d6d8301629deeeaf549cf8e3c2e2e
env:
MDB_MCP_CONNECTION_STRING: "mongodb+srv://username:[email protected]/myDatabase"
Connect the MCP Toolkit gateway to Cursor using:
Once connected, you can install this MCP server using:
Note: You should still configure the server and specify required secrets after installing it.
mongodb
to the mcpServers
section:{
"mcpServers": {
"mongodb": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"MDB_MCP_CONNECTION_STRING",
"mcp/mongodb@sha256:fea52d98d972cfb17a360a114b20da56d26d6d8301629deeeaf549cf8e3c2e2e"
],
"env": {
"MDB_MCP_CONNECTION_STRING": "mongodb+srv://username:[email protected]/myDatabase"
}
}
}
}
Define the MCP Toolkit gateway as a server in the MCP Visual Studio Code user settings. Learn more
"mcp": {
"servers": {
"MCP_DOCKER": {
"command": "docker",
"args": [
"mcp",
"gateway",
"run"
],
"type": "stdio"
}
}
}
Once connected, you can install this MCP server using:
Note: You should still configure the server and specify required secrets after installing it.
Connect the MCP Toolkit gateway to Gordon using:
Once connected, you can install this MCP server using:
Note: You should still configure the server and specify required secrets after installing it.
Manual installation
You can install the MCP server using:
Installation for