Skip to main content
Glama

Prometheus Alertmanager MCP Server

by comqx
Dockerfile983 B
# Generated by https://smithery.ai. See: https://smithery.ai/docs/build/project-config # Base image: Node.js 18 (LTS) Alpine for a small footprint FROM node:18-alpine AS builder # Set working directory WORKDIR /app # Copy package files and install all dependencies (including dev dependencies) COPY package.json package-lock.json* ./ RUN npm ci # Copy source code COPY src/ ./src/ COPY tsconfig.json ./ # Build the application RUN npm run build # Create production image FROM node:18-alpine # Set working directory WORKDIR /app # Copy package files COPY package.json package-lock.json* ./ # Install only production dependencies RUN npm ci --only=production # Copy built application from builder stage COPY --from=builder /app/build ./build # Set environment variables ENV NODE_ENV=production # Change ownership of the application files to 'node' user RUN chown -R node:node /app # Switch to non-root user USER node # Set entrypoint ENTRYPOINT ["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/comqx/alertmanager-mcp'

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