# Connect Grafana Labs to Your AI Agent (Universal MCP)

> Use your AI to monitor systems, track issues, and analyze data in Grafana Labs — and much more.

## Quick Connect (CLI / MCP)
- Claude Code: `claude mcp add --transport http grafana-labs https://api.universalmcp.app/mcp/grafana-labs`
- Remote MCP URL (ChatGPT, Claude, Cursor, VS Code): `https://api.universalmcp.app/mcp/grafana-labs` (unified: `https://api.universalmcp.app/mcp`)
- Actions & Discovery: `POST https://universalmcp.app/mcp/directory` (`get_software_actions({ slug: "grafana-labs", query })` & `search_software`); configs: https://universalmcp.app/install.md

## Key Facts
- Software: Grafana Labs | Category: DevOps & IT/Security (Grafana Labs) | Auth: Encrypted workspace API key
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Metrics and dashboards, Logs and traces, Alert and incident changes; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://app.universalmcp.app/connect?system=grafana-labs | Guide: https://universalmcp.app/mcp/grafana-labs
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (8 actions: 6 Read, 2 Write)
Perform 8 actions across metrics, logs, traces, telemetry, investigations, agent observability, and incidents. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Metrics (1):** Query Metrics (read)
- **Logs (1):** Query Logs (read)
- **Traces (1):** Visualize Request Traces (read)
- **Telemetry (1):** Query Telemetry (read)
- **Investigations (1):** Get Root Cause Analysis (read)
- **Agent Observability (1):** Get Agent Evaluation (read)
- **Incidents (1):** Create Incident (write)
- **Integrations (1):** Update Acknowledgment Timeout (write)

## Example Prompts for Grafana Labs
- **Alert triage:** "In Grafana Cloud, list every firing alert rule grouped by stack and the time each one started firing."
- **Latency review:** "Compare checkout-api p95 latency in Grafana Cloud for today against last Monday and flag any regressions."
- **Log investigation:** "Pull Loki error logs from payments-api in Grafana Cloud for the last hour and group them by error message."
- **Guarded incident note:** "Draft an incident summary for the payments-api 5xx spike in Grafana Cloud and wait for my approval before posting."
