Koskamo

mcp-grafana MCP

A Model Context Protocol server for Grafana that enables agents to search and edit dashboards, query datasources using PromQL, LogQL, or SQL, and inspect alerts. It features a safe-by-default access model with read-only, read-write, and admin modes, along with safeguards like dry-run validation and audit logging.

Package and access

Local package with source-attributed installation metadata. Koskamo does not execute packages during review.

mcp-grafana MCP logo, by dockndevaiCommunity listingLocal stdioSource reviewed; not executedPublished by dockndevai
You need:You need a Grafana service account token (Administration → Service accounts → Add service account → Add token )
Vendor documentation

What you can do with it

  • Search for dashboards and folders by name or tag
  • Query datasources using PromQL, LogQL, or SQL
  • Inspect Grafana-managed alert rules and annotations
  • Create, update, or delete dashboards and folders

Source and maintenance

Community listingRegistry 0.3.3
Maintenance checked

Packages and installation

Source-provided package data. Koskamo has not executed or live-probed this package.

@dockndevai/mcp-grafana 0.3.3

npm
@dockndevai/mcp-grafana package definition
{
  "version": "0.3.3",
  "transport": "stdio",
  "identifier": "@dockndevai/mcp-grafana",
  "registryType": "npm",
  "registryBaseUrl": "https://registry.npmjs.org",
  "environmentVariables": [
    {
      "name": "GRAFANA_URL",
      "description": "Base URL of the Grafana instance (e.g. http://localhost:3000)."
    },
    {
      "name": "GRAFANA_TOKEN",
      "isRequired": true,
      "description": "Grafana service-account token (Bearer). Use a Viewer-role account for read-only use."
    },
    {
      "name": "GRAFANA_MODE",
      "description": "Access mode: read-only | read-write | admin. Starts read-only; writes need read-write."
    }
  ]
}

Tools

Reported by the attributed source; not independently observed by Koskamo.

No tool definitions available.

Connect from your client

Each snippet configures the same source-provided package; replace placeholders before use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Cursor

Merge this local stdio configuration, replace every placeholder environment value, and restart Cursor. Koskamo has not executed this package.
Cursor configuration
{
  "mcpServers": {
    "mcp-grafana-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@dockndevai/mcp-grafana@0.3.3"
      ],
      "env": {
        "GRAFANA_URL": "<YOUR_GRAFANA_URL>",
        "GRAFANA_TOKEN": "<YOUR_GRAFANA_TOKEN>",
        "GRAFANA_MODE": "<YOUR_GRAFANA_MODE>"
      }
    }
  }
}

Cline

Merge this local stdio configuration, replace every placeholder environment value, and restart Cline. Koskamo has not executed this package.
Cline configuration
{
  "mcpServers": {
    "mcp-grafana-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@dockndevai/mcp-grafana@0.3.3"
      ],
      "env": {
        "GRAFANA_URL": "<YOUR_GRAFANA_URL>",
        "GRAFANA_TOKEN": "<YOUR_GRAFANA_TOKEN>",
        "GRAFANA_MODE": "<YOUR_GRAFANA_MODE>"
      }
    }
  }
}

VS Code

Merge this local stdio configuration, replace every placeholder environment value, and restart VS Code. Koskamo has not executed this package.
VS Code configuration
{
  "servers": {
    "mcp-grafana-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@dockndevai/mcp-grafana@0.3.3"
      ],
      "env": {
        "GRAFANA_URL": "<YOUR_GRAFANA_URL>",
        "GRAFANA_TOKEN": "<YOUR_GRAFANA_TOKEN>",
        "GRAFANA_MODE": "<YOUR_GRAFANA_MODE>"
      }
    }
  }
}

Claude Desktop

Merge this local stdio configuration, replace every placeholder environment value, and restart Claude Desktop. Koskamo has not executed this package.
Claude Desktop configuration
{
  "mcpServers": {
    "mcp-grafana-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@dockndevai/mcp-grafana@0.3.3"
      ],
      "env": {
        "GRAFANA_URL": "<YOUR_GRAFANA_URL>",
        "GRAFANA_TOKEN": "<YOUR_GRAFANA_TOKEN>",
        "GRAFANA_MODE": "<YOUR_GRAFANA_MODE>"
      }
    }
  }
}

Let your agent find its tools

Find servers like mcp-grafana MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.