Grafana Cloud MCP server
- MCP server
- 71+ callable tools
- 5 capabilities
Overview
Grafana Labs' remotely hosted MCP server that lets external AI agents query and manage data in Grafana Cloud stacks. It covers dashboards, metrics, logs, profiles, SQL data sources, alerting, incidents and OnCall.
Capabilities:
- Search and inspect dashboards, folders and data sources
- Query Prometheus, Loki, Pyroscope and other data sources
- Manage alert rules, incidents and annotations
- View OnCall schedules, shifts and alert groups
- Run Grafana Assistant investigations
Works with
The products your agent can work with through this server.
Tools
The callable functions your agent uses to work with this server.
| Tool | What it does |
|---|---|
search_ | Search for dashboards by query string. |
search_ | Search for folders by query string. |
generate_ | Generate deeplink URLs for dashboards, panels, and Explore queries. |
get_ | Retrieve the complete dashboard JSON by UID. |
get_ | Get a compact summary of a dashboard without the full JSON. |
get_ | Extract specific parts of a dashboard using JSONPath expressions. |
get_ | Retrieve panel queries with template variable substitution. |
update_ | Create or update a dashboard using full JSON or targeted patch operations. |
create_ | Create a Grafana folder. |
list_ | List all configured data sources. |
get_ | Get detailed information about a data source by UID or name. |
list_ | Discover available metrics with regex filtering and pagination. |
list_ | List metadata about currently scraped metrics. |
list_ | List label names with optional series selector and time range filtering. |
list_ | Get values for a specific label. |
query_ | Execute PromQL instant or range queries. |
query_ | Query histogram percentiles. |
list_ | List available label names in logs. |
list_ | Get unique values for a specific label. |
query_ | Execute LogQL queries for log entries or metric values. |
query_ | Get statistics about log streams. |
query_ | Detect and analyze common log patterns. |
list_ | List available label names in profiles. |
list_ | List values for a specific label. |
list_ | List available profile types. |
query_ | Query profiles or metrics from Pyroscope. |
list_ | List available data catalogs. |
list_ | List databases in a catalog. |
list_ | List tables in a database. |
describe_ | Get column names for a table. |
query_ | Execute SQL queries against Athena data sources. |
list_ | List available tables with metadata. |
describe_ | Get column schema for a table. |
query_ | Execute SQL queries against ClickHouse data sources. |
list_ | List available AWS namespaces. |
list_ | List metrics for a namespace. |
list_ | List dimension keys for a metric. |
query_ | Query AWS CloudWatch metrics. |
query_ | Execute Lucene or Query DSL searches against Elasticsearch data sources. |
query_ | Execute InfluxQL or Flux queries against InfluxDB data sources. |
list_ | List available tables with metadata. |
describe_ | Get column schema for a table. |
query_ | Execute SQL queries against Snowflake data sources. |
alerting_ | List, filter, and manage alert rules. |
alerting_ | View alerting routing configuration, notification policies, contact points, and time intervals. |
get_ | Fetch annotations filtered by dashboard UID, time range, or tags. |
get_ | Get annotation tags with optional filtering. |
create_ | Create a new annotation on a dashboard or panel. |
update_ | Update properties of an existing annotation. |
list_ | List incidents with optional status filtering. |
get_ | Get full incident details by ID. |
create_ | Create a new incident. |
add_ | Add a note to an incident’s timeline. |
list_ | List OnCall schedules with optional team filtering. |
get_ | Get detailed shift information. |
get_ | Get users currently on-call for a schedule. |
list_ | List OnCall teams. |
list_ | List OnCall users with optional filtering. |
list_ | List alert groups with filtering by state, team, time range, and labels. |
get_ | Get a specific alert group by ID. |
list_ | List Assistant investigations with optional filtering and pagination. |
list_ | List available Assistant investigation profiles. |
get_ | Get investigation details, lifecycle state, metadata, and report snapshot. |
list_ | List evidence collected for an Assistant investigation. |
get_ | Get the message thread for an Assistant investigation. |
create_ | Start a new Assistant investigation from an external AI agent. |
ask_ | Send a prompt to Grafana Assistant and get the full reply, including tool use and reasoning. |
get_ | Get assertion summary for an entity. |
get_ | Render a dashboard panel as a PNG image. |
describe_ | Retrieve pre-built summaries of service groups including topology, metrics, and dependencies. |
get_ | Get example queries for data source types. |
Installation
Follow the installation guide for supported clients, authentication and required permissions.
Add Grafana Cloud MCP server to Claude Code
Run this in your terminal:
If the server asks you to sign in, run /mcp in Claude Code and follow the browser prompt.
Add Grafana Cloud MCP server to Cursor
Add it with the Add to Cursor button below, or add it to .cursor/mcp.json in your project (~/.cursor/mcp.json for every project):
Add Grafana Cloud MCP server to VS Code
Add it to .vscode/mcp.json in your workspace. VS Code uses servers rather than mcpServers. Or run MCP: Add Server from the Command Palette and choose HTTP.
Add Grafana Cloud MCP server to Codex
Run this in your terminal:
Or add it to ~/.codex/config.toml:
If the server uses OAuth, sign in with codex mcp login grafana-cloud.
Add Grafana Cloud MCP server to Claude
Add it as a custom connector with this URL:
- Open Customize, then Connectors.
- Click + Add, then Add custom connector.
- Name it, paste the URL and click Continue.
- Choose how to sign in, then click Add.
On Team and Enterprise plans, an Owner adds it in Organization settings first, then members connect it.
Add Grafana Cloud MCP server to other clients
For any other client that connects to remote MCP servers over HTTP, use this URL:
Sources
Documentation and source code reviewed on 17 November 2026.