Prometheus (Docker) MCP Server
CommunityContributed by pab1it0
Query Prometheus metrics and monitoring data via Docker. Run instant and range PromQL queries, discover metrics, inspect metadata, and check scrape targets through a standardized MCP interface.
About the Prometheus (Docker) MCP Server
The Prometheus (Docker) MCP server is a local (stdio) Model Context Protocol server available in the McpMux registry. Query Prometheus metrics and monitoring data via Docker. Run instant and range PromQL queries, discover metrics, inspect metadata, and check scrape targets through a standardized MCP interface. This is a community-contributed MCP server by pab1it0.
Install the Prometheus (Docker) MCP server with one click using McpMux. It works with Cursor, Claude Desktop, Claude Code, VS Code, ChatGPT, Windsurf, JetBrains, and any MCP-compatible AI client. This server requires authentication — McpMux securely stores your credentials with AES-256-GCM encryption.
Transport Configuration
{
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"PROMETHEUS_URL",
"-e",
"PROMETHEUS_USERNAME",
"-e",
"PROMETHEUS_PASSWORD",
"-e",
"PROMETHEUS_TOKEN",
"-e",
"ORG_ID",
"ghcr.io/pab1it0/prometheus-mcp-server:latest"
],
"env": {
"PROMETHEUS_URL": "${input:PROMETHEUS_URL}",
"PROMETHEUS_USERNAME": "${input:PROMETHEUS_USERNAME}",
"PROMETHEUS_PASSWORD": "${input:PROMETHEUS_PASSWORD}",
"PROMETHEUS_TOKEN": "${input:PROMETHEUS_TOKEN}",
"ORG_ID": "${input:ORG_ID}"
},
"metadata": {
"inputs": [
{
"id": "PROMETHEUS_URL",
"label": "Prometheus URL",
"description": "Base URL of your Prometheus server. Use host.docker.internal instead of localhost to reach a Prometheus running on your host machine.",
"type": "url",
"required": true,
"placeholder": "https://your-prometheus:9090",
"obtain": {
"url": "https://prometheus.io/docs/prometheus/latest/getting_started/",
"instructions": "1. Use the address where your Prometheus server is reachable\n2. For a local Prometheus, use http://host.docker.internal:9090\n3. Include the scheme and port (default 9090)",
"button_label": "Prometheus Docs"
}
},
{
"id": "PROMETHEUS_USERNAME",
"label": "Username (Basic Auth)",
"description": "Username for HTTP Basic authentication. Optional â only set this if your Prometheus is protected with basic auth. Leave blank when using a bearer token instead.",
"type": "text",
"required": false,
"placeholder": "admin"
},
{
"id": "PROMETHEUS_PASSWORD",
"label": "Password (Basic Auth)",
"description": "Password for HTTP Basic authentication. Required when a username is provided. Leave blank when using a bearer token instead.",
"type": "text",
"required": false,
"secret": true,
"placeholder": "********************"
},
{
"id": "PROMETHEUS_TOKEN",
"label": "Bearer Token",
"description": "Bearer token for token-based authentication (e.g. Grafana Cloud, Cortex, Thanos). Optional â use this instead of username/password.",
"type": "text",
"required": false,
"secret": true,
"placeholder": "********************"
},
{
"id": "ORG_ID",
"label": "Organization ID",
"description": "Organization / tenant ID for multi-tenant Prometheus setups (e.g. Cortex, Mimir, Thanos). Optional â sent as the X-Scope-OrgID header when set.",
"type": "text",
"required": false,
"placeholder": "tenant-1"
}
]
}
}Categories
Tags
Supported AI Clients
The Prometheus (Docker) MCP server works with all MCP-compatible AI clients through McpMux:
Related MCP Servers
Grafana (Docker)
Search dashboards, query Prometheus and Loki datasources, manage alerts, and investigate incidents on any Grafana instance (self-hosted or Grafana Cloud) via Docker.
Sentry (Local)
Query and manage Sentry issues, errors, performance data, and project settings locally via npx. Supports AI-powered search with your own LLM API key.
Sentry (Remote)
Query and manage Sentry issues, errors, performance data, and project settings through Sentry's hosted remote MCP server. No local setup required.
Sentry (Self-Hosted)
Query and manage issues, errors, and performance data on your self-hosted Sentry instance. Runs locally via npx with a custom Sentry host.
Axiom (npx)
Query and manage Axiom datasets for log analysis and observability. Execute APL queries, list datasets, and ingest events.
Cloudflare Observability
Query Workers logs, analyze invocation metrics, and debug errors across your Cloudflare Workers through Cloudflare's official Observability MCP server with OAuth.
Install Prometheus (Docker) with McpMux
One-click install from the McpMux desktop app. Auto-configures for Cursor, Claude, VS Code, ChatGPT, Windsurf, JetBrains, and any MCP-compatible client.