# using slim instead of alpine for better compatibility with optional dependencies
# Node.js 22.18.0+ required for native type stripping support
FROM node:22-slim
RUN apt-get update && apt-get install -y python3 make g++ git && rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci --prefer-offline
COPY *.ts *.json ./
COPY ./src/ ./src/
RUN npm run build
EXPOSE 3000
CMD ["npm", "run", "start"]
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/moonlitknight/mcp1template'
If you have feedback or need assistance with the MCP directory API, please join our Discord server