We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Secure-ISS/Komodo-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
Dockerfile•1.67 KiB
# Multi-stage build for Komodo MCP Server
# Stage 1: Build TypeScript
FROM node:20-alpine AS builder
# Set working directory
WORKDIR /build
# Install build dependencies
RUN apk add --no-cache python3 make g++
# Copy package files
COPY package.json package-lock.json ./
# Install dependencies
RUN npm ci --only=production
# Copy source code
COPY tsconfig.json ./
COPY src ./src
# Build TypeScript
RUN npm run build
# Stage 2: Production runtime
FROM node:20-alpine
# Set metadata
LABEL maintainer="Komodo MCP Team"
LABEL description="Model Context Protocol (MCP) server for Komodo IDE integration"
# Install dumb-init for proper signal handling
RUN apk add --no-cache dumb-init
# Create non-root user for security
RUN addgroup -g 1001 -S nodejs && \
adduser -S nodejs -u 1001
# Set working directory
WORKDIR /app
# Copy package files from builder
COPY --from=builder --chown=nodejs:nodejs /build/package.json ./
# Install production dependencies only
RUN npm ci --only=production && \
npm cache clean --force
# Copy built application from builder
COPY --from=builder --chown=nodejs:nodejs /build/dist ./dist
# Create logs directory
RUN mkdir -p /app/logs && \
chown nodejs:nodejs /app/logs
# Switch to non-root user
USER nodejs
# Expose ports
# Primary port for MCP server
EXPOSE 1111
# Additional ports for scaled instances (optional)
EXPOSE 1112-1120
# Health check - check if process is running
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
CMD node -e "require('fs').accessSync('/proc/self')" || exit 1
# Use dumb-init to handle signals properly
ENTRYPOINT ["/usr/sbin/dumb-init", "--"]
# Start the MCP server
CMD ["node", "dist/index.js"]