mcp-grafana
GrafanaPrometheusLokiTempoPyroscopeMcpModelContextProtocolPythonMonitoringObservabilityJavascriptGoRubyR
Server Information
š Overview:
ā Key Points:
šÆ Conclusion:
The grafana/mcp-grafana repository hosts a functional MCP server for Grafana, offering a range of tools to interact with Grafana instances and related data sources. The project is open to contributions and provides detailed documentation for development, testing, and configuration.
The webpage is the GitHub repository page for grafana/mcp-grafana, a Model Context Protocol (MCP) server designed for Grafana. It provides access to Grafana instances and their ecosystems. The repository is public and contains code, issues, pull requests, actions, security information, and insights.
ā Key Points:
- The project is a Grafana MCP server that implements the Model Context Protocol.
- It offers configurable tools to interact with Grafana, including dashboard search, datasource listing, and querying Prometheus, Loki, Tempo, and Pyroscope.
- Grafana Incident Management is integrated via tools to search, create, update, and close incidents.
- The project uses the Apache 2.0 license.
- Dependency management is handled using 'uv', and contributions are welcome.
- The repository includes features like searching dashboards, listing datasources, querying various data sources (Prometheus, Loki, Tempo, Pyroscope), and managing Grafana incidents.
- The project structure consists of directories for workflows, source code, tests, and files such as .gitignore, CODEOWNERS, Dockerfile, LICENSE, Makefile, README.md, docker-compose.yaml, image-tag, pyproject.toml, and uv.lock.
- Development requires setting up a Grafana instance, installing dependencies using 'uv', and running tests.
- The project is actively maintained, with 83 commits and 5 contributors, with its latest release on Jan 28, 2025.
- Technologies: Python (97.2%), Dockerfile (1.6%), Shell (1.1%), Makefile (0.1%).
- The server has a configurable setup, allowing administrators to select which tools to expose.
- Testing includes unit tests, integration tests (requiring a local Grafana instance), and cloud tests (for Grafana Cloud-specific features).
- The README.md file provides comprehensive instructions on usage, development, testing, and licensing.
š Main Findings:
š Details:
šÆ Conclusion:
The grafana/mcp-grafana repository hosts a functional MCP server for Grafana, offering a range of tools to interact with Grafana instances and related data sources. The project is open to contributions and provides detailed documentation for development, testing, and configuration.
Server Features
Search Dashboards
Search for dashboards
List Datasources
List and fetch datasource information
Query Prometheus
Execute queries against Prometheus datasources
Query Loki
Execute queries against Loki datasources
Query Tempo
Query Tempo
Query Pyroscope
Query Pyroscope
List Prometheus Metric Metadata
Query Prometheus metric metadata
Manage Incidents
Search, create, update, and close incidents
Start Sift Investigations
Start Sift investigations and view the results
Provider Information
Grafana
cloud Provider
Quick Actions
MCP Configuration
Available Tools
search_dashboardslist_datasourcesget_datasource_by_uidget_datasource_by_namequery_prometheuslist_prometheus_metric_metadatalist_prometheus_metric_nameslist_prometheus_label_nameslist_prometheus_label_valueslist_incidentscreate_incidentadd_activity_to_incidentresolve_incident