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/latest/developer-resources/mcp/set-up/install-the-binary.md (append .md) or send Accept: text/markdown to https://grafana.com/docs/grafana/latest/developer-resources/mcp/set-up/install-the-binary/. For the curated documentation index, use https://grafana.com/llms.txt. For the complete documentation index, use https://grafana.com/llms-full.txt.
Install the binary
Install the Grafana MCP server by downloading a release binary or building from source. This gives you a single executable in your $PATH.
What you’ll achieve
You have the mcp-grafana binary available so your MCP client can run it directly (typically in stdio mode).
Before you begin
- For source build: a Go toolchain (see Go install).
Download a release
- Open the releases page on GitHub.
- Download the archive for your platform.
- Extract the binary and place it in a directory that is in your
$PATH.
Build from source
If you have a Go toolchain installed you can also build and install it from source. Use go install and set GOBIN so the binary is installed where you want it (for example, a directory in your $PATH).
GOBIN="$HOME/go/bin" go install github.com/grafana/mcp-grafana/cmd/mcp-grafana@latestEnsure $GOBIN (or $HOME/go/bin) is in your $PATH. Then add the server to your MCP client config with "command": "mcp-grafana" (or the full path if needed).
Next steps
- Configure authentication for Grafana credentials.
- Deploy with Helm if you run the server on Kubernetes.
Was this page helpful?
Related resources from Grafana Labs


