8000 retry smithery config · mongodb-js/mongodb-mcp-server@18fd9f5 · GitHub
[go: up one dir, main page]

Skip to content

Commit 18fd9f5

Browse files
committed
retry smithery config
1 parent 76cb0d7 commit 18fd9f5

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
[![Install with npm in VS Code](https://img.shields.io/badge/VS_Code-Install_Server-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=mongodb&inputs=%5B%7B%22id%22%3A%22connection_string%22%2C%22type%22%3A%22promptString%22%2C%22description%22%3A%22MongoDB%20connection%20string%22%2C%22default%22%3A%22mongodb%3A%2F%2Flocalhost%3A27017%22%7D%5D&config=%7B%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22mongodb-mcp-server%22%5D%2C%22env%22%3A%7B%22MDB_MCP_CONNECTION_STRING%22%3A%22%24%7Binput%3Aconnection_string%7D%22%7D%7D)
2+
[![npm downloads](https://img.shields.io/npm/dw/mongodb-mcp-server)](https://www.npmjs.com/package/mongodb-mcp-server)
3+
[![smithery badge](https://smithery.ai/badge/@mongodb-js/mongodb-mcp-server)](https://smithery.ai/server/@mongodb-js/mongodb-mcp-server)
4+
15
# MongoDB MCP Server
26

37
A Model Context Protocol server for interacting with MongoDB Databases and MongoDB Atlas.

smithery.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Smithery.ai configuration
2+
build:
3+
dockerfile: Dockerfile
4+
startCommand:
5+
type: stdio
6+
configSchema:
7+
type: object
8+
properties:
9+
connectionString:
10+
type: string
11+
description: The connection string to use to connect to MongoDB.
12+
commandFunction:
13+
# A function that produces the CLI command to start the MCP on stdio.
14+
|-
15+
(config) => ({
16+
"command": "node",
17+
"args": [
18+
"dist/index.js"
19+
],
20+
"env": {
21+
"MDB_MCP_CONNECTION_STRING": config.connectionString
22+
}
23+
})

0 commit comments

Comments
 (0)
0