# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
# Stage 1: Build
FROM node:22-alpine AS builder
# Set working directory
WORKDIR /app
# Copy package.json and package-lock.json
COPY package.json package-lock.json ./
# Install dependencies
RUN npm install
# Copy the rest of the application code
COPY src ./src
COPY tsconfig.json ./
# Build the TypeScript code
RUN npm run build
# Stage 2: Run
FROM node:22-alpine AS runner
# Set working directory
WORKDIR /app
# Copy built files and node_modules from builder stage
COPY --from=builder /app/dist ./dist
COPY --from=builder /app/node_modules ./node_modules
# Environment variable for API key
ENV SERP_API_KEY=your-api-key
# Expose port (if applicable)
EXPOSE 3000
# Run the application
CMD ["node", "dist/index.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/ChanMeng666/server-google-news'
If you have feedback or need assistance with the MCP directory API, please join our Discord server