Connect Claude Code
Prerequisites
Section titled “Prerequisites”- Claude Code installed (current stable)
- An
umk_live_API key from app.uptimemonitoring.com — see Authentication
Connect
Section titled “Connect”Add the UptimeMonitoring remote HTTP MCP server with your API key as a Bearer header:
claude mcp add --transport http uptimemonitoring https://api.uptimemonitoring.com/mcp \ --header "Authorization: Bearer umk_live_..."Replace umk_live_... with your actual API key.
OAuth alternative
Section titled “OAuth alternative”Omit the --header flag and run /mcp inside Claude Code — Claude Code will open your browser to authenticate via OAuth and store the access token automatically.
Verify
Section titled “Verify”In Claude Code, type /mcp and confirm uptimemonitoring appears with status connected. Then ask:
list my monitors
You should see a tool call to list_monitors and a list of your monitors (or an empty result if you don’t have any yet).
Common errors
Section titled “Common errors”| Symptom | Cause | Fix |
|---|---|---|
401 Unauthorized | Key is wrong, missing, or not umk_live_-prefixed | Confirm the key from Authentication starts with umk_live_ and is pasted in full |
Tools missing after /mcp | MCP server registered but Claude Code hasn’t reloaded | Restart Claude Code fully |
| Connection refused / DNS error | Wrong host in the server URL | The endpoint is https://api.uptimemonitoring.com/mcp, not the marketing host |