This is documentation for the next version of Grafana documentation. For the latest stable release, go to the latest version.

Enterprise Open source

Set up by client

Configure the Grafana MCP server for your MCP-compatible client. Each guide lists the config file location and a working server block.

Refer to Client configuration examples and Set up when you need more JSON or install options.

  • Claude Desktop
    Set up the Grafana MCP server for Claude Desktop.
  • Cursor
    Set up the Grafana MCP server for Cursor.
  • Codex CLI
    Set up the Grafana MCP server for the OpenAI Codex CLI.
  • VS Code and GitHub Copilot
    Set up the Grafana MCP server for VS Code with GitHub Copilot agent mode.
  • Claude Code
    Set up the Grafana MCP server for the Claude Code CLI.
  • Gemini CLI
    Set up the Grafana MCP server for the Google Gemini CLI.
  • Windsurf
    Set up the Grafana MCP server for Windsurf.
  • Zed
    Set up the Grafana MCP server for the Zed editor.