← Back to Plugins
MCP Server MCP

io.github.grafana/mcp-grafana

github By github 👁 1 views ▲ 0 votes

An MCP server giving access to Grafana dashboards, data and more.

Homepage Verified source GitHub

Install

oci:docker.io/grafana/mcp-grafana:1.1.0

Configuration Example

{
  "remotes": [
    {
      "type": "streamable-http",
      "url": "https://mcp.grafana.com/mcp",
      "headers": [
        {
          "description": "URL of your Grafana Cloud instance",
          "placeholder": "https://<instance>.grafana.net",
          "name": "X-Grafana-URL"
        }
      ]
    }
  ],
  "packages": [
    {
      "registryType": "oci",
      "identifier": "docker.io/grafana/mcp-grafana:1.1.0",
      "transport": {
        "type": "stdio"
      },
      "environmentVariables": [
        {
          "description": "URL to your Grafana instance",
          "isRequired": true,
          "format": "string",
          "name": "GRAFANA_URL"
        },
        {
          "description": "Service account token used to authenticate with your Grafana instance",
          "format": "string",
          "isSecret": true,
          "name": "GRAFANA_SERVICE_ACCOUNT_TOKEN"
        },
        {
          "description": "Username to authenticate with your Grafana instance",
          "format": "string",
          "name": "GRAFANA_USERNAME"
        },
        {
          "description": "Password to authenticate with your Grafana instance",
          "format": "string",
          "isSecret": true,
          "name": "GRAFANA_PASSWORD"
        },
        {
          "description": "Organization ID for multi-org support. Can also be set via X-Grafana-Org-Id header in SSE/streamable HTTP transports.",
          "format": "string",
          "name": "GRAFANA_ORG_ID"
        },
        {
          "description": "JSON object of additional HTTP headers to send with all Grafana API requests",
          "format": "string",
          "name": "GRAFANA_EXTRA_HEADERS"
        },
        {
          "description": "Comma-separated list of HTTP header names to forward from the incoming request to Grafana (SSE/streamable-http only). Example: Cookie,X-Session-Id",
          "format": "string",
          "name": "GRAFANA_FORWARD_HEADERS"
        }
      ]
    }
  ]
}
mcp model-context-protocol streamable-http oci

Comments

Sign in to leave a comment

Loading comments...