# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
FROM node:lts-alpine AS builder
# Set working directory
WORKDIR /usr/src/app
# Copy package files and install dependencies (including devDependencies) for building
COPY package*.json ./
RUN npm install
# Copy the rest of the source code and build the project
COPY . .
RUN npm run build
# Use a minimal image for the final stage
FROM node:lts-alpine
WORKDIR /usr/src/app
# Copy built files and node_modules from builder
COPY --from=builder /usr/src/app ./
# Remove dev dependencies
RUN npm prune --production
# Command to run the MCP server
CMD ["node", "cli.js"]
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/overstarry/qweather-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server