Skip to main content
Glama

CodeCompass MCP

MIT License
2
  • Linux
  • Apple
Dockerfile955 B
# Use official Node.js runtime as base image FROM node:18-alpine # Set working directory WORKDIR /app # Create non-root user for security RUN addgroup -g 1001 -S nodejs && \ adduser -S codecompass -u 1001 # Copy package files COPY package*.json ./ # Install all dependencies (including dev dependencies for build) RUN npm ci && \ npm cache clean --force # Copy source code COPY . . # Build the application RUN npm run build # Remove dev dependencies after build RUN npm prune --production # Set ownership of app directory RUN chown -R codecompass:nodejs /app # Switch to non-root user USER codecompass # Expose port for health checks (optional) EXPOSE 3000 # Add health check HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \ CMD node -e "console.log('Health check passed')" || exit 1 # Set environment variables ENV NODE_ENV=production ENV LOG_LEVEL=info # Start the application CMD ["node", "build/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/TheAlchemist6/codecompass-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server