Skip to main content
Glama

MCP Console Automation Server

by ooples
Dockerfile1.33 kB
# MCP Console Automation Server - Docker Image # Production-ready image for Docker MCP Registry FROM node:20-alpine AS builder # Set working directory WORKDIR /app # Copy package files COPY package*.json ./ COPY tsconfig.json ./ # Install dependencies RUN npm ci --production=false # Copy source code COPY src ./src # Build TypeScript RUN npm run build # Production stage FROM node:20-alpine # Install required system dependencies RUN apk add --no-cache \ bash \ openssh-client \ ca-certificates # Set working directory WORKDIR /app # Copy package files COPY package*.json ./ # Install production dependencies only RUN npm ci --production && \ npm cache clean --force # Copy built files from builder COPY --from=builder /app/dist ./dist # Create non-root user RUN addgroup -g 1001 -S mcpuser && \ adduser -u 1001 -S mcpuser -G mcpuser && \ chown -R mcpuser:mcpuser /app # Switch to non-root user USER mcpuser # Expose MCP server port (stdio mode doesn't need exposed ports) # But we expose for potential future HTTP transport EXPOSE 3000 # Health check HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \ CMD node -e "process.exit(0)" # Set environment variables ENV NODE_ENV=production \ LOG_LEVEL=info # Run the MCP server CMD ["node", "dist/mcp/server.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/ooples/mcp-console-automation'

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