diff --git a/Dockerfile b/Dockerfile index 1195063..6d340c1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,8 @@ COPY . . # Build the TypeScript code RUN npm run build -# Expose any port if needed (Not required for stdio deployment) +# Expose HTTP port +EXPOSE 8080 -# Default command to run the MCP server -CMD ["node", "build/index.js"] \ No newline at end of file +# Default command to run the MCP server with HTTP transport +CMD ["node", "build/index.js", "--transport", "http", "--port", "8080"] diff --git a/src/index.ts b/src/index.ts index d02a6df..a378482 100644 --- a/src/index.ts +++ b/src/index.ts @@ -49,7 +49,7 @@ const config = { return parseInt(process.argv[portIndex + 1]); } // Default port - return 3000; + return 8080; })() };