# Stage 1: Build the project
FROM node:24-alpine AS builder
# Set working directory
WORKDIR /app
# Copy package files and install dependencies
COPY package.json package-lock.json ./
RUN npm install
# Copy source files
COPY src ./src
COPY tsconfig.json ./
# Build the project
RUN npm run build
# Stage 2: Set up the runtime environment
FROM node:24-alpine
# Set working directory
WORKDIR /app
# Copy only the necessary files from the build stage
COPY --from=builder /app/dist ./dist
COPY package.json package-lock.json ./
# Install production dependencies only
RUN npm ci --omit=dev
# Set the entry point for the container
ENTRYPOINT ["node", "dist/stdio.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/apify/actors-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server