Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
99 changes: 99 additions & 0 deletions servers/com.mongodb-mcp-docker.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
{
"$schema": "../schemas/server-definition.schema.json",
"id": "com.mongodb-mcp-docker",
"name": "MongoDB (Docker)",
"alias": "mongodb-docker",
"description": "Connect to MongoDB databases and Atlas clusters via Docker. Query collections, inspect schemas, manage indexes, and run aggregation pipelines in an isolated container.",
"icon": "https://avatars.githubusercontent.com/u/11214950?v=4",
"schema_version": "2.1",
"categories": [
"database"
],
"tags": [
"mongodb",
"database",
"nosql",
"atlas",
"docker",
"aggregation",
"collections"
],
"transport": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"--rm",
"-i",
"-e", "MDB_MCP_CONNECTION_STRING",
"-e", "MDB_MCP_API_CLIENT_ID",
"-e", "MDB_MCP_API_CLIENT_SECRET",
"mongodb/mongodb-mcp-server:latest"
],
"env": {
"MDB_MCP_CONNECTION_STRING": "${input:MDB_MCP_CONNECTION_STRING}",
"MDB_MCP_API_CLIENT_ID": "${input:MDB_MCP_API_CLIENT_ID}",
"MDB_MCP_API_CLIENT_SECRET": "${input:MDB_MCP_API_CLIENT_SECRET}"
},
"metadata": {
"inputs": [
{
"id": "MDB_MCP_CONNECTION_STRING",
"label": "MongoDB Connection String",
"description": "MongoDB connection URI. Use host.docker.internal instead of localhost for local instances (e.g., mongodb://host.docker.internal:27017/mydb).",
"type": "text",
"required": false,
"secret": true,
"placeholder": "mongodb+srv://username:password@cluster.mongodb.net/mydb",
"obtain": {
"url": "https://www.mongodb.com/docs/manual/reference/connection-string/",
"instructions": "1. For MongoDB Atlas: Go to your cluster > Connect > Drivers\n2. Copy the connection string\n3. For local MongoDB inside Docker: use mongodb://host.docker.internal:27017/mydb",
"button_label": "Learn More"
}
},
{
"id": "MDB_MCP_API_CLIENT_ID",
"label": "Atlas API Client ID",
"description": "MongoDB Atlas Service Account client ID for Atlas management operations. Optional — only needed for Atlas administration.",
"type": "text",
"required": false,
"secret": true,
"placeholder": "mdb_sa_id_..."
},
{
"id": "MDB_MCP_API_CLIENT_SECRET",
"label": "Atlas API Client Secret",
"description": "MongoDB Atlas Service Account client secret. Required when Atlas API Client ID is provided.",
"type": "text",
"required": false,
"secret": true,
"placeholder": "mdb_sa_sk_..."
}
]
}
},
"auth": {
"type": "optional_api_key",
"instructions": "Connection string provides database access. Atlas API credentials (optional) enable cluster management features."
},
"contributor": {
"name": "MongoDB",
"github": "mongodb-js",
"url": "https://www.mongodb.com"
},
"links": {
"repository": "https://github.com/mongodb-js/mongodb-mcp-server",
"homepage": "https://www.mongodb.com",
"documentation": "https://www.mongodb.com/docs/mcp-server/get-started/"
},
"platforms": [
"all"
],
"capabilities": {
"tools": true,
"resources": false,
"prompts": false,
"read_only_mode": true
},
"changelog_url": "https://github.com/mongodb-js/mongodb-mcp-server/releases"
}
104 changes: 104 additions & 0 deletions servers/com.mongodb-mcp-npx.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
{
"$schema": "../schemas/server-definition.schema.json",
"id": "com.mongodb-mcp-npx",
"name": "MongoDB (npx)",
"alias": "mongodb",
"description": "Connect to MongoDB databases and Atlas clusters. Query collections, inspect schemas, manage indexes, and run aggregation pipelines through the official MongoDB MCP server.",
"icon": "https://avatars.githubusercontent.com/u/11214950?v=4",
"schema_version": "2.1",
"categories": [
"database"
],
"tags": [
"mongodb",
"database",
"nosql",
"atlas",
"aggregation",
"collections",
"documents"
],
"transport": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mongodb-mcp-server@latest"
],
"env": {
"MDB_MCP_CONNECTION_STRING": "${input:MDB_MCP_CONNECTION_STRING}",
"MDB_MCP_API_CLIENT_ID": "${input:MDB_MCP_API_CLIENT_ID}",
"MDB_MCP_API_CLIENT_SECRET": "${input:MDB_MCP_API_CLIENT_SECRET}"
},
"metadata": {
"inputs": [
{
"id": "MDB_MCP_CONNECTION_STRING",
"label": "MongoDB Connection String",
"description": "MongoDB connection URI for your database. Supports local instances, Atlas clusters, and replica sets. Leave empty to use the runtime connect tool.",
"type": "text",
"required": false,
"secret": true,
"placeholder": "mongodb+srv://username:password@cluster.mongodb.net/mydb",
"obtain": {
"url": "https://www.mongodb.com/docs/manual/reference/connection-string/",
"instructions": "1. For MongoDB Atlas: Go to your cluster > Connect > Drivers\n2. Copy the connection string\n3. Replace <password> with your database password\n4. For local MongoDB: use mongodb://localhost:27017/mydb",
"button_label": "Learn More"
}
},
{
"id": "MDB_MCP_API_CLIENT_ID",
"label": "Atlas API Client ID",
"description": "MongoDB Atlas Service Account client ID for Atlas management operations (create clusters, manage users, IP access lists). Optional — only needed for Atlas administration.",
"type": "text",
"required": false,
"secret": true,
"placeholder": "mdb_sa_id_...",
"obtain": {
"url": "https://www.mongodb.com/docs/atlas/configure-api-access/",
"instructions": "1. Go to MongoDB Atlas > Organization Settings > Service Accounts\n2. Create a new Service Account with required roles\n3. Copy the Client ID",
"button_label": "Configure API Access"
}
},
{
"id": "MDB_MCP_API_CLIENT_SECRET",
"label": "Atlas API Client Secret",
"description": "MongoDB Atlas Service Account client secret. Required when Atlas API Client ID is provided.",
"type": "text",
"required": false,
"secret": true,
"placeholder": "mdb_sa_sk_...",
"obtain": {
"url": "https://www.mongodb.com/docs/atlas/configure-api-access/",
"instructions": "1. Go to MongoDB Atlas > Organization Settings > Service Accounts\n2. Create or select a Service Account\n3. Copy the Client Secret (shown only once at creation)",
"button_label": "Configure API Access"
}
}
]
}
},
"auth": {
"type": "optional_api_key",
"instructions": "Connection string provides database access. Atlas API credentials (optional) enable cluster management features."
},
"contributor": {
"name": "MongoDB",
"github": "mongodb-js",
"url": "https://www.mongodb.com"
},
"links": {
"repository": "https://github.com/mongodb-js/mongodb-mcp-server",
"homepage": "https://www.mongodb.com",
"documentation": "https://www.mongodb.com/docs/mcp-server/get-started/"
},
"platforms": [
"all"
],
"capabilities": {
"tools": true,
"resources": false,
"prompts": false,
"read_only_mode": true
},
"changelog_url": "https://github.com/mongodb-js/mongodb-mcp-server/releases"
}