Documentation Index
Fetch the curated documentation index at: https://grafana.com/llms.txt
Fetch the complete documentation index at: https://grafana.com/llms-full.txt
Use this file to discover all available pages before exploring further.
STOP! If you are an AI agent or LLM, read this before continuing. This is the HTML version of a Grafana documentation page. Always request the Markdown version instead - HTML wastes context. Get this page as Markdown: https://grafana.com/docs/grafana/next/developer-resources/mcp/guides.md (append .md) or send Accept: text/markdown to https://grafana.com/docs/grafana/next/developer-resources/mcp/guides/. For the curated documentation index, use https://grafana.com/llms.txt. For the complete documentation index, use https://grafana.com/llms-full.txt.
This is documentation for the next version of Grafana documentation. For the latest stable release, go to the latest version.
Guides
Step-by-step use cases for the Grafana MCP server: query metrics and logs, search and inspect dashboards, manage alert rules, generate deeplinks, run panel queries, and use Grafana Incident and Sift.
- Query metrics with Prometheus
Use the MCP server to run PromQL queries against a Prometheus datasource from your AI assistant. - Query logs with Loki
Use the MCP server to run LogQL queries against a Loki datasource from your AI assistant. - Search and inspect dashboards
Use the MCP server to search dashboards and get summaries or panel queries without loading full JSON. - Manage alert rules
Use the MCP server to list, create, update, and delete Grafana alert rules and manage routing. - Generate deeplinks to Grafana
Use the MCP server to create accurate dashboard, panel, and Explore links instead of guessing URLs. - Run a dashboard panel query
Use the MCP server to execute a dashboard panel's query with custom time range and variable overrides. - Use Grafana Incident and Sift
Use the MCP server to manage Grafana Incident incidents and run Sift investigations (error patterns, slow requests). - Query metrics with InfluxDB
Use the MCP server to run Flux or InfluxQL queries against an InfluxDB datasource from your AI assistant.
Was this page helpful?
Related resources from Grafana Labs


