Skip to content

Commit 463405c

Browse files
committed
another attempt
1 parent ec2643b commit 463405c

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

.smithery/Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,4 @@ RUN npm run build
2525
COPY ./.smithery/entrypoint.sh /usr/local/bin/entrypoint.sh
2626
RUN chmod +x /usr/local/bin/entrypoint.sh
2727

28-
CMD ["node", "dist/index.js", "--connectionString", "mongodb://localhost:27017"]
29-
3028
ENTRYPOINT ["entrypoint.sh"]

.smithery/smithery.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ startCommand:
66
type: stdio
77
configSchema:
88
type: object
9-
required:
10-
- connectionString
119
properties:
1210
connectionString:
1311
type: string
@@ -21,6 +19,6 @@ startCommand:
2119
"dist/index.js"
2220
],
2321
"env": {
24-
"MDB_MCP_CONNECTION_STRING": config.connectionString
22+
"MDB_MCP_CONNECTION_STRING": config.connectionString || "mongodb://localhost:27017"
2523
}
2624
})

0 commit comments

Comments
 (0)