grafana-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| GRAFANA_URL | Yes | Base URL of your Grafana instance, e.g. http://localhost:3000 | |
| SOCKS_PROXY | No | Optional: SOCKS5 proxy URL, e.g. socks5://localhost:1080 | |
| GRAFANA_USER | Yes | Grafana username | |
| GRAFANA_PASSWORD | Yes | Grafana password |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| search-dashboardsA | Search for Grafana dashboards by query string, folder, or tag. |
| get-dashboardA | Get a dashboard by its UID. Returns the full dashboard JSON model. |
| create-or-update-dashboardB | Create a new dashboard or update an existing one. Pass the full dashboard JSON model. |
| delete-dashboardB | Delete a dashboard by its UID. |
| list-datasourcesA | List all configured datasources in Grafana. |
| get-datasourceB | Get a datasource by its name or numeric ID. |
| query-datasourceB | Run an instant or range query against a datasource using Grafana's ds/query endpoint. |
| influx-show-databasesA | List all InfluxDB databases accessible through a Grafana InfluxDB datasource. |
| influx-show-measurementsA | List all measurements (tables) in an InfluxDB database. |
| influx-show-field-keysA | List all field keys (numeric columns) for a measurement in InfluxDB. |
| influx-show-tag-keysB | List all tag keys (indexed dimensions) for a measurement in InfluxDB. |
| influx-show-tag-valuesA | List all values for a specific tag key in an InfluxDB measurement. Useful for discovering hostnames, environments, regions, etc. |
| influx-show-retention-policiesA | List retention policies for an InfluxDB database, including duration and replication. |
| list-alert-rulesC | List all Grafana Alerting rules (Grafana-managed alerts). |
| get-alert-ruleB | Get a Grafana-managed alert rule by UID. |
| create-alert-ruleC | Create a new Grafana-managed alert rule via the provisioning API. |
| update-alert-ruleB | Update an existing Grafana-managed alert rule by UID. |
| delete-alert-ruleB | Delete a Grafana-managed alert rule by UID. |
| list-notification-policiesA | Get the Grafana Alerting notification policy tree. |
| list-contact-pointsA | List all Grafana Alerting contact points (notification channels). |
| list-foldersC | List all dashboard folders in Grafana. |
| get-healthA | Check the health and version of the Grafana instance. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Jason-Shi-1/grafana-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server