CuratedMCP
🏄
Windsurf
Free

How to Install Grafana MCP in Windsurf

Grafana's official MCP server for dashboards, datasources, alerts and incidents.

What Grafana MCP does

Grafana's official MCP server (mcp-grafana). Runs locally with Docker against your Grafana instance using a service account token, and lets an agent search dashboards, query datasources such as Prometheus and Loki, and look at alerts and incidents.

grafana
monitoring
metrics
dashboards
prometheus

Installation steps

  1. 1Copy the config below
  2. 2Open ~/.codeium/windsurf/mcp_config.json
  3. 3Paste inside "mcpServers": {}
  4. 4Restart Windsurf

Configuration

File location: ~/.codeium/windsurf/mcp_config.json

mcp_config.jsonjson
{
  "grafanaMcp": {
    "command": "docker",
    "args": [
      "run",
      "--rm",
      "-i",
      "-e",
      "GRAFANA_URL",
      "-e",
      "GRAFANA_SERVICE_ACCOUNT_TOKEN",
      "grafana/mcp-grafana",
      "-t",
      "stdio"
    ],
    "env": {
      "GRAFANA_URL": "https://your-instance.grafana.net",
      "GRAFANA_SERVICE_ACCOUNT_TOKEN": "<service-account-token>"
    }
  }
}
Full server details GitHub Open Config Editor

Install in other clients

For maintainers

If you maintain Grafana MCP, add this badge to your README to show it's verified on CuratedMCP:

CuratedMCP Verified
[![CuratedMCP Verified](https://www.curatedmcp.com/api/badge/grafana-mcp)](https://www.curatedmcp.com/marketplace/grafana-mcp)

Related servers