# mcp-grafana を Homebrew, Nix でインストール

mcp-grafana のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:mcp-grafana
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install mcp-grafana
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#mcp-grafana
```

  証拠: nixpkgs package indexes: pkgs/by-name/mc/mcp-grafana/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:mcp-grafana
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.0.0
- **ソース概要:** MCP server for Grafana
- **ホームページ:** <https://github.com/grafana/mcp-grafana>
- **リポジトリ:** <https://github.com/grafana/mcp-grafana>
- **最終更新:** 2026-07-29T17:04:51+02:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- mcp-grafana (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 1.0.0
## プロジェクトの歴史と使われ方

mcp-grafana is Grafana Labs' Model Context Protocol server for Grafana. It exposes Grafana instances and related observability workflows to MCP-compatible clients through tools for dashboards, datasources, incidents, alerting, on-call data, snapshots, and more.

### プロジェクトの歴史

The official GitHub repository was created in December 2024 and is maintained under the grafana organization with Apache-2.0 licensing. The project has first-party Grafana documentation as well as a GitHub README, Go package documentation, Docker image usage, binary releases, uvx startup, and a Helm chart route.

The release stream grew quickly through 2025 and 2026, with GitHub releases such as v0.12.0 in April 2026 and v0.17.0 in June 2026. The README shows the server expanding beyond basic dashboard access into richer Grafana ecosystem coverage.

### 採用の歴史

By July 2026, official GitHub metadata showed thousands of stars and hundreds of forks, while the supplied package-manager facts list Homebrew and Nix packaging. Its placement under the Grafana organization gives it first-party visibility that most MCP servers do not have.

The project reflects a broader shift in observability tooling: instead of only exposing dashboards through browser UI and APIs, Grafana can be queried and modified through AI clients using a local or hosted MCP server.

### 使われ方

The README quick start configures an MCP client to run mcp-grafana with GRAFANA_URL and GRAFANA_SERVICE_ACCOUNT_TOKEN. It also documents token-file support through GRAFANA_SERVICE_ACCOUNT_TOKEN_FILE, username/password alternatives, organization selection, custom headers, Docker, binary, Helm, and transport options.

Documented tools cover dashboard retrieval and patching, datasource queries, Prometheus/Loki/CloudWatch/Athena/ClickHouse/Snowflake-related workflows, incidents, Sift investigations, alerting, OnCall, teams, roles, annotations, snapshots, rendering, and provisioning repository validation.

### パッケージ好きにとっての重要性

mcp-grafana is significant because it is a first-party MCP server from a major observability vendor, not just a community adapter. For package managers, that means a fast-moving operational tool with real deployment modes: uvx for local clients, Docker for containers, binaries for PATH installs, and Helm for clusters.

It also shows how MCP packages can grow beyond simple CRUD wrappers into opinionated context-management tools, such as compact dashboard summaries and JSONPath dashboard property extraction to control model context size.

### タイムライン

- 2024-12: GitHub repository created under grafana.
- 2026-04: v0.12.0 release published.
- 2026-06: v0.17.0 release published.
- 2026-07: Repository metadata showed active maintenance and broad GitHub adoption.

### Related projects

- Related projects include Grafana, Grafana Cloud, Grafana OnCall, Grafana Incident, the Grafana Helm charts, and other observability-focused MCP servers.

### ソース

- <https://github.com/grafana/mcp-grafana>
- <https://github.com/grafana/mcp-grafana#readme>
- <https://github.com/grafana/mcp-grafana/releases>
- <https://grafana.com/docs/grafana/latest/developer-resources/mcp>
- <https://pkg.go.dev/github.com/grafana/mcp-grafana>
- source_facts.package-manager


## セキュリティノート

mcp-grafana に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。


## 他のパッケージマネージャ記録

- Nix - mcp-grafana: normalized package name match | nixpkgs package indexes: pkgs/by-name/mc/mcp-grafana/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/mcp-grafana.yml](https://github.com/mxcl/pkgdb/blob/main/combined/mcp-grafana.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
