From 9c2d990658dbeb0ea3928252c8a9204f27b32783 Mon Sep 17 00:00:00 2001 From: Barry Yip Date: Fri, 9 May 2025 07:25:45 +0800 Subject: [PATCH] feat: Update Smithery config to support HTTP transport mode --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index e36e464..064dfd8 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 (default 3000 as specified in smithery.yaml) +EXPOSE 3000 -# Default command to run the MCP server -CMD ["node", "build/index.js"] +# Default command to run the MCP server with HTTP transport +CMD ["node", "build/index.js", "--transport", "http", "--port", "3000"]