Observability - official Grafana server
Grafana MCP server
Open source, self-run MCP server for any Grafana instance (Grafana Cloud or self-managed) that exposes tools for dashboards, datasources, Prometheus, Loki and other queries, alerting, incidents, OnCall, annotations and admin. Authenticates with a Grafana service account token or username and password. It runs locally from mcp-grafana (pypi) with API key auth.
Last verified 15 tools7 sources
Install
VS Code
"mcp": {
"servers": {
"grafana": {
"type": "sse",
"url": "http://localhost:8000/sse"
}
}
}Generic
{
"mcpServers": {
"grafana": {
"command": "uvx",
"args": ["mcp-grafana"],
"env": {
"GRAFANA_URL": "http://localhost:3000",
"GRAFANA_SERVICE_ACCOUNT_TOKEN": "<your service account token>"
}
}
}
}Tools
search_dashboards- Search for dashboards by query, folder UID, tag, or starred.
get_dashboard_by_uid- Get a dashboard by uid, optionally a saved version.
update_dashboard- Update or create a new dashboard.
get_dashboard_summary- Get a compact summary of a dashboard without full JSON.
run_panel_query- Execute one or more dashboard panel queries.
list_datasources- List datasources.
check_datasources_health- Check the health of one or more datasources.
create_datasource- Create a datasource.
query_prometheus- Execute a query against a Prometheus datasource.
list_prometheus_metric_names- List available metric names.
query_prometheus_histogram- Calculate histogram percentile values.
list_incidents- List incidents in Grafana Incident, optionally with their custom field values.
create_incident- Create an incident in Grafana Incident, optionally setting custom fields.
list_teams- List all teams.
user_info- Current identity, capabilities, and accessible organizations.
As documented on October 17, 2026. A running server reports its current list through tools/list.
Notes and caveats
- Requires Grafana 9.0 or later for full functionality.
- Latest release 2.0.2 (CHANGELOG dated 2026-10-07; also on PyPI and Docker Hub).
- The Docker image defaults to SSE mode; pass -t stdio for stdio clients.
- Networked modes (SSE, streamable-http) should set MCP_GRAFANA_SERVER_TOKEN for caller auth.
- GRAFANA_API_KEY is deprecated in favour of GRAFANA_SERVICE_ACCOUNT_TOKEN.
- Also deployable via the grafana/grafana-mcp Helm chart.
- The quick-start JSON is documented for Claude Desktop and Cursor.
- The VS Code snippet assumes the server is running locally in SSE mode.
- No preview or GA label in the docs, so status is left unknown.
More MCP servers for observability
- Grafana
Grafana Cloud MCP server
Remotely hosted MCP server that lets external AI agents query dashboards, metrics, logs, traces, profiles, alerts, incidents and OnCall data in a Grafana Cloud stack. It uses OAuth 2.1 and acts with the signed-in user's Grafana RBAC permissions.
Transport: Streamable HTTPAuth: OAuth - GrafanaStatus: Preview
Grafana Cloud Traces MCP server
MCP server built into Grafana Cloud Traces (Tempo) that gives AI assistants access to distributed tracing data through TraceQL queries and other endpoints. It is reached at a per-stack Tempo URL with basic authentication.
Transport: Streamable HTTPAuth: Other - ArizeStatus: Preview
Arize AX MCP server
Hosted MCP server that gives agents access to Arize AX projects, traces, spans, datasets, experiments, evaluators, monitors and prompts. It is a thin layer over the Arize REST API v2.
Transport: Streamable HTTPAuth: OAuth or API key - ArizeStatus: GA
Phoenix MCP server
Local npm-distributed MCP server for Arize Phoenix that connects to a Phoenix instance with a base URL and API key. Covers projects, traces, spans, sessions, annotation configs, prompts, datasets and experiments.
Transport: stdioAuth: API key - ArizeStatus: Beta
Phoenix Remote MCP server
MCP server built into Arize Phoenix at the /mcp path of any Phoenix instance, letting agents read and act on traces, spans, datasets, experiments and prompts through Phoenix's REST API, plus read-only SQL and GraphQL queries. By default it exposes code-mode tools that search the operation catalog and run sandboxed Python that chains operations.
Transport: Streamable HTTPAuth: OAuth or API key - AWS
AWS Labs CloudWatch MCP server
Open source local MCP server from AWS Labs that gives troubleshooting agents access to CloudWatch metrics, alarms and Logs Insights for root cause analysis.
Transport: stdioAuth: Other
Related reading
- What's New in Mastra (Late 2026): Harness, AgentController GA, Eval Gates and MCP 2.xMastra in late 2026: goals, schedules, signals, AgentController GA, eval gates and MCP 2.x, with type-checked TypeScript examples and honest tradeoffs.
- MCP vs A2A vs Function Calling: Which Layer Does What in 2026MCP vs A2A vs function calling compared on the 2026-07-28 MCP spec and A2A 1.0: what each protocol does, where they overlap, and how to stack them.
- Pydantic AI V2 in Late 2026: Capabilities, Graphs, Evals and MCPPydantic AI V2 explained through v2.57.0: capabilities, typed output, Conversation storage, caching, graphs, evals, MCP Apps and Logfire, with checked code.
- Reverse Engineer Anything (REA): What the MCP Server Does and Where the Line IsREA (Reverse Engineer Anything) is an MIT-licensed MCP server that lets Claude Code, Codex or Cursor inspect binaries, Electron apps and APKs. How to try it.
- Claude Opus 5.5 Built a Browser 3D World: The Higgsfield MCP WorkflowClaude Opus 5.5 and Higgsfield MCP built an interactive 3D Library of Alexandria in the browser. The verified connector setup and where the workflow holds up.
- Pi 1.0 Release Guide: MCP, Codemode and Pi DurablePi 1.0 adds built-in MCP through Codemode, a fullscreen TUI by default and Pi Durable. What changed, how to install it, and what breaks on upgrade.
FAQ
What does the Grafana MCP server do?
Open source, self-run MCP server for any Grafana instance (Grafana Cloud or self-managed) that exposes tools for dashboards, datasources, Prometheus, Loki and other queries, alerting, incidents, OnCall, annotations and admin. Authenticates with a Grafana service account token or username and password. The vendor documents 15 tools, including search_dashboards, get_dashboard_by_uid, update_dashboard and get_dashboard_summary.
How do I add the Grafana MCP server to VS Code?
Grafana documents a VS Code config; copy it from the VS Code section of this page. Snippets for Generic are there too.
Does the Grafana MCP server need authentication?
Yes, API key. Transport: stdio, SSE, Streamable HTTP. Status: Unlabelled, last checked October 17, 2026.
Sources
Last verified against 7 Grafana pages, then re-checked independently.
- github.comhttps://github.com/grafana/mcp-grafana
- raw.githubusercontent.comhttps://raw.githubusercontent.com/grafana/mcp-grafana/main/README.md
- raw.githubusercontent.comhttps://raw.githubusercontent.com/grafana/mcp-grafana/main/CHANGELOG.md
- raw.githubusercontent.comhttps://raw.githubusercontent.com/grafana/mcp-grafana/main/LICENSE
- grafana.comhttps://grafana.com/docs/grafana/latest/developer-resources/mcp/
- grafana.comhttps://grafana.com/docs/grafana/latest/developer-resources/mcp/set-up/client-configuration-examples/
- grafana.comhttps://grafana.com/docs/grafana-cloud/ai-tools/mcp-servers/
Newsletter
New MCP servers, the week they ship
One email per week. New official MCP servers, the coding tools that support them and how developers wire them up.