mcp-grafana for Grafana: safety score

B 77 Provisional Not reviewed Not tested read-only mode

mcp-grafana is a vendor MCP server for Grafana with 66 read, 14 write and 8 destructive tools. It has a read-only mode and needs to run as a remote MCP endpoint and a secret in an environment variable; its provisional OpsMCP grade is B (77%), last checked 3 Dec 2026.

Last checked 3 Dec 2026.

Grades are automated opinions from public data, provided as is with no warranty, and are not professional advice. Test any server yourself before production. You use it at your own risk. Read the full disclaimer.

An MCP server giving access to Grafana dashboards, data and more.

Publisher's description

io.github.grafana/mcp-grafana · version 2.5.0

Tool capability partly scored. Access partly scored. 2 of 4 factors scored.

Not hands-on tested. No test date, notes, or observed write behavior.

Evidence

Each line was checked against a primary source. The link is that source.

  • Latest release is v2.5.0, published 2 Dec 2026. Source
    Checked 3 Dec 2026.
  • None found as of 3 Dec 2026. Source
    Checked 3 Dec 2026.
  • Last commit on the default branch (main) was 3 Dec 2026. Source
    Checked 3 Dec 2026.
  • The README describes an MCP server for a Grafana instance and the tools around it. Source
    Checked 13 Nov 2026.

Tool names

Tool names documented in README.md. Source

Checked 13 Nov 2026.

  • add_activity_to_incident Incident Add an activity item to an incident in Grafana Incident `plugins.app:access` N/A
  • agento11y_manage_agents Agent Observability* Read the agent catalog: list agents, get one agent version in full, list version history, and per-version score aggregates `grafana-agento11y-app.conversati...
  • agento11y_manage_conversations Agent Observability* List, search, and fetch LLM conversations from Grafana Agent Observability `grafana-agento11y-app.conversations:read`, `grafana-agento11y-app.data:read`, `p...
  • agento11y_manage_eval_collections Agent Observability* Manage saved conversations and the collections that group them (list, get, save, create, update, delete, add and remove members) `grafana-agento11y-app.conv...
  • agento11y_manage_eval_rules Agent Observability* Manage eval rules and guards (list, get, create, update, preview, delete) `grafana-agento11y-app.conversations:read`, `grafana-agento11y-app.data:read`, `pl...
  • agento11y_manage_evaluators Agent Observability* Manage evaluators, evaluator templates, and the judge catalog (list, get, upsert, fork, test, delete) `grafana-agento11y-app.conversations:read`, `grafana-a...
  • agento11y_manage_experiments Agent Observability* Read offline experiments, their trials, scores, artifact metadata, and filter facets; update and cancel an experiment `grafana-agento11y-app.conversations:r...
  • agento11y_manage_generations Agent Observability* Fetch LLM generation details and evaluation scores from Grafana Agent Observability `grafana-agento11y-app.conversations:read`, `grafana-agento11y-app.data:...
  • agento11y_manage_test_suites Agent Observability* Manage the test suites that offline experiments run against, their versions, and their test cases (list, get, create, update, draft, publish, upsert, delete...
  • alerting_manage_routing Alerting Manage notification policies, contact points, and time intervals `alert.notifications.external:read`, `alert.notifications.receivers:read`, `alert.notifications.routes:...
  • alerting_routing_write Alerting Create Grafana-managed contact points by default, or explicitly create external Alertmanager receivers `alert.notifications.external:read`, `alert.notifications.externa...
  • alerting_rules_read Alerting List and inspect alert rules (list, get, versions) `alert.rules.external:read`, `alert.rules:read`, `datasources:read`, `folders:read` `folders:*` or `folders:uid:alert...
