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.0/developer-resources/mcp/set-up/install-the-binary.md, or by sending Accept: text/markdown to https://grafana.com/docs/grafana/v13.0/developer-resources/mcp/set-up/install-the-binary/. 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.
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).
Install with Homebrew
If you have Homebrew installed, install mcp-grafana with:
brew install mcp-grafanaVerify that the binary is available:
mcp-grafana --helpDownload a release from GitHub
- 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


