FROM node:22-alpine AS builder
WORKDIR /app
# Copy package files
COPY package.json tsconfig.json ./
# Install dependencies without running prepare script
RUN npm install --ignore-scripts
# Now copy the source code
COPY index.ts ./
# Run build manually
RUN npm run build
FROM node:22-alpine AS release
WORKDIR /app
# Copy built files and package files
COPY --from=builder /app/dist /app/dist
COPY --from=builder /app/package.json /app/package.json
# Install production dependencies only
ENV NODE_ENV=production
RUN npm install --omit=dev --ignore-scripts
ENTRYPOINT ["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/Monadical-SAS/zulip-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server