poly-observability-mcp
Provides tools for searching and retrieving dashboards, managing datasources, folders, alert rules, and annotations.
Provides tools for listing services, retrieving traces and operations, and querying service dependency graphs.
Provides tools for executing PromQL queries, listing time series and labels, and managing alerts and rules.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@poly-observability-mcpget traces for the 'payment' service"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
poly-observability-mcp
Unified MCP server for observability and monitoring. Provides Model Context Protocol tools for querying metrics, logs, and traces through Prometheus, Grafana, Loki, and Jaeger.
Overview
poly-observability-mcp exposes observability capabilities through the Model Context Protocol (MCP), enabling AI assistants and other MCP clients to query metrics, search logs, analyze traces, and manage dashboards across the observability stack.
Adapters
Prometheus (8 tools)
Metrics querying and alerting:
prometheus_query- Execute an instant PromQL queryprometheus_query_range- Execute a range PromQL queryprometheus_series- List time series matching a selectorprometheus_labels- List all label namesprometheus_label_values- List values for a specific labelprometheus_targets- Get current scrape targets and their statusprometheus_alerts- Get current active alertsprometheus_rules- Get alerting and recording rules
Grafana (8 tools)
Dashboard and visualization management:
grafana_search_dashboards- Search for dashboards by name or taggrafana_get_dashboard- Get a dashboard by UIDgrafana_list_datasources- List all configured data sourcesgrafana_get_datasource- Get data source details by namegrafana_list_folders- List all dashboard foldersgrafana_get_alert_rules- Get all alert rulesgrafana_get_annotations- Get annotations within a time rangegrafana_get_org- Get current organization info
Loki (7 tools)
Log aggregation and querying:
loki_query- Execute an instant LogQL queryloki_query_range- Execute a range LogQL queryloki_labels- List all label namesloki_label_values- List values for a specific labelloki_series- List log streams matching a selectorloki_tail- Get recent logs (snapshot of tail)loki_index_stats- Get index statistics
Jaeger (5 tools)
Distributed tracing:
jaeger_services- List all services in Jaegerjaeger_traces- Get traces for a servicejaeger_trace- Get a specific trace by IDjaeger_operations- Get operations for a servicejaeger_dependencies- Get service dependency graph
Requirements
Deno runtime
Prometheus (for metrics tools)
Grafana (for dashboard tools)
Loki (for log tools)
Jaeger (for tracing tools)
Configuration
Prometheus
export PROMETHEUS_URL=http://localhost:9090Grafana
export GRAFANA_URL=http://localhost:3000
export GRAFANA_API_KEY=your-api-keyLoki
export LOKI_URL=http://localhost:3100Jaeger
export JAEGER_URL=http://localhost:16686Installation
git clone https://github.com/hyperpolymath/poly-observability-mcp
cd poly-observability-mcp
deno cache main.js📌 NOTE
This project uses Deno with npm: specifiers. No npm install required.
Usage
Run as MCP server:
deno run --allow-read --allow-env --allow-net main.jsOr use the systemd service:
systemctl --user enable poly-observability-mcp
systemctl --user start poly-observability-mcpUse Cases
Query application metrics and performance data
Search and analyze logs across services
Trace requests through distributed systems
Monitor and manage Grafana dashboards
Investigate incidents using correlated telemetry
License
MIT
OPSM Link
OPSM Core
|
v
poly-observability-mcp (observability telemetry for OPSM)
Latest Blog Posts
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/hyperpolymath/poly-observability-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server