Oh Dear
Docs/Tools & SDKs

MCP server

The Oh Dear MCP server lets AI assistants query your monitoring data and manage maintenance windows directly through the Model Context Protocol. Ask questions about your monitors, uptime, broken links, DNS, performance, sitemaps, and more, in natural language.

Connect #

Add this URL to your AI client as an MCP server (or "Custom Connector"):

https://ohdear.app/mcp

The client will redirect you to Oh Dear. You log in (if you aren't already), pick which teams to share, and choose which permissions to grant. After approving, you're bounced back to your client and the connection is live.

The connection appears under Connected AI assistants, where you can revoke it any time.

Claude.ai (web) #

In Claude.ai, open Settings, Custom Connectors, and add the URL above. Claude.ai walks you through the OAuth approval.

Claude Code #

claude mcp add --transport http ohdear https://ohdear.app/mcp

Claude Code opens the OAuth flow on first use.

Claude Desktop, Cursor, VS Code, others #

These clients reach our server through mcp-remote, which handles OAuth automatically. Example for Claude Desktop:

{
  "mcpServers": {
    "ohdear": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://ohdear.app/mcp"]
    }
  }
}

Save the file and restart Claude Desktop. The first request opens a browser window for OAuth approval; after that, the token is stored locally and reused.

Permissions #

The consent screen offers two scopes:

  • Read access (always granted): read your monitors, uptime, broken links, DNS, performance, sitemaps, cron checks, SSL certificates, existing maintenance windows, tag groups, and the notification destinations configured at team, tag, monitor, and tag-group level.
  • Write access (opt-in): create, update, and delete monitors, monitor settings, status pages, recurring maintenance windows, and tag groups with their notification destinations.

You can grant access to one or more teams in a single approval. Tools take a team_id argument when more than one is granted.

What you can do #

Examples:

  • "Show me all my Oh Dear monitors"
  • "Which monitors have issues right now?"
  • "Get the details for monitor 12345"
  • "What's the uptime for example.com over the last 24 hours?"
  • "Are there any broken links on example.com?"
  • "Show DNS history for example.com"
  • "What are the latest Lighthouse scores?"
  • "Show recurring maintenance periods for example.com"
  • "Create a weekly maintenance window for Mondays at 4am"
  • "Add a new monitor for https://example.com with broken-link checks"
  • "Rename the monitor for example.com to 'Marketing site'"
  • "Enable the Lighthouse check on example.com without touching its other checks"
  • "Delete the monitor for old-site.com"
  • "Group the 'client-acme' tag and send its alerts to [email protected]"
  • "List my tag groups and where their notifications go"
  • "Which email addresses get alerts for example.com?"
  • "Show the notification destinations for the 'production' tag"
  • "Change the alert types on the [email protected] tag-group destination to uptime only"
  • "Treat 401 responses as healthy for the staging monitor"

Manage connections #

Visit Connected AI assistants to see every AI assistant connected via OAuth, when each was last used, and revoke any of them.

Was this page helpful?

Feel free to reach out via [email protected] or on X via @OhDearApp if you have any other questions. We'd love to help!