# Generated by https://smithery.ai. See: https://smithery.ai/docs/config#dockerfile
# Use the official Node.js image as the base image
FROM node:20-alpine AS builder
# Set the working directory inside the container
WORKDIR /app
# Copy package.json and package-lock.json to the working directory
COPY package.json package-lock.json ./
# Install dependencies
RUN npm install
# Copy the entire project to the working directory
COPY . .
# Build the TypeScript project
RUN npm run build
# Use a minimal Node.js image for the production stage
FROM node:20-alpine AS production
# Set the working directory inside the container
WORKDIR /app
# Copy the built files and package.json to the production image
COPY --from=builder /app/build ./build
COPY --from=builder /app/package.json ./
# Install only production dependencies
RUN npm install --only=production
# Expose the port that the server listens on
EXPOSE 3000
# Command to run the MCP server
CMD ["node", "build/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/psaboia/mcp-server-playground'
If you have feedback or need assistance with the MCP directory API, please join our Discord server