Show all 131 tools
  • alerting_rules_write Alerting Create, update and delete Grafana-managed rules, or explicitly create datasource-managed rules `alert.provisioning.provenance:write`, `alert.rules.external:read`, `aler...
  • alerting_silences_read Alerting List and inspect alerting silences (list, get) `alert.instances:read`, `alert.silences:read` Global scope
  • alerting_silences_write Alerting Create, update, and expire alerting silences `alert.instances:create`, `alert.instances:read`, `alert.instances:write`, `alert.silences:create`, `alert.silences:read`,...
  • analyze_loki_labels Loki Audit a Loki label strategy (live or static) and optionally diagnose query performance `datasources:query`, `datasources:read` `datasources:uid:loki-uid`
  • ask_assistant Assistant* Send a prompt to Grafana Assistant and return the full text reply (multi-turn via `contextId`) `grafana-assistant-app.chats:access`, `plugins.app:access` Plugin-speci...
  • check_datasources_health Datasources Check the health of one or more datasources `datasources:query`, `datasources:read` `datasources:uid:*`
  • create_annotation Annotations Create a new annotation (standard or Graphite format) `annotations:create` `annotations:*`
  • create_datasource Datasources Create a datasource `datasources:create`, `datasources:read` `datasources:*`
  • create_folder Create a Grafana folder. Provide a title and optional UID. Returns the created folder.
  • create_incident Incident Create an incident in Grafana Incident, optionally setting custom fields `plugins.app:access` N/A
  • create_snapshot Snapshot Create a dashboard snapshot from a full dashboard payload `dashboards:read`, `snapshots:create` `dashboards:uid:abc123`
  • delete_annotation Annotations Delete an annotation by ID `annotations:delete` `annotations:*`
  • delete_snapshot Snapshot Delete a dashboard snapshot by snapshot key `dashboards:write`, `snapshots:delete` `dashboards:uid:abc123`
  • describe_sql_table SQL* Get column schema for a table `datasources:query`, `datasources:read` `datasources:uid:*`
  • diff_tempo_traces Tempo Compare two traces `datasources:query`, `datasources:read` `datasources:uid:tempo-uid`
  • error_type
  • gen_ai_tool_name
  • generate_deeplink Navigation Generate accurate deeplink URLs for Grafana resources None N/A
  • get_alert_group OnCall Get a specific alert group from Grafana OnCall by its ID `grafana-irm-app.alert-groups:read`, `plugins.app:access` Plugin-specific scopes
  • get_annotation_tags Annotations List annotation tags with optional filtering `annotations:read` `annotations:*`
  • get_annotations Annotations Fetch annotations with filters `annotations:read` `annotations:*` or `annotations:id:123`
  • get_assertions Get assertion summary for a given entity with its type, name, env, site, namespace, and a time range
  • get_current_oncall_users OnCall Get users currently on-call for a specific schedule `grafana-irm-app.schedules:read`, `grafana-irm-app.user-settings:read`, `plugins.app:access` Plugin-specific scopes
  • get_dashboard_by_uid Dashboard Get a dashboard by uid, optionally a saved version `dashboard.grafana.app/dashboards:get`, `dashboards:read`, `dashboards:write` `dashboards:uid:abc123`
  • get_dashboard_panel_queries Dashboard Get panel title, queries, datasource UID and type from a dashboard `dashboard.grafana.app/dashboards:get`, `dashboards:read` `dashboards:uid:abc123`
  • get_dashboard_property Dashboard Extract specific parts of a dashboard using JSONPath expressions `dashboard.grafana.app/dashboards:get`, `dashboards:read` `dashboards:uid:abc123`
  • get_dashboard_summary Dashboard Get a compact summary of a dashboard without full JSON `dashboard.grafana.app/dashboards:get`, `dashboards:read` `dashboards:uid:abc123`
  • get_datasource Datasources Get a datasource by UID or name `datasources:read` `datasources:uid:prometheus-uid`
  • get_doc Docs Fetch a documentation page; set outline_only for headings, or section for bounded retrieval None N/A
  • get_incident Incident Get a single incident by ID, including its custom fields `plugins.app:access` N/A
  • get_oncall_shift OnCall Get details for a specific OnCall shift `grafana-irm-app.schedules:read`, `plugins.app:access` Plugin-specific scopes
  • get_panel_image Rendering Render a stored dashboard or panel, a provisioning preview, or an ad-hoc Explore view as a PNG image `dashboards:read`, `datasources:explore`, `datasources:query`, `da...
  • get_plugin Plugins Get an installed plugin `plugins.app:access` N/A
  • get_query_examples Examples* Get example queries for a datasource type None `datasources:*`
  • get_resource_description Admin* Describe a Grafana resource type `dashboards.permissions:read`, `datasources.permissions:read`, `folders.permissions:read`, `serviceaccounts.permissions:read`, `teams.per...
  • get_resource_permissions Admin* List permissions for a resource `dashboards.permissions:read`, `datasources.permissions:read`, `folders.permissions:read`, `serviceaccounts.permissions:read`, `teams.perm...
  • get_role_assignments Admin* List assignments for a role `roles:read`, `teams.roles:read`, `users.roles:read` `roles:uid:editor`
  • get_role_details Admin* Get details for a Grafana role `roles:read` `roles:uid:editor`
  • get_snapshot Snapshot Get snapshot metadata and dashboard payload by snapshot key None N/A
  • get_tempo_trace Tempo Fetch a trace by ID `datasources:query`, `datasources:read` `datasources:uid:tempo-uid`
  • get_tempo_traceql_docs Tempo Get TraceQL documentation None N/A
  • grafana_api_request API Call a Grafana HTTP API endpoint None Depends on the endpoint
  • install_plugin Plugins Install a plugin `plugins:install` N/A
  • list_alert_groups OnCall List alert groups from Grafana OnCall with filtering options `grafana-irm-app.alert-groups:read`, `plugins.app:access` Plugin-specific scopes
  • list_all_roles Admin* List all Grafana roles `roles:read` `roles:*`
  • list_cloud_logging_buckets Cloud Logging* List log buckets in a GCP project `datasources:query`, `datasources:read` `datasources:uid:*`
  • list_cloud_logging_projects Cloud Logging* List GCP projects readable by a Google Cloud Logging datasource `datasources:query`, `datasources:read` `datasources:uid:*`
  • list_cloud_logging_views Cloud Logging* List log views in a log bucket `datasources:query`, `datasources:read` `datasources:uid:*`
  • list_cloudwatch_dimension_values CloudWatch* List values for a dimension key `datasources:query`, `datasources:read` `datasources:uid:*`
  • list_cloudwatch_dimensions CloudWatch* List dimensions for a metric `datasources:query`, `datasources:read` `datasources:uid:*`
  • list_cloudwatch_log_group_fields CloudWatch* List fields discovered in a log group `datasources:query`, `datasources:read` `datasources:uid:*`
  • list_cloudwatch_log_groups CloudWatch* List CloudWatch log groups `datasources:query`, `datasources:read` `datasources:uid:*`
  • list_cloudwatch_metrics CloudWatch* List metrics in a namespace `datasources:query`, `datasources:read` `datasources:uid:*`
  • list_cloudwatch_namespaces CloudWatch* List available AWS CloudWatch namespaces `datasources:query`, `datasources:read` `datasources:uid:*`
  • list_dashboard_versions List saved versions of a Grafana dashboard. Returns compact metadata: version number, author, timestamp, and save message. A version number can be passed to the dashboard fetch...
  • list_datasources Datasources List datasources `datasources:read` `datasources:*`
  • list_graphite_metrics Graphite* List Graphite metrics `datasources:query`, `datasources:read` `datasources:uid:graphite-uid`
  • list_graphite_tags Graphite* List Graphite tags `datasources:query`, `datasources:read` `datasources:uid:graphite-uid`
  • list_incident_custom_fields Incident List the custom fields configured for incidents, with their types and select options `plugins.app:access` N/A
  • list_incidents Incident List incidents in Grafana Incident, optionally with their custom field values `plugins.app:access` N/A
  • list_loki_label_names Loki List all available label names in logs `datasources:query`, `datasources:read` `datasources:uid:loki-uid`
  • list_loki_label_values Loki List values for a specific log label `datasources:query`, `datasources:read` `datasources:uid:loki-uid`
  • list_oncall_schedules OnCall List schedules from Grafana OnCall `grafana-irm-app.schedules:read`, `plugins.app:access` Plugin-specific scopes
  • list_oncall_teams OnCall List teams from Grafana OnCall `grafana-irm-app.user-settings:read`, `plugins.app:access` Plugin-specific scopes
  • list_oncall_users OnCall List users from Grafana OnCall `grafana-irm-app.user-settings:read`, `plugins.app:access` Plugin-specific scopes
  • list_prometheus_label_names Prometheus List label names matching a selector `datasources:query`, `datasources:read` `datasources:uid:prometheus-uid`
  • list_prometheus_label_values Prometheus List values for a specific label `datasources:query`, `datasources:read` `datasources:uid:prometheus-uid`
  • list_prometheus_metric_metadata Prometheus List metric metadata `datasources:query`, `datasources:read` `datasources:uid:prometheus-uid`
  • list_prometheus_metric_names Prometheus List available metric names `datasources:query`, `datasources:read` `datasources:uid:prometheus-uid`
  • list_provisioning_repositories Provisioning List provisioning repositories (e.g. git-sync sources) with their source URL, branch, sync state, and health `provisioning.grafana.app/repositories:list`, `provisio...
  • list_pyroscope_label_names Pyroscope List label names matching a selector `datasources:query`, `datasources:read` `datasources:uid:pyroscope-uid`
  • list_pyroscope_label_values Pyroscope List label values matching a selector for a label name `datasources:query`, `datasources:read` `datasources:uid:pyroscope-uid`
  • list_pyroscope_profile_types Pyroscope List available profile types `datasources:query`, `datasources:read` `datasources:uid:pyroscope-uid`
  • list_snapshots Snapshot List dashboard snapshots with optional query and limit filters `snapshots:read` N/A
  • list_sql_databases SQL* List databases, schemas, or catalogs from a SQL datasource `datasources:query`, `datasources:read` `datasources:uid:*`
  • list_sql_tables SQL* List tables in a SQL datasource `datasources:query`, `datasources:read` `datasources:uid:*`
  • list_team_roles Admin* List roles for teams `teams.roles:read` `teams:id:7`
  • list_teams Admin* List all teams `teams:read` `teams:*` or `teams:id:1`
  • list_tempo_attribute_names Tempo List span and resource attribute names `datasources:query`, `datasources:read` `datasources:uid:tempo-uid`
  • list_tempo_attribute_values Tempo List values for a trace attribute `datasources:query`, `datasources:read` `datasources:uid:tempo-uid`
  • list_user_roles Admin* List roles for users `users.roles:read` `global.users:id:123`
  • list_users_by_org Admin* List users in an organization, with search and pagination `org.users:read` `global.users:*` or `global.users:id:123`
  • mcp_method_name
  • mcp_protocol_version
  • mcp_server_operation_duration_seconds
  • network_transport
  • query_azure_log_analytics Azure Monitor* Query Azure Log Analytics workspaces with KQL `datasources:query`, `datasources:read` `datasources:uid:*`
  • query_azure_resource_graph Azure Monitor* Query Azure Resource Graph with KQL `datasources:query`, `datasources:read` `datasources:uid:*`
  • query_cloud_logging Cloud Logging* Query logs with the Cloud Logging query language `datasources:query`, `datasources:read` `datasources:uid:*`
  • query_cloudwatch CloudWatch* Execute CloudWatch metric queries `datasources:query`, `datasources:read` `datasources:uid:*`
  • query_cloudwatch_logs CloudWatch* Execute CloudWatch Logs Insights queries `datasources:query`, `datasources:read` `datasources:uid:*`
  • query_elasticsearch Executes a search query against an Elasticsearch or OpenSearch datasource and retrieves matching documents. Supports Lucene query syntax (e.g., 'status:200 AND host:server1') fo...
  • query_graphite Graphite* Query Graphite metrics `datasources:query`, `datasources:read` `datasources:uid:graphite-uid`
  • query_graphite_density Graphite* Query Graphite metric density `datasources:query`, `datasources:read` `datasources:uid:graphite-uid`
  • query_influxdb they pass the query to the datasource unfiltered, so they can write whenever the datasource credentials permit it. Add
  • query_loki_logs Loki Query and retrieve logs using LogQL (either log or metric queries) `datasources:query`, `datasources:read` `datasources:uid:loki-uid`
  • query_loki_patterns Loki Query detected log patterns to identify common structures `datasources:query`, `datasources:read` `datasources:uid:loki-uid`
  • query_loki_stats Loki Get statistics about log streams `datasources:query`, `datasources:read` `datasources:uid:loki-uid`
  • query_prometheus Prometheus Query metrics using PromQL without opening a chart `datasources:query`, `datasources:read` `datasources:uid:prometheus-uid`
  • query_prometheus_histogram Prometheus Calculate histogram percentile values `datasources:query`, `datasources:read` `datasources:uid:prometheus-uid`
  • query_pyroscope Pyroscope Query profiles, metrics, or both from Pyroscope `datasources:query`, `datasources:read` `datasources:uid:pyroscope-uid`
  • query_quickwit Quickwit* Query Quickwit using Lucene syntax or Query DSL `datasources:query`, `datasources:read` `datasources:uid:quickwit-uid`
  • query_sql SQL* Execute SQL queries with macro substitution `datasources:query`, `datasources:read` `datasources:uid:*`
  • query_tempo_metrics Tempo Compute metrics from traces with TraceQL `datasources:query`, `datasources:read` `datasources:uid:tempo-uid`
  • render_grafana_app Run a query tool and display its result in the interactive Grafana App. Use for an explicit visualization request; call the query tool directly for analysis. Supply the selected...
  • run_panel_query RunPanelQuery* Execute one or more dashboard panel queries `dashboard.grafana.app/dashboards:get`, `dashboards:read`, `datasources:query`, `datasources:read` `dashboards:uid:*`,...
  • search_dashboards Search Search for dashboards by query, folder UID, folder path, tag, or starred `dashboards:read`, `folders:read` `dashboards:*` or `dashboards:uid:abc123`
  • search_docs Docs Search Grafana documentation or list product groups (omit query to list products) None N/A
  • search_folders Search Search for folders by title `folders:read` `folders:*` or `folders:uid:xyz789`
  • search_plugin_information Plugins Search the grafana.com plugin catalog None N/A
  • search_tempo_traces Tempo Search traces with TraceQL `datasources:query`, `datasources:read` `datasources:uid:tempo-uid`
  • suggest_loki_alloy_label_config Generates an Alloy loki.process snippet enforcing an approved label set via stage.label_keep, with optional log-level normalisation and soft-enforcement placeholders.
  • update_alert_group OnCall Acknowledge, unacknowledge, resolve, or unresolve an alert group `grafana-irm-app.alert-groups:read`, `grafana-irm-app.alert-groups:write`, `plugins.app:access` Plugin-sp...
  • update_annotation Annotations Update specific fields of an annotation (partial update) `annotations:read`, `annotations:write` `annotations:*`
  • update_dashboard Dashboard Update or create a new dashboard `dashboard.grafana.app/dashboards:create`, `dashboard.grafana.app/dashboards:get`, `dashboard.grafana.app/dashboards:update`, `dashboa...
  • update_datasource Datasources Update a datasource `datasources:read`, `datasources:write` `datasources:*` or `datasources:uid:abc123`
  • update_incident Incident Update an incident in Grafana Incident (status, severity, title, or custom fields) `plugins.app:access` N/A
  • user_info Get information about the current Grafana identity: login, email, name, whether it is a Grafana (server) admin, the current organization, and the organizations it can access (wi...
  • validate_provisioning_file Provisioning Dry-run-apply a file from a provisioning repository and report admission validation errors `dashboard.grafana.app/dashboards:get`, `dashboards:read`, `folder.grafan...

Can it change or delete things?

Yes. The extracted tools include at least one destructive tool, so it can change or delete things.

Classified from the tool name, or from the description when the name has no listed verb. Tool extraction read the highest-priority source files and may have missed others.

100 tools

Tool Class
add_activity_to_incident
Add a note (userNote activity) to an existing incident's timeline using its ID. The note body can include URLs which will be attached as context. Use this to add context to an incident. Classified from the name (add).
Write
analyze_loki_labels annotation disagrees
Audits a Loki label strategy and optionally diagnoses query performance. Returns per-label verdicts, missing base labels, normalisation issues, and a recommended set. Pass datasourceUid for live cardinality or labels for static scoring; both may be combined. Classified from the description (set).
Write
check_datasources_health annotation disagrees
Check datasource health. Filter by type or UIDs; omit both to check all.
Unknown
create_annotation
Create a new annotation on a dashboard or panel. Set format to 'graphite' and provide 'what' for Graphite-format annotations. Classified from the name (create).
Write
create_datasource
Create a datasource in two steps. Called with only the type, it returns the fields to fill in and creates nothing. Called again with the type, a display name in name, and the field values, it creates the datasource; for a type with a field schema, put the values in the fields ... Classified from the name (create).
Write
create_incident
Create a new Grafana incident. Requires title, severity, and room prefix. Allows setting status, labels and custom fields. Creating an incident may notify or page many people. Classified from the name (create).
Write
create_notebook
Create a Grafana notebook with a title and optional tags. Pass cells to start it with Markdown and code cells in document order. Classified from the name (create).
Write
create_snapshot
Create a Grafana snapshot from a full dashboard payload. Supports optional expiration and external snapshot fields. Classified from the name (create).
Write
delete_annotation
Permanently delete an annotation by ID. The annotation cannot be recovered afterwards. Classified from the name (delete).
Destructive
delete_notebook
Delete a Grafana notebook by its UID. This action cannot be undone. Classified from the name (delete).
Destructive
delete_snapshot
Delete a Grafana snapshot by snapshot key. Classified from the name (delete).
Destructive
describe_sql_table annotation disagrees
Describe SQL columns: names, types, and available metadata. BigQuery includes nested field paths and descriptions; schema is the required dataset and database is the project.
Unknown
diff_tempo_traces annotation disagrees
Compare two complete traces. Returns a compact summary and includes the full span-level patch when it is at most 64 KiB. Request trace-patch-v0 only when full details are required; full patches are not size-bounded.
Unknown
generate_deeplink
Generate deeplink URLs for Grafana resources. Supports dashboards (requires dashboardUid or provisioningPreview), panels (requires dashboardUid or provisioningPreview, plus panelId), and Explore queries (requires datasourceUid and optionally queries). For dashboard and panel l... Classified from the description (set).
Write
get_alert_group
Get a specific alert group from Grafana OnCall by its ID. Returns the full alert group details, including the most recent alert and its raw payload when the OnCall API provides them. Alert payloads carry integration-specific fingerprints (for example Sentry's payload.data.even... Classified from the name (get).
Read
get_annotation_tags
Returns annotation tags with optional filtering by tag name. Only the provided filters are applied. Classified from the name (get).
Read
get_annotations
Fetch Grafana annotations using filters such as dashboard UID, time range and tags. Classified from the name (get).
Read
get_current_oncall_users
Get the list of users currently on-call for a specific Grafana OnCall schedule ID. Returns the schedule ID, name, and a list of detailed user objects for those currently on call. Classified from the name (get).
Read
get_dashboard_by_uid
Retrieves the complete dashboard, including panels, variables, and settings, for a specific dashboard identified by its UID. Pass optional version to load a saved snapshot instead of the current dashboard. Saved snapshots are fetched through Grafana's legacy versions API, so '... Classified from the name (get).
Read
get_dashboard_panel_queries
Retrieve panel queries from a Grafana dashboard. Supports all datasource types (Prometheus, Loki, CloudWatch, SQL, etc.), row-nested panels and library panels (resolved from their library element). A library panel that cannot be resolved returns an entry with a warning naming ... Classified from the name (get).
Read
get_dashboard_property
Get specific parts of a dashboard using JSONPath expressions to minimize context window usage. JSONPath targets the dashboard's native schema. Classic v1 paths: '$.title' (title), '$.panels[*].title' (all panel titles), '$.panels[0]' (first panel), '$.templating.list' (variabl... Classified from the name (get).
Read
get_dashboard_summary
Get a compact summary of a dashboard including title, panel count, panel types, variables, and other metadata without the full JSON. Use this for dashboard overview and planning modifications without consuming large context windows. Classified from the name (get).
Read
get_datasource
Retrieves detailed information about a specific datasource by UID or name. Returns the full datasource model, including name, type, URL, access settings, JSON data, and secure JSON field status. Provide either uid or name; uid takes priority if both are given. Classified from the name (get).
Read
get_doc
Fetch a Grafana documentation page. Set outline_only=true to get the heading structure first, then call again with a section name for bounded retrieval. Classified from the name (get).
Read
get_incident
Get a single incident by ID. Returns the full incident details including title, status, severity, labels, custom fields, timestamps, and other metadata. Classified from the name (get).
Read
get_notebook_by_uid
Get a Grafana notebook by its UID. Returns the full notebook resource and its spec, which can be edited and written back. Classified from the name (get).
Read
get_oncall_shift
Get detailed information for a specific Grafana OnCall shift using its ID. A shift represents a designated time period within a schedule when users are actively on-call. Returns the full shift details. Classified from the name (get).
Read
get_panel_image
Render a Grafana dashboard panel, full dashboard or Explore view as a PNG image. Returns the image as base64 encoded data. Requires the Grafana Image Renderer service to be installed. Classified from the name (get).
Read
get_plugin
Check whether a Grafana plugin is installed and retrieve its details (name, version, type, enabled status). Returns installed=false when the plugin is not found. Classified from the name (get).
Read
get_query_examples
Get example queries for a specific datasource type. Provides sample queries with descriptions for Prometheus (PromQL), Loki (LogQL), ClickHouse (SQL with Grafana macros), CloudWatch (metric configurations), InfluxDB (Flux and InfluxQL), and Tempo (TraceQL). Use this to underst... Classified from the name (get).
Read
get_resource_description
List available permissions and assignment capabilities for a Grafana resource type. Classified from the name (get).
Read
get_resource_permissions
List all permissions set on a specific Grafana resource (e.g., dashboard, datasource, folder) by its type and ID. Classified from the name (get).
Read
get_role_assignments
List all assignments for a specific role, showing which users, teams, and service accounts have been assigned this role. Classified from the name (get).
Read
get_role_details
Get detailed information about a specific Grafana role by its UID, including permissions, metadata, and configuration. Classified from the name (get).
Read
get_snapshot
Get a Grafana snapshot by key, including snapshot metadata and dashboard payload. Classified from the name (get).
Read
get_tempo_trace
Retrieve a specific trace by ID. Returns its spans grouped by service and resource, with span attributes, events and links. Classified from the name (get).
Read
get_tempo_traceql_docs
Retrieve TraceQL reference documentation with examples, covering attribute filters, aggregates, structural operators, and metrics queries. Consult this before writing a non-trivial TraceQL query, or after one returns an error or no results. Classified from the name (get).
Read
grafana_api_request annotation disagrees
Make an authenticated HTTP request to the Grafana API.
Unknown
install_plugin
Install a Grafana plugin by its plugin ID. When version is omitted, the tool looks up the latest version and returns it without installing; supplying a version installs that version.
Unknown
list_alert_groups
List alert groups from Grafana OnCall with filtering options. Supports filtering by alert group ID, route ID, integration ID, state (new, acknowledged, resolved, silenced), team ID, time range, labels, and name. For time ranges, use format '{start}_{end}' ISO 8601 timestamp ra... Classified from the name (list).
Read
list_all_roles
List all roles in Grafana. Optionally filter to show only roles that can be delegated by the current user. Returns role details including UID, name, permissions, and metadata. Classified from the name (list).
Read
list_cloud_logging_buckets
List the log buckets in a GCP project, as '<location>/buckets/<name>' (e.g. global/buckets/_Default). Each value is a valid bucketId as-is. Classified from the name (list).
Read
list_cloud_logging_projects
List the GCP project IDs the Google Cloud Logging datasource's credentials can read logs from (at most 100; 'query' narrows the list). Classified from the name (list).
Read
list_cloud_logging_views
List the log views in a log bucket (e.g. _AllLogs, _Default). Each value is a valid viewId for the same bucketId. Classified from the name (list).
Read
list_cloudwatch_dimension_values
List values for a CloudWatch dimension key (e.g. the specific cluster names behind a ClusterName dimension). Requires region. Supports cross-account monitoring via optional accountId parameter. Classified from the name (list).
Read
list_cloudwatch_dimensions
List dimension keys for a CloudWatch metric. Requires region. Supports cross-account monitoring via optional accountId parameter. Classified from the name (list).
Read
list_cloudwatch_log_group_fields
List the fields discovered in a CloudWatch log group, for use in Logs Insights queries. Requires region. Classified from the name (list).
Read
list_cloudwatch_log_groups
List CloudWatch log group names, optionally filtered by name prefix. Returns at most 50 log groups; use prefix to narrow larger accounts. Requires region. Supports cross-account monitoring via optional accountId parameter, which returns log group ARNs. Classified from the name (list).
Read
list_cloudwatch_metrics
List metrics for a CloudWatch namespace. Requires region. Supports cross-account monitoring via optional accountId parameter. Classified from the name (list).
Read
list_cloudwatch_namespaces
List available CloudWatch namespaces (AWS/EC2, AWS/ECS, AWS/RDS, etc.). Requires region. Supports cross-account monitoring via optional accountId parameter. Classified from the name (list).
Read
list_datasources
List all configured datasources in Grafana. Use this to discover available datasources and their UIDs. Supports filtering by type and/or name (case-insensitive substring match) and pagination. Classified from the name (list).
Read
list_graphite_metrics
Discover available metric paths in a Graphite datasource by browsing the metric tree. Returns nodes matching the query pattern, each indicating whether it is a leaf metric (has data) or an expandable branch (has children). Use '*' as a wildcard at any level to enumerate the tr... Classified from the name (list).
Read
list_graphite_tags
List available tag names in a Graphite datasource that uses tag-based metrics. Returns a list of tag name strings (e.g. ["name", "env", "region"]). These tags can be used to build tag-based target expressions (e.g. seriesByTag('name=cpu.load,env=prod')). Optionally filter by a... Classified from the name (list).
Read
list_incident_custom_fields
List the custom fields configured for Grafana incidents, including their type and, for select fields, the options that may be chosen. Classified from the name (list).
Read
list_incidents
List Grafana incidents. Allows filtering by status ('active', 'resolved') and optionally including drill incidents. Returns a preview list with basic details, and custom field values if requested. Classified from the name (list).
Read
list_loki_label_names
Lists all available label/field names (keys) found in logs within a specified Loki or VictoriaLogs datasource and time range. Returns a list of unique label strings (e.g., `["app", "env", "pod"]`). If the time range is not provided, it defaults to the last hour. Optionally nar... Classified from the name (list).
Read
list_loki_label_values
Retrieves all unique values associated with a specific `labelName` within a Loki or VictoriaLogs datasource and time range. Returns a list of string values (e.g., for `labelName="env"`, might return `["prod", "staging", "dev"]`). Useful for discovering filter options. Defaults... Classified from the name (list).
Read
list_notebooks
List Grafana notebooks with their UID, title, tags, cell count and URL. Returns compact summaries without the full spec. Classified from the name (list).
Read
list_oncall_schedules
List Grafana OnCall schedules, optionally filtering by team ID. If a specific schedule ID is provided, retrieves details for only that schedule. Returns a list of schedule summaries including ID, name, team ID, timezone, and shift IDs. Supports pagination. Classified from the name (list).
Read
list_oncall_teams
List teams configured in Grafana OnCall. Returns a list of team objects with their details. Supports pagination. Classified from the name (list).
Read
list_oncall_users
List users from Grafana OnCall. These are OnCall users (separate from Grafana users). Can retrieve all users in the OnCall directory, a specific user by ID, or filter by username. Returns a list of user objects with their details. Supports pagination. Classified from the name (list).
Read
list_prometheus_label_names
List label names in a PromQL-compatible datasource (Prometheus, Thanos, Mimir, Cloud Monitoring, etc.). Allows filtering by series selectors and time range. Classified from the name (list).
Read
list_prometheus_label_values
Gets the values for a specific label name in a PromQL-compatible datasource (Prometheus, Thanos, Mimir, Cloud Monitoring, etc.). Allows filtering by series selectors and time range. Classified from the name (list).
Read
list_prometheus_metric_metadata
List Prometheus metric metadata. Returns metadata about metrics currently scraped from targets. Note: This endpoint is experimental. Classified from the name (list).
Read
list_prometheus_metric_names
Lists metric names in a PromQL-compatible datasource (Prometheus, Thanos, Mimir, Cloud Monitoring, etc.). Filters metric names using the provided regex. Supports pagination (page * limit must not exceed 10000) and an optional time range to restrict results to metrics active wi... Classified from the name (list).
Read
list_provisioning_repositories
List provisioning repositories (e.g. git-sync sources) configured for this Grafana instance. Classified from the name (list).
Read
list_snapshots
List Grafana dashboard snapshots with optional query and result limit filters. Classified from the name (list).
Read
list_sql_databases
List databases, schemas, or catalogs. Athena: omit catalog to list catalogs; set it to list databases. BigQuery: list datasets in database (project), defaulting to datasource config. Classified from the name (list).
Read
list_sql_tables
List SQL tables and available metadata. BigQuery returns table/view names only; schema is the required dataset and database is the project. Classified from the name (list).
Read
list_team_roles
List all roles assigned to one or more teams. Returns a map of team IDs to their assigned roles. Classified from the name (list).
Read
list_teams
Search for Grafana teams by a query string. Returns a list of matching teams with details like name, ID, and URL. Classified from the name (list).
Read
list_tempo_attribute_names
List available attribute names for TraceQL queries. Without a scope (resource, span, etc.) the response can be very large. Classified from the name (list).
Read
list_tempo_attribute_values
List values for a fully scoped attribute name (e.g. resource.service.name). Useful for discovering what values exist for a specific attribute. Classified from the name (list).
Read
list_user_roles
List all roles assigned to one or more users. Returns a map of user IDs to their assigned roles, excluding built-in roles and team-inherited roles. Classified from the name (list).
Read
list_users_by_org
List users in the Grafana organization, optionally filtered by a search query. Results are paginated; the response includes totalCount, page and perPage alongside organization users with details like userid, email, role etc. Classified from the name (list).
Read
query_datasource annotation disagrees
Query any Grafana data source with /api/ds/query queries and return the frames for the Grafana App.
Unknown
query_graphite
Executes a Graphite render API query against a Graphite datasource and returns matching metric series with their datapoints. Supports the full Graphite target expression language including wildcard patterns (e.g. 'servers.web*.cpu.load5'), aggregation functions (e.g. 'sumSerie... Classified from the description (executes).
Destructive
query_graphite_density
Analyses metric data density for one or more Graphite series over a time window.
Unknown
query_loki_logs
Executes a log query against a Loki or VictoriaLogs datasource and returns matching log entries (or metric samples on Loki). Defaults to the last hour, a limit of 10 entries, and 'backward' direction (newest first). The `logql` parameter takes LogQL on Loki and LogsQL on Victo... Classified from the description (executes).
Destructive
query_loki_patterns
Retrieves detected log patterns from a Loki datasource for a given stream selector and time range. Returns a list of patterns, each containing a pattern string, a total count of occurrences, and a detected `level` when available. Patterns help identify common log structures an... Classified from the description (list).
Read
query_loki_stats
Retrieves index-level statistics about log streams matching a given selector within a Loki or VictoriaLogs datasource and time range. Returns an object containing the count of streams, chunks, entries, and total bytes (e.g., `{"streams": 5, "chunks": 50, "entries": 10000, "byt...
Unknown
query_prometheus annotation disagrees
Query a PromQL-compatible datasource (Prometheus, Thanos, Mimir, Cloud Monitoring, etc.) using a PromQL expression. Returns data without opening a chart. Supports instant and range queries. Time: RFC3339 or relative expressions like 'now', 'now-1h'.
Unknown
query_quickwit
Executes a search query against a Quickwit datasource and retrieves matching documents. Supports Lucene query syntax (e.g., 'severity_text:ERROR AND service_name:api') and partial Elasticsearch-compatible Query DSL JSON. The timestamp field is resolved from Quickwit index meta... Classified from the description (executes).
Destructive
query_sql annotation disagrees
Query ClickHouse, Snowflake, Athena, MySQL, PostgreSQL, MSSQL, or BigQuery via Grafana. Supports datasource-specific time macros and template variables. BigQuery requires qualified project.dataset.table references; billing uses the datasource project.
Unknown
query_tempo_metrics
Compute trace-derived metrics using a TraceQL metrics query. The syntax is unlike PromQL. Use type 'instant' for a single value or 'range' for a time series (default). Instant queries over large time ranges may timeout, keep the window under 15 minutes for instant, or use ran...
Unknown
render_notebook_pdf
Export a Grafana notebook as a PDF, the way the notebook's UI export does: the page is rendered by Grafana's image renderer and returned as an embedded application/pdf resource.
Unknown
run_panel_query
Executes one or more dashboard panel queries with optional time range and variable overrides. Accepts an array of panel IDs to query in a single call. Fetches the dashboard, extracts queries from the specified panels, substitutes template variables and Grafana macros ($__range... Classified from the name (run).
Destructive
search_dashboards
Search Grafana dashboards by query and/or folderUid, folderPath, tag, and starred. Returns matching dashboards with title, UID, folder, folder path, tags, and URL. Classified from the name (search).
Read
search_docs
Search Grafana documentation. Returns matching pages with title, URL, description, and product. Call with no query to list available product groups. Classified from the name (search).
Read
search_folders
Search for Grafana folders by a query string. Returns matching folders with details like title, UID, and URL. Classified from the name (search).
Read
search_notebooks
Search Grafana notebooks by title text. Returns matching notebooks with their UID, title, tags and URL. Classified from the name (search).
Read
search_plugin_information
Search the Grafana plugin catalog by keyword, purpose, or partial name (e.g. 'azure monitoring', 'loki', 'database'). Classified from the name (search).
Read
search_tempo_traces
Search for traces using TraceQL queries. Returns each matching trace with its root service, root span name, start time and duration, and the span sets the query matched. Each span lists its ID, start time, duration and the attributes the query returned, as an object mapping at... Classified from the name (search).
Read
update_alert_group
Update the state of a Grafana OnCall alert group: acknowledge, unacknowledge, resolve, or unresolve it by ID. Returns the alert group's resulting OnCall state (one of new, acknowledged, resolved, silenced), or a stateWarning explaining why that state could not be read back aft... Classified from the name (update).
Write
update_annotation annotation disagrees
Updates the provided properties of an annotation by ID. Only fields included in the request are modified; omitted fields are left unchanged. Classified from the name (update).
Write
update_dashboard
Create or update a dashboard. Returns the saved dashboard UID and dashboard link in the 'url' field, using the instance public URL when available. Two modes: (1) Full JSON, provide 'dashboard' for new dashboards or complete replacements. (2) Patch, provide 'uid' + 'operation... Classified from the name (update).
Write
update_datasource
Update non-secret datasource fields by UID in two steps. Called with only the uid, it returns the datasource's field schema and changes nothing. Called with the uid, schemaReviewed=true, and the changed values in the fields map, it applies the update. Omitted fields are preser... Classified from the name (update).
Write
update_incident
Update an existing Grafana incident by ID. Allows changing the status ('active' or 'resolved'), the severity, the title, and custom field values. Only the provided fields are changed. Use this to resolve an incident, to correct its severity or title, or to fill in custom field... Classified from the name (update).
Write
update_notebook annotation disagrees
Update a Grafana notebook by replacing its spec. Send the complete spec, and optionally the resourceVersion it was read at. Classified from the name (update).
Write
validate_provisioning_file
Validate a file in a provisioning repository at a given branch or commit by dry-run applying it. Classified from the description (run).
Destructive

Score

77 of 100 from the four factors. Advisory adjustment 0. Score 77. A factor that was not scored counts as 0 of its full weight.

OpsMCP rubric 2026-11-27.1. Checked 3 Dec 2026.
Factor Points Full weight Status
Tool capability 28 35 Partly scored
Access 9 25 Partly scored
Maintenance 20 20 Scored
Publisher 20 20 Scored

Tool capability

66 read, 14 write, 8 destructive, 12 unknown.

The repository mentions a read-only mode. View the repository.

Access

PartValuePointsWhere this came from
What it can reach unknown unknown unknown
Where it runs hosted remote server 3 of 8 Registry lists remote transport: streamable-http.
Credentials Secret in an environment variable 6 of 7 Registry marked isSecret true for GRAFANA_SERVICE_ACCOUNT_TOKEN, GRAFANA_PASSWORD.

Maintenance

PartValuePoints
Last code change 0 days 8 of 8
Releases 1 days 6 of 6
Issues 360 closed / 443 issues (0.81) 6 of 6

Publisher

PartValuePointsWhere this came from
Who publishes it published by the vendor 8 of 8 GitHub owner 'grafana' is on the vendor allowlist (Grafana Labs).
Official MCP registry Listed 5 of 5 Official registry server io.github.grafana/mcp-grafana (status active).
License Apache-2.0 4 of 4 GitHub SPDX license Apache-2.0.
Stars 3730 2 of 2 3730 GitHub stars.
Repository age 709 days 1 of 1 Repository created 2024-12-24T15:44:23Z.

How the rubric works

Security advisories

Newest offered version 2.5.0 , from GitHub releases. Checked 3 Dec 2026. The listed version before this check was 2.4.0.

Advisory adjustment 0.

No matching advisories were found in GitHub Security Advisories or OSV.

How advisories change a score

Grade history

Date Old score New score Reason What changed Evidence
27 Nov 2026 B, provisional, 78 out of 100 B, provisional, 75 out of 100 Data refresh Data refresh on 2026-11-27. Tool capability points changed from 29 to 26. Checked release v2.4.0, published 2026-11-24T10:01:47Z. Tool counts are 66 read, 14 write, 8 destructive, and 12 unknown, out of 100. Read-only credit is not applied. Public evidence
27 Nov 2026 B, provisional, 75 out of 100 B, provisional, 77 out of 100 Scorer change Scorer 2026-11-27.1. Factor weights unchanged: capability 35, access 25, maintenance 20, publisher 20. Read-only detection now reads up to 500,000 README characters instead of 100,000. Score B 75 to B 77. Read-only credit applied. Documented setting: readOnly:true. Public evidence

All grade changes · How to dispute a grade

What this score does not cover

This score is not a code audit and it is not a human review. It has not been hands-on tested. Nothing on this page is a certification.

Access needed

VariableRequiredSecretDefaultDescription
GRAFANA_URL yes unknown unset URL to your Grafana instance.
GRAFANA_SERVICE_ACCOUNT_TOKEN unknown yes unset Service account token used to authenticate with your Grafana instance.
GRAFANA_USERNAME unknown unknown unset Username to authenticate with your Grafana instance.
GRAFANA_PASSWORD unknown yes unset Password to authenticate with your Grafana instance.
GRAFANA_ORG_ID unknown unknown unset Organization ID for multi-org support. Can also be set via X-Grafana-Org-Id header in SSE/streamable HTTP transports.
GRAFANA_EXTRA_HEADERS unknown unknown unset JSON object of additional HTTP headers to send with all Grafana API requests.
GRAFANA_FORWARD_HEADERS unknown unknown unset Comma-separated list of HTTP header names to forward from the incoming request to Grafana (SSE/streamable-http only). Example: Cookie,X-Session-Id.

Remote MCP endpoints: streamable-http https://mcp.grafana.com/mcp

Maintenance

Archived
no
Last commit
3 Dec 2026 · 5629871
Latest release
v2.5.0 · 2 Dec 2026
Issues
90 open · 370 closed
Stars
3,730
License
Apache-2.0
Repository created
24 Dec 2024

npm and PyPI

npm
No npm package in the registry entry.
PyPI
No PyPI package in the registry entry.
Maintainers
unknown

Install

Source: registry. This is the published command, not a rewritten one.

# requires GRAFANA_URL: URL to your Grafana instance
docker run docker.io/grafana/mcp-grafana:2.0.2

Other Grafana servers

Badge

The SVG is generated for this server. The embed links to this server page.

OpsMCP grade B, 77 out of 100, provisional

Sources for this listing

Official registry server io.github.grafana/mcp-grafana (status active).