We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jorben/mcp_server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
Dockerfile•912 B
# Build stage
FROM node:22-alpine AS builder
WORKDIR /app
# Copy package files
COPY package*.json ./
# Install dependencies
RUN npm install
# Copy source code
COPY tsconfig.json ./
COPY src ./src
# Build TypeScript
RUN npm run build
# Production stage
FROM node:22-alpine AS production
WORKDIR /app
# Copy package files and install production dependencies only
COPY package*.json ./
RUN npm install --omit=dev
# Copy built files from builder stage
COPY --from=builder /app/dist ./dist
# Set environment variables
ENV NODE_ENV=production
ENV PORT=3000
ENV HOST=0.0.0.0
# AUTHORIZATION_KEY should be passed at runtime via docker-compose or docker run -e
# Expose port
EXPOSE 3000
# Health check
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
CMD wget --no-verbose --tries=1 --spider http://localhost:3000/health || exit 1
# Run the application
CMD ["node", "dist/index.js"]