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 21ab744 commit dd4fd64Copy full SHA for dd4fd64
modelcontextprotocol/.dockerignore
@@ -2,7 +2,5 @@ node_modules
2
dist
3
*.md
4
*.png
5
-Dockerfile
6
*.log
7
-*.env
8
-
+*.env
modelcontextprotocol/lib/config.ts
@@ -19,10 +19,12 @@ interface Config {
19
20
export const config: Config = {
21
// Default app to use if none is specified
22
- defaultApp: "slack",
+ defaultApp: process.env.APP || "slack",
23
24
// Port for the SSE server
25
- serverPort: 3010,
+ serverPort: process.env.PORT
26
+ ? parseInt(process.env.PORT, 10)
27
+ : 3010,
28
29
// Pipedream configuration
30
pipedream: {
0 commit comments