Documentation for automated readers
A curated documentation index is available at: https://grafana.com/llms.txt
A complete documentation index is available at: https://grafana.com/llms-full.txt
These indexes can help with page discovery before fetching individual documents.
This page is also available in Markdown, which may be easier for automated readers and AI tools to parse than HTML. The Markdown version is available at https://grafana.com/docs/grafana/v13.1/developer-resources/mcp/set-up.md, or by sending Accept: text/markdown to https://grafana.com/docs/grafana/v13.1/developer-resources/mcp/set-up/. For broader documentation discovery, the curated index is available at https://grafana.com/llms.txt and the complete index is available at https://grafana.com/llms-full.txt.
Set up the Grafana MCP server
Choose how you install and run the open source Grafana MCP server. Start with uvx for the least setup, or use Docker, a downloaded binary, or Helm when that fits your environment. Refer to Clients for client-specific steps and Client configuration examples for copy-paste MCP JSON (debug, TLS, and more).
Note
These instructions cover the open source server, which you install and run yourself. If you want to connect an external AI agent to Grafana Cloud without running your own server, refer to Grafana Cloud MCP server instead.
- Install with uvx
Run the Grafana MCP server with uvx for a zero-install setup. - Install with Docker
Run the Grafana MCP server using the official Docker image. - Install the binary
Download or build the Grafana MCP server binary. - Deploy with Helm
Deploy the Grafana MCP server to Kubernetes using the Helm chart. - Client configuration examples
Example MCP client JSON for uvx, binary, Docker, VS Code, and debug mode.
Was this page helpful?
Related resources from Grafana Labs


