Documentation Index
Fetch the curated documentation index at: https://grafana_com_website/llms.txt
Fetch the complete documentation index at: https://grafana_com_website/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: /docs/grafana/latest/developer-resources/mcp/guides/generate-deeplinks-to-grafana.md (append .md) or send Accept: text/markdown to /docs/grafana/latest/developer-resources/mcp/guides/generate-deeplinks-to-grafana/. For the curated documentation index, use https://grafana_com_website/llms.txt. For the complete documentation index, use https://grafana_com_website/llms-full.txt.
Generate deeplinks to Grafana
Use the Grafana MCP server so your AI assistant can generate correct deeplink URLs to dashboards, panels, and Grafana Explore. The server uses the Grafana API to build URLs so you get working links instead of guessed paths.
What you’ll achieve
You ask your assistant for a link to a dashboard, a specific panel, or Explore with a given datasource (and optional time range). The assistant uses the server’s deeplink tool and returns a URL you can open or share.
Before you begin
- The server set up and configured with access to Grafana.
- No extra RBAC is required for generating links (read-only URL generation).
Get dashboard and panel links
Ask the assistant to generate a link to a dashboard by UID, or to a specific panel (dashboard UID and panel ID). You can request a time range (for example, last hour) so the link opens with that range. The assistant uses the server tool and returns a URL like http://localhost:3000/d/<uid>?viewPanel=<id>&from=now-1h&to=now.
Get Explore links
Ask for a link to Grafana Explore with a specific datasource (by UID). Optionally specify time range or other query parameters. The assistant returns a URL that opens Explore with that datasource and options pre-filled.
Next steps
- Search and inspect dashboards to find dashboard and panel IDs.
- Query metrics with Prometheus or Query logs with Loki to work with datasources.
Was this page helpful?
Related resources from Grafana Labs


