MCP Inspector
You can use MCP Inspector to explore and test the prometheus-mcp server.
Add server (Docker)
When adding a server, set:
- command:
docker - args:
run,--rm,-i,brenoepics/prometheus-mcp:latest,--mcp,--prometheus-url,http://host.docker.internal:9090
Linux notes
- If
host.docker.internaldoes not resolve, either usehttp://127.0.0.1:9090or add--add-host=host.docker.internal:host-gatewayto thedocker runargs.
Troubleshooting
- Ensure Prometheus is reachable at the configured URL.
- See Installation and Docker for base setup guidance.