# Better Stack MCP server

> Query Better Stack incidents, uptime monitors, on-call schedules and telemetry data such as logs, metrics and traces from your AI assistant.

- Listing: https://mcp.tc/i/better-stack
- Connect: use the server's own URL `https://mcp.betterstack.com` (OAuth sign-in at the server); clients connect to it directly. The listing link is a page, not an MCP endpoint.
- Type: remote (Streamable HTTP)
- Auth: OAuth sign-in
- Category: [Observability & Incidents](https://mcp.tc/c/observability)
- Vendor: Better Stack
- Homepage: <https://betterstack.com/docs/getting-started/integrations/mcp>

## About

Connects an AI assistant to Better Stack Incidents and Telemetry data. You can view incidents, look at telemetry sources, check uptime monitors and on-call schedules, and build custom queries over logs, metrics and traces with AI help.

It runs as a hosted remote HTTP endpoint at mcp.betterstack.com. Clients that support OAuth sign in through the browser. Clients without OAuth support can send a Better Stack API token in an Authorization Bearer header, or use the mcp-remote proxy.

## What it can do

- View and investigate incidents
- Browse telemetry sources
- Build custom queries over logs, metrics and traces with AI
- Check uptime monitors and on-call schedules
- Sign in with OAuth or an API token

## Example prompts

- "Show me the open incidents in Better Stack from the last 24 hours."
- "Who is on call right now for the production team?"
- "Query my logs for 500 errors in the past hour."
- "Which uptime monitors are currently failing?"

## Install

### Claude Code

1. Run this in a terminal, in your project folder:

```bash
claude mcp add --transport http better-stack https://mcp.betterstack.com
```

2. Start Claude Code, type `/mcp`, pick **better-stack** and choose **Authenticate**. A browser window opens for the Better Stack sign-in.

Add `--scope user` to make it available in every project, not just this one.

### Claude Desktop

1. Open **Settings → Connectors** and click **Add custom connector**.

2. Name it **Better Stack** and paste this URL:

```url
https://mcp.betterstack.com
```

3. Click **Add**, then **Connect**, and sign in when Better Stack asks.

Claude Desktop’s JSON config file only starts local servers. Remote servers go through Connectors, and connectors you add on claude.ai show up here too.

### claude.ai

1. Open the connector form on claude.ai. This button fills in the name and URL for you:

[Add to claude.ai](<https://claude.ai/customize/connectors?modal=add-custom-connector&connectorName=Better%20Stack&connectorUrl=https%3A%2F%2Fmcp.betterstack.com>) (opens connector settings)

2. Check that the URL reads `https://mcp.betterstack.com` and click **Add**.

3. Click **Connect** and sign in when Better Stack asks.

Free plans allow one custom connector. On Team and Enterprise plans an owner adds it under **Organization settings → Connectors**.

### ChatGPT

1. On chatgpt.com, open **Settings → Security and login** and turn on **Developer mode**.

2. Go to `chatgpt.com/plugins` and click **+** to create an app for a remote MCP server.

3. Paste `https://mcp.betterstack.com` as the server URL and choose **OAuth**. ChatGPT sends you to Better Stack to sign in.

Developer mode is available on the web for Plus, Pro, Business, Enterprise and Education accounts.

### Cursor

[Add to Cursor](<https://cursor.com/install-mcp?name=better-stack&config=eyJ1cmwiOiJodHRwczovL21jcC5iZXR0ZXJzdGFjay5jb20ifQ%3D%3D>) (opens Cursor)

Or add it by hand to `~/.cursor/mcp.json` (all projects) or `.cursor/mcp.json` (this project):

`mcp.json`:

```json
{
  "mcpServers": {
    "better-stack": {
      "url": "https://mcp.betterstack.com"
    }
  }
}
```

Cursor shows **Needs login** next to the server. Click it to sign in.

### VS Code

[Install in VS Code](<https://vscode.dev/redirect/mcp/install?name=better-stack&config=%7B%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.betterstack.com%22%7D>) (opens VS Code)

Or from a terminal:

```bash
code --add-mcp '{"name":"better-stack","type":"http","url":"https://mcp.betterstack.com"}'
```

Or commit it to the repo in `.vscode/mcp.json`:

`.vscode/mcp.json`:

```json
{
  "servers": {
    "better-stack": {
      "type": "http",
      "url": "https://mcp.betterstack.com"
    }
  }
}
```

VS Code asks you to sign in the first time the server starts.

### Devin Desktop

1. Add it to `~/.config/devin/mcp_config.json` (macOS and Linux) or `%APPDATA%\devin\mcp_config.json` (Windows):

`mcp_config.json`:

```json
{
  "mcpServers": {
    "better-stack": {
      "serverUrl": "https://mcp.betterstack.com"
    }
  }
}
```

2. Refresh the MCP server list in Cascade and sign in when asked.

Devin Desktop is the new name for Windsurf. It reads `serverUrl` (or `url`) for remote servers.

### Codex

```bash
codex mcp add better-stack --url https://mcp.betterstack.com
codex mcp login better-stack
```

Or edit `~/.codex/config.toml` directly:

`config.toml`:

```toml
[mcp_servers.better-stack]
url = "https://mcp.betterstack.com"
```

### Gemini CLI

```bash
gemini mcp add --transport http better-stack https://mcp.betterstack.com
```

Then, inside Gemini CLI, run `/mcp auth better-stack` to sign in.

This adds it to the current project. Add `-s user` to use it everywhere.

### Any client

Most clients accept this shape. Some name the URL field differently: `serverUrl` in Devin Desktop, `httpUrl` in Gemini CLI’s settings file.

```json
{
  "mcpServers": {
    "better-stack": {
      "type": "http",
      "url": "https://mcp.betterstack.com"
    }
  }
}
```

Zed puts servers under `context_servers` in its settings. Cline needs `"type": "streamableHttp"`, or it assumes SSE.

Client only starts local servers? Bridge it with `npx -y mcp-remote https://mcp.betterstack.com`.

## Details

- Last checked: 2026-10-03 (reachable, asks for credentials)
- Listed: 2026-10-03
- Updated: 2026-10-03

---
Source: https://mcp.tc/i/better-stack (mcp.tc is an independent directory, not affiliated with this server's publisher). Corrections: https://mcp.tc/report
