[Home](/index.md) › [MCP servers](/mcp.md) › Grafana Cloud MCP server

# Grafana Cloud MCP server

MCP server

- 71+ callable tools
- 5 capabilities

[Installation guide](https://grafana.com/docs/grafana-cloud/ai-tools/mcp-servers/cloud-mcp)

## 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.

- [Grafana Cloud](/tools/grafana-cloud.md): Managed observability platform

## Tools

The callable functions your agent uses to work with this server.

### `search_dashboards`

Search for dashboards by query string.

### `search_folders`

Search for folders by query string.

### `generate_deeplink`

Generate deeplink URLs for dashboards, panels, and Explore queries.

### `get_dashboard_by_uid`

Retrieve the complete dashboard JSON by UID.

### `get_dashboard_summary`

Get a compact summary of a dashboard without the full JSON.

### `get_dashboard_property`

Extract specific parts of a dashboard using JSONPath expressions.

### `get_dashboard_panel_queries`

Retrieve panel queries with template variable substitution.

### `update_dashboard`

Create or update a dashboard using full JSON or targeted patch operations.

### `create_folder`

Create a Grafana folder.

### `list_datasources`

List all configured data sources.

### `get_datasource`

Get detailed information about a data source by UID or name.

### `list_prometheus_metric_names`

Discover available metrics with regex filtering and pagination.

### `list_prometheus_metric_metadata`

List metadata about currently scraped metrics.

### `list_prometheus_label_names`

List label names with optional series selector and time range filtering.

### `list_prometheus_label_values`

Get values for a specific label.

### `query_prometheus`

Execute PromQL instant or range queries.

### `query_prometheus_histogram`

Query histogram percentiles.

### `list_loki_label_names`

List available label names in logs.

### `list_loki_label_values`

Get unique values for a specific label.

### `query_loki_logs`

Execute LogQL queries for log entries or metric values.

### `query_loki_stats`

Get statistics about log streams.

### `query_loki_patterns`

Detect and analyze common log patterns.

### `list_pyroscope_label_names`

List available label names in profiles.

### `list_pyroscope_label_values`

List values for a specific label.

### `list_pyroscope_profile_types`

List available profile types.

### `query_pyroscope`

Query profiles or metrics from Pyroscope.

### `list_athena_catalogs`

List available data catalogs.

### `list_athena_databases`

List databases in a catalog.

### `list_athena_tables`

List tables in a database.

### `describe_athena_table`

Get column names for a table.

### `query_athena`

Execute SQL queries against Athena data sources.

### `list_clickhouse_tables`

List available tables with metadata.

### `describe_clickhouse_table`

Get column schema for a table.

### `query_clickhouse`

Execute SQL queries against ClickHouse data sources.

### `list_cloudwatch_namespaces`

List available AWS namespaces.

### `list_cloudwatch_metrics`

List metrics for a namespace.

### `list_cloudwatch_dimensions`

List dimension keys for a metric.

### `query_cloudwatch`

Query AWS CloudWatch metrics.

### `query_elasticsearch`

Execute Lucene or Query DSL searches against Elasticsearch data sources.

### `query_influxdb`

Execute InfluxQL or Flux queries against InfluxDB data sources.

### `list_snowflake_tables`

List available tables with metadata.

### `describe_snowflake_table`

Get column schema for a table.

### `query_snowflake`

Execute SQL queries against Snowflake data sources.

### `alerting_manage_rules`

List, filter, and manage alert rules.

### `alerting_manage_routing`

View alerting routing configuration, notification policies, contact points, and time intervals.

### `get_annotations`

Fetch annotations filtered by dashboard UID, time range, or tags.

### `get_annotation_tags`

Get annotation tags with optional filtering.

### `create_annotation`

Create a new annotation on a dashboard or panel.

### `update_annotation`

Update properties of an existing annotation.

### `list_incidents`

List incidents with optional status filtering.

### `get_incident`

Get full incident details by ID.

### `create_incident`

Create a new incident.

### `add_activity_to_incident`

Add a note to an incident’s timeline.

### `list_oncall_schedules`

List OnCall schedules with optional team filtering.

### `get_oncall_shift`

Get detailed shift information.

### `get_current_oncall_users`

Get users currently on-call for a schedule.

### `list_oncall_teams`

List OnCall teams.

### `list_oncall_users`

List OnCall users with optional filtering.

### `list_alert_groups`

List alert groups with filtering by state, team, time range, and labels.

### `get_alert_group`

Get a specific alert group by ID.

### `list_investigations`

List Assistant investigations with optional filtering and pagination.

### `list_investigation_profiles`

List available Assistant investigation profiles.

### `get_investigation`

Get investigation details, lifecycle state, metadata, and report snapshot.

### `list_investigation_evidence`

List evidence collected for an Assistant investigation.

### `get_investigation_thread`

Get the message thread for an Assistant investigation.

### `create_investigation`

Start a new Assistant investigation from an external AI agent.

### `ask_assistant`

Send a prompt to Grafana Assistant and get the full reply, including tool use and reasoning.

### `get_assertions`

Get assertion summary for an entity.

### `get_panel_image`

Render a dashboard panel as a PNG image.

### `describe_infrastructure`

Retrieve pre-built summaries of service groups including topology, metrics, and dependencies.

### `get_query_examples`

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:

```sh
claude mcp add --transport http grafana-cloud https://mcp.grafana.com/mcp
```

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 to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=grafana-cloud&config=eyJ1cmwiOiJodHRwczovL21jcC5ncmFmYW5hLmNvbS9tY3AifQ%3D%3D)

```json
{
  "mcpServers": {
    "grafana-cloud": {
      "url": "https://mcp.grafana.com/mcp"
    }
  }
}
```

### 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.

```json
{
  "servers": {
    "grafana-cloud": {
      "type": "http",
      "url": "https://mcp.grafana.com/mcp"
    }
  }
}
```

### Add Grafana Cloud MCP server to Codex

Run this in your terminal:

```sh
codex mcp add grafana-cloud --url https://mcp.grafana.com/mcp
```

Or add it to `~/.codex/config.toml`:

```toml
[mcp_servers.grafana-cloud]
url = "https://mcp.grafana.com/mcp"
```

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:

```
https://mcp.grafana.com/mcp
```

1. Open Customize, then Connectors.
2. Click + Add, then Add custom connector.
3. Name it, paste the URL and click Continue.
4. 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:

```
https://mcp.grafana.com/mcp
```

[Read the installation guide](https://grafana.com/docs/grafana-cloud/ai-tools/mcp-servers/cloud-mcp)

## Sources

Documentation and source code reviewed on 17 November 2026.

- [grafana.com/docs/grafana-cloud/ai-tools/mcp-servers/cloud-mcp](https://grafana.com/docs/grafana-cloud/ai-tools/mcp-servers/cloud-mcp)
