• TRIAGE
  • DETAILS
  • RESPONSE
  • HUMAN

How to investigate service incidents with your AI

Connect Better Stack to your agent to pull real-time outage data and find who is handling the response.

Ask AI about this page

Short answer

How can I investigate service incidents with my AI?

Your agent pulls recent outage logs and identifies the current on-call engineer. You get a clear picture of what broke and who to contact immediately.

Incident outcomes.

Where your data lands.

Your agent handles the data retrieval so you can focus on the fix.

TRIAGE

Identify active outages

The AI pulls a list of recent service disruptions. You see exactly what is currently failing.

DETAILS

Deep dive into errors

Get specific technical details for a particular incident. This helps you understand the root cause without manual searching.

RESPONSE

Find the on-call engineer

The agent identifies which person is responsible for the current shift. You know exactly who to ping for updates.

HUMAN

Manual intervention

The AI provides the data, but you still make the final call on how to resolve the issue or escalate the alert.

The workflow

What your AI does when an incident occurs.

The agent acts as a bridge between your monitoring data and your chat interface.

  1. Scan for outages

    The agent looks through your recent service history to find any active or recent problems.

    list_incidents
  2. Analyze specific errors

    Once you pick an issue, the agent pulls the full context and error details for that specific event.

    get_incident
  3. Locate the responder

    The agent checks the current rotation to see who is active right now.

    list_on_calls
  4. Summarize findings

    The agent combines the incident data and the on-call info into a single report for you.

    list_incidentsget_incidentlist_on_calls

Try it

Copy these to start.

Use these prompts to trigger the Better Stack tools.

Starting points

These are basic prompts. Swap out the specific incident IDs or service names as needed.

Better Stack Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_QAa4ho1S8q5tWsBBJcqMpbW32eNjsNQvGSQMv2ng/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Better Stack capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "better-stack-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_QAa4ho1S8q5tWsBBJcqMpbW32eNjsNQvGSQMv2ng/mcp"
    }
  }
}
Copy into chat04
  • List all recent incidents in Better Stack.

  • Get the details for incident ID 12345.

  • Who is the on-call engineer right now?

  • Show me the latest incident and tell me who is on call to handle it.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Better Stack once, then ask.

One click connects your Better Stack account to your agent. Your credentials stay encrypted and secure.

Connect Better Stack to your AI

FAQ

How the incident investigation works

  • 01

    Can the AI fix the incident for me?

    No. The AI can only read incident data and identify the on-call person. You must perform the actual fix.

  • 02

    Can the AI change the on-call schedule?

    No. The tools only allow the agent to read the current schedule, not modify it.

  • 03

    How does the AI know which incident to look at?

    You can either ask for a list of all recent incidents or provide a specific incident ID for the agent to pull.

  • 04

    Does the AI have access to my full Better Stack account?

    The AI only has access to the specific data provided by the tools in this MCP.

  • 05

    Can I use this with any AI client?

    Yes, as long as the client supports the Model Context Protocol (MCP).

  • More questions about Better Stack? The Connector page answers them. See everything the Better Stack Connector can do

Connect Better Stack to Claude, Cursor, ChatGPT & more