Skip to main content
Glama
Jason-Shi-1

grafana-mcp

by Jason-Shi-1

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GRAFANA_URLYesBase URL of your Grafana instance, e.g. http://localhost:3000
SOCKS_PROXYNoOptional: SOCKS5 proxy URL, e.g. socks5://localhost:1080
GRAFANA_USERYesGrafana username
GRAFANA_PASSWORDYesGrafana password

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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