We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 76cb0d7 commit 20965d1Copy full SHA for 20965d1
smithery.yaml
@@ -0,0 +1,26 @@
1
+# Smithery configuration file: https://smithery.ai/docs/build/project-config
2
+
3
+build:
4
+ dockerfile: Dockerfile
5
+ dockerBuildPath: ../
6
+startCommand:
7
+ type: stdio
8
+ configSchema:
9
+ # JSON Schema defining the configuration options for the MCP.
10
+ type: object
11
+ properties:
12
+ connectionString:
13
+ type: string
14
+ description: The connection string to use to connect to MongoDB.
15
+ commandFunction:
16
+ # A JS function that produces the CLI command based on the given config to start the MCP on stdio.
17
+ |-
18
+ (config) => ({
19
+ "command": "node",
20
+ "args": [
21
+ "dist/index.js"
22
+ ],
23
+ "env": {
24
+ "MDB_MCP_CONNECTION_STRING": config.connectionString
25
+ }
26
+ })
0 commit comments