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
- The Future of MCP: David Soria Parra on Connectivity, Progressive Discovery and Skills Over MCPMCP co-creator David Soria Parra on why 2026 is about agent connectivity: skills, CLIs and MCP together, progressive discovery, programmatic tool calling, a stateless transport and skills over MCP.
- Gateways Are All You Need: How Anthropic Thinks About MCP in the EnterpriseAnthropic's Karan Sampath on why enterprises get stuck with a handful of MCP servers, and how one blessed gateway for auth, access control, routing and observability lets every team ship its own.
- Set Up Factory Droid Properly: AGENTS.md, Skills, Hooks, MCP and PermissionsA configuration guide for Factory Droid: where AGENTS.md, skills, hooks, MCP servers and settings live, what each one is for, and a starter setup you can commit to a repo today.
- Claude Code Just Got Code Mode: Save a Ton of TokensCode Mode lets Claude Code write JavaScript that makes all its tool calls at once and returns only what it needs. A real run: 11 tool calls in one 6 second step.
- Claude Code MCP Tasks: Long-Running Tools That Ask You ThingsClaude Code supports MCP Tasks and elicitations. What a tool call needs to become a task, what v2.1.319 changed for Bedrock and gateways, and what server authors change.
- Claude Security Continuous Scanning: Fix Tracking, API and MCPClaude Security now rescans repos as commits land, marks findings fixed when the fix ships, and adds an API, MCP connector and webhooks. Setup, limits and cost.
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.