We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/mdrafee03/mcp-lokalise'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
Dockerfile•1.12 kB
# Multi-stage build for better optimization
FROM node:22-slim AS builder
# Set working directory
WORKDIR /app
# Copy package files first for better caching
COPY package*.json ./
COPY tsconfig.json ./
# Install all dependencies (including dev dependencies for building)
RUN npm ci
# Copy source code
COPY src/ ./src/
# Build TypeScript to JavaScript
RUN npm run build
# Production stage
FROM node:22-slim AS production
# Set working directory
WORKDIR /app
# Copy package files for production dependencies
COPY package*.json ./
# Install only production dependencies
RUN npm ci --only=production
# Copy built files from builder stage
COPY --from=builder /app/dist ./dist
# Copy other necessary files
COPY README.md LICENSE ./
# Create non-root user for security
RUN groupadd -r appuser && useradd -r -g appuser appuser
USER appuser
# Expose port (if needed for HTTP server)
EXPOSE 3000
# Health check
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
CMD node -e "console.log('Health check passed')" || exit 1
# Default command to run the MCP server
CMD ["node", "dist/mcp-server.js"]