# Connect Better Stack to Your AI Agent (Universal MCP)

> Use your AI to monitor systems, track issues, and manage schedules in Better Stack — and much more.

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

## Key Facts
- Software: Better Stack | Category: Collaboration & Productivity (Better Stack) | Auth: Guided workspace authorization
- Pricing: 100% Free (unlimited users, unlimited software, zero task metering)
- Permissions & Security: Per-person, per-area Off/Read/Write across Monitors and heartbeats, On-call schedules, Status page drafts; 1-click View Only lock; stateless pass-through; zero stored business records
- Connect: https://universalmcp.app/mcp/better-stack | Guide: https://universalmcp.app/mcp/better-stack
- Built by: Alex Myers (Legal entity: Lancaster Agentic LLC; support@lancasteragentic.com)

## Supported Actions (75 actions: 31 Read, 44 Write)
Perform over 70 actions across teams & access, uptime & status pages, incidents & on-call, logs & metrics, account & billing, AI SRE & automation, and cloud & kubernetes. Save hours of work each week by utilizing AI rather than using a traditional app interface.
- **Teams & Access (12):** Audit Account Changes (read), Get Team Member Details (read), List Organization Roles (read), List Team Members (read), List Teams (read), Create Single Sign-On Setup (write), Create Team (write), Create Team Member Invite (write), Delete Team (write), Delete Team Member (write), Update Team Member Role (write), Update Team Settings (write)
- **Uptime & Status Pages (11):** List Status Pages (read), List Uptime Monitors (read), Pull Downtime Report (read), View Failure Screenshot (read), Create Browser Check (write), Create Status Page (write), Create Uptime Monitor (write), Delete Uptime Monitor (write), Post Status Update (write), Update Status Page Component (write), Update Uptime Monitor (write)
- **Incidents & On-Call (10):** Check Current On-Call Owner (read), Get Incident Timeline (read), List Open Incidents (read), Assign Incident Responder (write), Create Escalation Policy (write), Create Incident (write), Create On-Call Schedule (write), Send Phone Call Alert (write), Update Incident Status (write), Update On-Call Schedule (write)
- **Logs & Metrics (8):** Export Log Results (read), Query Metrics (read), Search Logs (read), Track Live Logs (read), Create Dashboard (write), Create Log Source (write), Create Metric Alert (write), Send Log Events (write)
- **Account & Billing (8):** Get Holiday Mode (read), Get Pricing Plans (read), Get Usage Overview (read), Get Usage Per Product (read), Delete Holiday Mode (write), Update Account Phone Number (write), Update Holiday Mode (write), Update Two Factor Settings (write)
- **AI SRE & Automation (8):** Query AI SRE Assistant (read), Assign Read-Only SSH Access (write), Create Internal Report (write), Create Jira Ticket From Incident (write), Create MCP Server Connection (write), Create Micro App (write), Create Outgoing Webhook (write), Create Preview Environment (write)
- **Cloud & Kubernetes (7):** Check Kubernetes Cluster Health (read), List Cloud Servers (read), Create Cloud Server (write), Create Load Balancer (write), Create Managed Database (write), Create Managed Kubernetes Cluster (write), Delete Cloud Server (write)
- **Tracing & Error Tracking (6):** Get Error Root Cause (read), List Application Errors (read), Search Distributed Traces (read), Create Ticket From Error (write), Send Error Events (write), Update Error Status (write)
- **Frontend Monitoring (5):** Compare Frontend Backend Events (read), Find Rage Click Sessions (read), Pull Web Vitals Report (read), Search Session Replays (read), Track Website Analytics (read)

## Example Prompts for Better Stack
- **Monitor health:** "List every monitor in Better Stack with status, last check time, and uptime over the last 30 days."
- **On-call coverage:** "Show who is on call this weekend for each escalation policy and any gaps in the rotation schedule."
- **Incident timeline:** "Summarize the timeline for incident on checkout API monitor mon-3182 with alert and acknowledgment times."
- **Draft status update:** "Draft a public status page update for the checkout incident and hold it for approval before posting."
