Grafana Cloud Official Remote MCP Server
Grafana's hosted MCP (mcp.grafana.com/mcp) exposes dashboards, datasources, Prometheus/Loki queries and incident management to agents over OAuth 2.1.
- Provider
- Grafana Labs โ
- Source
- https://github.com/grafana/mcp-grafana โ
- Categories
- โ๏ธ Cloud, Infrastructure & DevOps
ไธญๆ็ฎไป
Grafana ๅฎๆน่ฟ็จ MCP ๆๅกๅจ๏ผGrafana Cloud๏ผใAI ไปฃ็ๅฏ้่ฟ OAuth ๆ็ดขไปช่กจๆฟใๆฅ่ฏข Prometheus/Loki ๆฐๆฎๆบๅนถ็ฎก็ไบไปถใ
Maintainer of Grafana Cloud? Claim or update this listing โ
Or add to ~/.cursor/mcp.json:
{
"mcpServers": {
"grafana": {
"url": "https://mcp.grafana.com/mcp"
}
}
}claude mcp add --transport http grafana https://mcp.grafana.com/mcp
Or add to .vscode/mcp.json:
{
"servers": {
"grafana": {
"type": "http",
"url": "https://mcp.grafana.com/mcp"
}
}
}- Open Settings โ Connectors (Integrations) โ Add Custom Connector.
- Paste the endpoint URL:
https://mcp.grafana.com/mcp - Complete the browser OAuth 2.1 login flow when prompted.
Bridge the remote endpoint into stdio with mcp-remote in claude_desktop_config.json:
{
"mcpServers": {
"grafana": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://mcp.grafana.com/mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"grafana": {
"serverUrl": "https://mcp.grafana.com/mcp"
}
}
}Add to ~/.kiro/settings/mcp.json (or .kiro/settings/mcp.json in your workspace), then reopen Kiro's Agent panel to pick up the server:
{
"mcpServers": {
"grafana": {
"url": "https://mcp.grafana.com/mcp"
}
}
}Add to ~/.codex/config.toml โ Codex reads remote HTTP servers from [mcp_servers.*] tables:
[mcp_servers.grafana] url = "https://mcp.grafana.com/mcp"
Add to cline_mcp_settings.json (Cline โ MCP Servers โ Configure), or paste it via Cline's MCP marketplace file:
{
"mcpServers": {
"grafana": {
"type": "streamableHttp",
"url": "https://mcp.grafana.com/mcp"
}
}
}Add to ~/.gemini/settings.json under mcpServers โ httpUrl for Streamable HTTP, url for legacy SSE:
{
"mcpServers": {
"grafana": {
"httpUrl": "https://mcp.grafana.com/mcp"
}
}
}๐งฐ Grafana Cloud MCP Tools & Schema (47)
| Tool | Safety | Description | Parameters |
|---|---|---|---|
| search_dashboards ~34 tok | ๐ข Read | Search Grafana dashboards by title or tag. | โ |
| get_dashboard_by_uid ~33 tok | ๐ข Read | Get a dashboard's full JSON model. | โ |
| get_dashboard_summary ~34 tok | ๐ข Read | Get a compact summary of a dashboard. | โ |
| get_dashboard_property ~38 tok | ๐ข Read | Extract a specific JSONPath value from a dashboard. | โ |
| update_dashboard ~33 tok | ๐ Write | Create or update a Grafana dashboard. | โ |
| get_dashboard_panel_queries ~35 tok | ๐ข Read | Get queries used by dashboard panels. | โ |
| list_datasources ~30 tok | ๐ข Read | List configured datasources. | โ |
| get_datasource_by_uid ~31 tok | ๐ข Read | Get a datasource by UID. | โ |
| get_datasource_by_name ~31 tok | ๐ข Read | Get a datasource by name. | โ |
| query_prometheus ~31 tok | ๐ข Read | Query a Prometheus datasource. | โ |
| list_prometheus_metric_names ~34 tok | ๐ข Read | List Prometheus metric names. | โ |
| list_prometheus_metric_metadata ~35 tok | ๐ข Read | List Prometheus metric metadata. | โ |
| list_prometheus_label_names ~33 tok | ๐ข Read | List Prometheus label names. | โ |
| list_prometheus_label_values ~35 tok | ๐ข Read | List values of a Prometheus label. | โ |
| query_loki_logs ~32 tok | ๐ข Read | Query logs from a Loki datasource. | โ |
| list_loki_label_names ~30 tok | ๐ข Read | List Loki label names. | โ |
| list_loki_label_values ~32 tok | ๐ข Read | List values of a Loki label. | โ |
| query_loki_stats ~30 tok | ๐ข Read | Query Loki index statistics. | โ |
| list_incidents ~29 tok | ๐ข Read | List Grafana incidents. | โ |
| create_incident ~30 tok | ๐ Write | Create a Grafana incident. | โ |
| add_activity_to_incident ~34 tok | ๐ Write | Add an activity note to an incident. | โ |
| resolve_incident ~30 tok | ๐ Write | Resolve a Grafana incident. | โ |
| list_alert_rules ~30 tok | ๐ข Read | List Grafana alert rules. | โ |
| get_alert_rule_by_uid ~31 tok | ๐ข Read | Get an alert rule by UID. | โ |
| create_alert_rule ~31 tok | ๐ Write | Create a Grafana alert rule. | โ |
| update_alert_rule ~31 tok | ๐ Write | Update a Grafana alert rule. | โ |
| delete_alert_rule ~31 tok | ๐ด Destructive | Delete a Grafana alert rule. | โ |
| list_contact_points ~31 tok | ๐ข Read | List alert contact points. | โ |
| create_contact_point ~32 tok | ๐ Write | Create an alert contact point. | โ |
| list_oncall_schedules ~32 tok | ๐ข Read | List Grafana OnCall schedules. | โ |
| get_oncall_shift ~28 tok | ๐ข Read | Get an OnCall shift. | โ |
| get_current_oncall_users ~33 tok | ๐ข Read | List users currently on call. | โ |
| list_teams ~27 tok | ๐ข Read | List Grafana teams. | โ |
| list_users_by_org ~31 tok | ๐ข Read | List users in the organization. | โ |
| query_tempo_search ~29 tok | ๐ข Read | Search Tempo traces. | โ |
| query_tempo_trace ~30 tok | ๐ข Read | Fetch a Tempo trace by ID. | โ |
| list_pyroscope_profile_types ~34 tok | ๐ข Read | List Pyroscope profile types. | โ |
| list_pyroscope_label_names ~33 tok | ๐ข Read | List Pyroscope label names. | โ |
| list_pyroscope_label_values ~33 tok | ๐ข Read | List Pyroscope label values. | โ |
| fetch_pyroscope_profile ~34 tok | ๐ข Read | Fetch a Pyroscope flamegraph profile. | โ |
| get_current_time ~32 tok | ๐ข Read | Get the current Grafana server time. | โ |
| search_folders ~29 tok | ๐ข Read | Search Grafana folders. | โ |
| create_folder ~29 tok | ๐ Write | Create a Grafana folder. | โ |
| list_sift_investigations ~32 tok | ๐ข Read | List Sift investigations. | โ |
| get_sift_investigation ~33 tok | ๐ข Read | Get a Sift investigation result. | โ |
| get_sift_analysis ~31 tok | ๐ข Read | Get a Sift analysis finding. | โ |
| get_assertions_summary ~34 tok | ๐ข Read | Get service health assertions summary. | โ |
๐ก๏ธ Security, Quality & Context Token Audit
Every tool definition (name + description + input schema) is injected into your LLMโs context on every request โ Estimate per-call LLM token cost โ
- No prompt-injection or hidden-character anomalies detected in tool descriptions
- Streamable HTTP primary endpoint (current 2025-03-26 transport)
- OAuth 2.1 with PKCE S256 enforced
- Official first-party endpoint operated by the vendor
- Manually verified by RemoteMCP.net
๐ OAuth 2.1 & Security
- Auth type
- OAuth 2.1
- Dynamic Client Registration
- โ Supported
- PKCE S256
- โ Supported
- Protected resource metadata
- https://mcp.grafana.com/.well-known/oauth-protected-resource (expected location)
๐งฉ Recommended Agent Skills
๐ Grafana Cloud MCP Endpoint Overview & Security Guide
Grafana Cloud MCP โ Remote MCP Server
Grafana's remote MCP is the same toolset as the open-source mcp-grafana server but hosted โ agents can search dashboards, run PromQL and LogQL, page on-call schedules and declare incidents, all scoped by Grafana Cloud RBAC.
Official Grafana Cloud MCP Endpoint & Transport Architecture
- Endpoint URL:
https://mcp.grafana.com/mcp - Transport: Streamable HTTP
Streamable HTTP is the current MCP transport (2025-03-26 spec): a single URL accepts JSON-RPC POSTs and may stream responses over SSE, so one endpoint serves both simple and streaming workloads. Grafana Cloud MCP does not publish a separate legacy SSE endpoint, so your client must speak Streamable HTTP.
Authentication, Scopes & Permission Boundaries
Grafana Cloud MCP uses OAuth 2.1 โ the first request returns a 401 Unauthorized challenge with a WWW-Authenticate header pointing at the authorization metadata. Compliant clients (Cursor, Claude, VS Code, ChatGPT) handle the whole flow โ PKCE and Dynamic Client Registration, so no manual client setup is needed โ and simply open a browser consent screen.
All 6 cataloged tools are read-only โ Grafana Cloud MCP cannot mutate your account data, which makes it safe to connect broadly.
Common Troubleshooting & Connection Tips
- 401 Unauthorized on connect โ that's expected; the server is OAuth-protected. Let your client complete the browser consent flow, or inspect the endpoint in our OAuth debugger to see the exact
WWW-Authenticatechallenge. - "Session expired" / stale
Mcp-Session-Idโ just re-sendinitialize; stateless clients can ignore session headers entirely. - Backed by the open-source grafana/mcp-grafana codebase.
- Datasource access depends on your Grafana Cloud stack's permissions.
๐ How to Connect
- Copy the Grafana Cloud MCP endpoint URLThe remote endpoint is https://mcp.grafana.com/mcp.
- Add it to your MCP clientClaude Code:
claude mcp add --transport http grafana https://mcp.grafana.com/mcp. Cursor: add"grafana": { "url": "https://mcp.grafana.com/mcp" }undermcpServersin ~/.cursor/mcp.json. Other clients work similarly. - Complete the OAuth consentOn first connection your client opens a Grafana Labs consent screen in the browser. Approve it to grant access; the token is stored by the client and refreshed automatically.
- Verify with the online inspectorPaste https://mcp.grafana.com/mcp into remotemcp.net/inspector, run initialize and tools/list, and confirm Grafana Cloud MCP's 6 tools respond.
โ FAQ
What is the Grafana Cloud MCP remote MCP endpoint?
The primary endpoint is https://mcp.grafana.com/mcp. It is an official first-party server operated by Grafana Labs, speaking the Streamable HTTP transport.
How do I authenticate with Grafana Cloud MCP?
Grafana Cloud MCP uses OAuth 2.1. When your client first connects it receives a 401 challenge, discovers the authorization server via RFC 9728 metadata, and opens a browser consent screen. Dynamic Client Registration is supported, so compliant clients register themselves automatically.
I'm getting a 401 Unauthorized from Grafana Cloud MCP โ what's wrong?
A 401 means your client hasn't completed (or has lost) the OAuth authorization. Remove and re-add the server in your client to restart the consent flow, and check that your browser session can reach the provider's login page. If the 401 arrives without a WWW-Authenticate header, run it through our OAuth debugger to see what's missing.
Which MCP clients work with Grafana Cloud MCP?
Any client that supports remote MCP servers: Cursor, Claude Code (`claude mcp add --transport http grafana https://mcp.grafana.com/mcp`), VS Code Copilot, ChatGPT connectors, Windsurf, Kiro (`~/.kiro/settings/mcp.json`), and Claude Desktop via the `mcp-remote` bridge.
What tools does Grafana Cloud MCP expose?
6 tools are cataloged in this directory โ including `search_dashboards`, `list_datasources`, `query_prometheus` and more. Use our online inspector to fetch the live tool list straight from the endpoint.
๐ Connect Guides
โ๏ธ Featured in Comparisons
๐ Embed Status Badge in README
Related Servers
AWS Knowledge's hosted remote MCP server. AWS's fully-managed public knowledge MCP gives agents access to the latest AWS documentation, API references, What's New posts and architectural guidance across all AWS services. It is public and unauthenticated โ connect and call tools immediately.
Cloudflare's free, authless documentation MCP server. Agents can search the full Cloudflare docs corpus โ no account or token required.
Vercel's official remote MCP server. Agents can list deployments, fetch build logs and search Vercel docs with a token-authorized connection.
Sentry's hosted MCP server for error monitoring. Agents can inspect issues, search events and resolve regressions directly from your IDE.