Skip to content

Commit 9f930a4

Browse files
committed
feat: add MongoDB MCP server definition
Add MongoDB local stdio server via npx mongodb-mcp-server@latest. Query collections, inspect schemas, manage indexes, and run aggregation pipelines. Supports Atlas, Community, and Enterprise. https://claude.ai/code/session_013AxurW8hPAfnUNvik354Xx
1 parent 0217546 commit 9f930a4

1 file changed

Lines changed: 65 additions & 0 deletions

File tree

servers/com.mongodb-mcp.json

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
{
2+
"$schema": "../schemas/server-definition.schema.json",
3+
"id": "com.mongodb-mcp",
4+
"name": "MongoDB",
5+
"alias": "mongodb",
6+
"description": "Connect to MongoDB databases and Atlas clusters. Query collections, inspect schemas, manage indexes, and run aggregation pipelines through the official MongoDB MCP server.",
7+
"icon": "https://avatars.githubusercontent.com/u/11214950?v=4",
8+
"schema_version": "2.1",
9+
"categories": ["database"],
10+
"tags": ["mongodb", "database", "nosql", "atlas", "aggregation", "collections", "documents"],
11+
12+
"transport": {
13+
"type": "stdio",
14+
"command": "npx",
15+
"args": ["-y", "mongodb-mcp-server@latest"],
16+
"env": {
17+
"MDB_MCP_CONNECTION_STRING": "${input:MONGODB_URI}"
18+
},
19+
"metadata": {
20+
"inputs": [
21+
{
22+
"id": "MONGODB_URI",
23+
"label": "MongoDB Connection String",
24+
"description": "MongoDB connection URI for your database. Supports local instances, Atlas clusters, and replica sets.",
25+
"type": "password",
26+
"required": true,
27+
"secret": true,
28+
"placeholder": "mongodb+srv://username:password@cluster.mongodb.net/mydb",
29+
"obtain": {
30+
"url": "https://www.mongodb.com/docs/manual/reference/connection-string/",
31+
"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",
32+
"button_label": "Learn More"
33+
}
34+
}
35+
]
36+
}
37+
},
38+
39+
"auth": {
40+
"type": "none"
41+
},
42+
43+
"contributor": {
44+
"name": "MongoDB",
45+
"github": "mongodb-js",
46+
"url": "https://www.mongodb.com"
47+
},
48+
49+
"links": {
50+
"repository": "https://github.com/mongodb-js/mongodb-mcp-server",
51+
"homepage": "https://www.mongodb.com",
52+
"documentation": "https://www.mongodb.com/docs/mcp-server/get-started/"
53+
},
54+
55+
"platforms": ["all"],
56+
57+
"capabilities": {
58+
"tools": true,
59+
"resources": false,
60+
"prompts": false,
61+
"read_only_mode": false
62+
},
63+
64+
"changelog_url": "https://github.com/mongodb-js/mongodb-mcp-server/releases"
65+
}

0 commit comments

Comments
 (0)