mcp-read-only-grafana
Verified Safeby lukleh
Overview
Provides a secure, read-only (with optional admin write operations) MCP server interface to Grafana instances for AI assistants.
Installation
uv run python -m src.serverEnvironment Variables
- GRAFANA_SESSION_<CONNECTION_NAME>
- GRAFANA_API_KEY_<CONNECTION_NAME>
- GRAFANA_TIMEOUT_<CONNECTION_NAME>
Security Notes
The server is read-only by default, requiring an explicit '--allow-admin' flag for write operations. Credentials (API keys or session tokens) are loaded from environment variables (.env file) and are never hardcoded. Session tokens are automatically refreshed and persisted back to the .env file with an atomic write operation, enhancing security and usability. SSL verification is enabled by default. The security score is high, but admin mode requires careful management of Grafana admin permissions.
Similar Servers
mcp-grafana
Provides a Model Context Protocol (MCP) server for Grafana, enabling AI agents to interact with Grafana features such as dashboards, datasources, alerting, incidents, and more through a structured tool-based interface.
jetski
Jetski is an open-source platform providing analytics, authentication, and simplified client setup for Model Context Protocol (MCP) servers by acting as a proxy.
mcpcat-python-sdk
An analytics and observability SDK for Multi-modal Conversational Platform (MCP) servers, capturing user behavior and tool interactions for product development and debugging.
influxdb-mcp-server
An MCP server to interact with an InfluxDB instance, providing access to resources, tools for data management, and prompt templates for common queries and data formats.