# OneUptime MCP server

> Manage incidents, alerts, monitors, status pages, on-call policies, and telemetry in OneUptime from an AI client.

- Repository: https://github.com/OneUptime/oneuptime
- Page: https://hostedmcp.org/servers/oneuptime/mcp
- Official: yes
- Transport: remote
- Stars: 7821
- Latest version: 14.2.0

## Install

### Claude Code

```sh
claude mcp add --transport http mcp https://oneuptime.com/mcp
```

### Cursor (`~/.cursor/mcp.json`)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://oneuptime.com/mcp"
    }
  }
}
```

### VS Code (`.vscode/mcp.json`)

```json
{
  "servers": {
    "mcp": {
      "type": "http",
      "url": "https://oneuptime.com/mcp"
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"mcp","type":"http","url":"https://oneuptime.com/mcp"}'
```

### Codex

```sh
codex mcp add mcp --url https://oneuptime.com/mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.mcp]
url = "https://oneuptime.com/mcp"
```

### Gemini CLI

```sh
gemini mcp add -s user --transport http mcp https://oneuptime.com/mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "mcp": {
      "url": "https://oneuptime.com/mcp",
      "type": "http"
    }
  }
}
```

## Tools (6)

- `add_incident_note`
- `add_alert_note`
- `get_data_table_freshness`
- `get_data_table_lineage`
- `oneuptime_whoami`
- `oneuptime_describe_resource`

## FAQ

### What authentication does the OneUptime MCP server support?

It supports OAuth 2.1 sign-in or a per-request project API key sent via the x-api-key header or a Bearer token. There is no environment-variable API key.

### Which OneUptime resources can an agent manage through MCP?

Agents get full create, get, list, update, delete, and count tools for incidents, alerts, monitors, status pages, on-call policies, teams, and related models.

### Can an agent read OneUptime telemetry data?

Yes, logs, metrics, spans, exceptions, and other telemetry resources are exposed as read-only list and count tools; ingestion happens via OpenTelemetry.

### Are any OneUptime MCP tools usable without a credential?

Yes, the public status page tools and the oneuptime_help, oneuptime_list_resources, and oneuptime_describe_resource helpers work without any credential.
