diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..b8020ab --- /dev/null +++ b/Dockerfile @@ -0,0 +1,30 @@ +# Use Node.js LTS image with Python support +FROM node:lts-alpine + +# Install Python and pip +RUN apk add --no-cache \ + python3 \ + py3-pip \ + && ln -sf python3 /usr/bin/python + +# Create symbolic links for python commands +RUN ln -sf /usr/bin/pip3 /usr/bin/pip + +# Set working directory +WORKDIR /app + +# Copy package files and install dependencies +COPY package.json pnpm-lock.yaml ./ +RUN npm install -g pnpm && pnpm install + +# Copy the rest of the application +COPY . . + +# Build the application +RUN pnpm build + +# Expose the port defined in .env +EXPOSE 3000 + +# Start the application +CMD ["pnpm", "start"] diff --git a/README.md b/README.md index ebe8f77..f64986d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # MCP Hub -A hub server for mcp servers. +A hub server for MCP servers. ## Installation diff --git a/mcp_settings.json b/mcp_settings.json index b3e8afe..740a436 100644 --- a/mcp_settings.json +++ b/mcp_settings.json @@ -1,10 +1,7 @@ { "mcpServers": { - "mcphub": { - "url": "http://localhost:3001/sse" - }, "time": { - "command": "python3", + "command": "python", "args": ["-m", "mcp_server_time", "--local-timezone=America/New_York"] }, "sequential-thinking": {