Potencialize seu agente
O comando do próprio publicador. Não é um endpoint do PlugMCP.
Host a copy with our keys and logs.
docker run -i --rm ghcr.io/pab1it0/prometheus-mcp-server:1.6.2O Claude Code não tem link de instalação para um comando local. Copie o comando abaixo e execute-o em um terminal.
PROMETHEUS_URL=<value> PROMETHEUS_URL_SSL_VERIFY=<value> PROMETHEUS_DISABLE_LINKS=<value> PROMETHEUS_USERNAME=<value> PROMETHEUS_PASSWORD=<secret> PROMETHEUS_TOKEN=<secret> ORG_ID=<value> PROMETHEUS_CLIENT_CERT=<value> PROMETHEUS_CLIENT_KEY=<value> PROMETHEUS_MCP_SERVER_TRANSPORT=<value> PROMETHEUS_MCP_BIND_HOST=<value> PROMETHEUS_MCP_BIND_PORT=<value> PROMETHEUS_MCP_STATELESS_HTTP=<value> PROMETHEUS_CUSTOM_HEADERS=<value> claude mcp add pab1it0-prometheus-mcp-server -- docker run -i --rm ghcr.io/pab1it0/prometheus-mcp-server:1.6.2Execute em um terminal.
{ "mcpServers": { "pab1it0-prometheus-mcp-server": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/pab1it0/prometheus-mcp-server:1.6.2" ], "env": { "PROMETHEUS_URL": "<value>", "PROMETHEUS_URL_SSL_VERIFY": "<value>", "PROMETHEUS_DISABLE_LINKS": "<value>", "PROMETHEUS_USERNAME": "<value>", "PROMETHEUS_PASSWORD": "<secret>", "PROMETHEUS_TOKEN": "<secret>", "ORG_ID": "<value>", "PROMETHEUS_CLIENT_CERT": "<value>", "PROMETHEUS_CLIENT_KEY": "<value>", "PROMETHEUS_MCP_SERVER_TRANSPORT": "<value>", "PROMETHEUS_MCP_BIND_HOST": "<value>", "PROMETHEUS_MCP_BIND_PORT": "<value>", "PROMETHEUS_MCP_STATELESS_HTTP": "<value>", "PROMETHEUS_CUSTOM_HEADERS": "<value>" } } }}claude_desktop_config.json
URL remota ou um comando na sua máquina? Como as duas instalações diferem
Rodar no PlugMCP
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
AbrirGive AI assistants the power to query your Prometheus metrics.
A Model Context Protocol (MCP) server that provides access to your Prometheus metrics and queries through standardized MCP interfaces, allowing AI assistants to execute PromQL queries and analyze your metrics data.
Add to your Claude Desktop configuration:
{
"mcpServers": {
"prometheus": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"PROMETHEUS_URL",
"ghcr.io/pab1it0/prometheus-mcp-server:latest"
],
"env": {
"PROMETHEUS_URL": "<your-prometheus-url>"
}
}
}
}
Install via the Claude Code CLI:
claude mcp add prometheus --env PROMETHEUS_URL=http://your-prometheus:9090 -- docker run -i --rm -e PROMETHEUS_URL ghcr.io/pab1it0/prometheus-mcp-server:latest
Add to your MCP settings in the respective IDE:
{
"prometheus": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"PROMETHEUS_URL",
"ghcr.io/pab1it0/prometheus-mcp-server:latest"
],
"env": {
"PROMETHEUS_URL": "<your-prometheus-url>"
}
}
}
The easiest way to run the Prometheus MCP server is through Docker Desktop:
Via MCP Catalog: Visit the Prometheus MCP Server on Docker Hub and click the button above
Via MCP Toolkit: Use Docker Desktop's MCP Toolkit extension to discover and install the server
Configure your connection using environment variables (see Configuration Options below)
Run directly with Docker:
# With environment variables
docker run -i --rm \
-e PROMETHEUS_URL="http://your-prometheus:9090" \
ghcr.io/pab1it0/prometheus-mcp-server:latest
# With authentication
docker run -i --rm \
-e PROMETHEUS_URL="http://your-prometheus:9090" \
-e PROMETHEUS_USERNAME="admin" \
-e PROMETHEUS_PASSWORD="password" \
ghcr.io/pab1it0/prometheus-mcp-server:latest
Deploy to Kubernetes using the Helm chart from the OCI registry:
helm install prometheus-mcp-server \
oci://ghcr.io/pab1it0/charts/prometheus-mcp-server \
--version 1.1.1 \
--set prometheus.url="http://prometheus:9090"
With authentication:
helm install prometheus-mcp-server \
oci://ghcr.io/pab1it0/charts/prometheus-mcp-server \
--version 1.1.1 \
--set prometheus.url="http://prometheus:9090" \
--set auth.username="admin" \
--set auth.password="secret"
With a custom values file:
helm install prometheus-mcp-server \
oci://ghcr.io/pab1it0/charts/prometheus-mcp-server \
--version 1.1.1 \
-f values.yaml
See the chart values for all available configuration options.
The list of tools is configurable, so you can choose which tools you want to make available to the MCP client. This is useful if you don't use certain functionality or if you don't want to take up too much of the context window.
Contributions are welcome! Please see our Contributing Guide for detailed information on how to get started, coding standards, and the pull request process.
This project uses uv to manage dependencies. Install uv following the instructions for your platform:
curl -LsSf https://astral.sh/uv/install.sh | sh
You can then create a virtual environment and install the dependencies with:
uv venv
source .venv/bin/activate # On Unix/macOS
.venv\Scripts\activate # On Windows
uv pip install -e .
The project includes a comprehensive test suite that ensures functionality and helps prevent regressions.
Run the tests with pytest:
# Install development dependencies
uv pip install -e ".[dev]"
# Run the tests
pytest
# Run with coverage report
pytest --cov=src --cov-report=term-missing
When adding new features, please also add corresponding tests.
MIT
A Model Context Protocol (MCP) server that enables AI agents and LLMs to query and analyze Prometheus metrics through standardized interfaces.
{ "mcpServers": { "pab1it0-prometheus-mcp-server": { "command": "docker", "args": [ "run", "-i", "--rm", "ghcr.io/pab1it0/prometheus-mcp-server:1.6.2" ], "env": { "PROMETHEUS_URL": "<value>", "PROMETHEUS_URL_SSL_VERIFY": "<value>", "PROMETHEUS_DISABLE_LINKS": "<value>", "PROMETHEUS_USERNAME": "<value>", "PROMETHEUS_PASSWORD": "<secret>", "PROMETHEUS_TOKEN": "<secret>", "ORG_ID": "<value>", "PROMETHEUS_CLIENT_CERT": "<value>", "PROMETHEUS_CLIENT_KEY": "<value>", "PROMETHEUS_MCP_SERVER_TRANSPORT": "<value>", "PROMETHEUS_MCP_BIND_HOST": "<value>", "PROMETHEUS_MCP_BIND_PORT": "<value>", "PROMETHEUS_MCP_STATELESS_HTTP": "<value>", "PROMETHEUS_CUSTOM_HEADERS": "<value>" } } }}Ferramentas
Ainda não há lista de ferramentas. Servidores remotos recebem uma após a primeira verificação de saúde.
Perguntas frequentes
Copie nesta página a configuração stdio para Cursor, Claude Desktop, Claude Code ou VS Code. Ela usa a instalação do publicador, não um proxy do PlugMCP.
O publicador lista estas variáveis de ambiente: PROMETHEUS_URL, PROMETHEUS_URL_SSL_VERIFY, PROMETHEUS_DISABLE_LINKS, PROMETHEUS_USERNAME, PROMETHEUS_PASSWORD, PROMETHEUS_TOKEN, ORG_ID, PROMETHEUS_CLIENT_CERT, PROMETHEUS_CLIENT_KEY, PROMETHEUS_MCP_SERVER_TRANSPORT, PROMETHEUS_MCP_BIND_HOST, PROMETHEUS_MCP_BIND_PORT, PROMETHEUS_MCP_STATELESS_HTTP, PROMETHEUS_CUSTOM_HEADERS.
Prometheus roda localmente via stdio.
Última verificação: 2026-10-27. A Model Context Protocol (MCP) server that enables AI agents and LLMs to query and analyze Prometheus metrics through standardized interfaces.