grafana-a2a-mcp-server
Verified Safeby ry-ops
Overview
Provides a Model Context Protocol (MCP) server for Claude AI and other agents to interact with Grafana's HTTP API for dashboards, datasources, alerts, and annotations.
Installation
python -m grafana_mcp.serverEnvironment Variables
- GRAFANA_URL
- GRAFANA_API_KEY
- GRAFANA_USERNAME
- GRAFANA_PASSWORD
Security Notes
The server securely handles Grafana authentication via API keys or basic auth, relying on environment variables for credentials. It uses `httpx` for async HTTP requests to Grafana, and `mcp` for stdio communication with AI clients. No 'eval' or malicious patterns were detected. Error handling prevents exposing raw server-side stack traces to the MCP client. The architecture generally adheres to good security practices for an API proxy.
Similar Servers
loki-mcp
A Go-based server that implements the Model Context Protocol (MCP) to integrate Grafana Loki log querying capabilities with AI agents like Claude Desktop or n8n.
claude-faf-mcp
Optimizes AI understanding of software projects by providing persistent context, fixing context-drift, and enabling bi-directional synchronization between project metadata and AI documentation.
agents-mcp-usage
This repository demonstrates the integration of a Model Context Protocol (MCP) server with various AI agent frameworks, showcasing agent communication and operation within a shared context.
poly-observability-mcp
Unified Model Context Protocol (MCP) server for querying metrics, logs, and traces from various observability backends like Prometheus, Grafana, Loki, and Jaeger, primarily enabling AI assistants.