feat: Update Smithery config to support HTTP transport mode

This commit is contained in:
Barry Yip 2025-05-09 07:25:45 +08:00
parent 7baf5a03e6
commit 9c2d990658
1 changed files with 4 additions and 3 deletions

View File

@ -16,7 +16,8 @@ COPY . .
# Build the TypeScript code # Build the TypeScript code
RUN npm run build RUN npm run build
# Expose any port if needed (Not required for stdio deployment) # Expose HTTP port (default 3000 as specified in smithery.yaml)
EXPOSE 3000
# Default command to run the MCP server # Default command to run the MCP server with HTTP transport
CMD ["node", "build/index.js"] CMD ["node", "build/index.js", "--transport", "http", "--port", "3000"]