MCP server
Keybeat runs a remote Model Context Protocol server so AI agents can manage monitors and investigate failures directly.
- URL:
https://mcp.keybeat.dev/mcp - Transport: streamable HTTP
- Auth: OAuth 2.1, approved once by a human in the browser
Add it to Claude Code
claude mcp add --transport http keybeat https://mcp.keybeat.dev/mcpThe first time Claude Code uses a Keybeat tool, it opens your browser at app.keybeat.dev. Log in, check the app name and where the access will be sent, pick the organization the agent should work in and approve. The approval gives full API access to that organization, including billing. Claude Code stores the OAuth token, and from then on the tools work without prompting. You can check the connection with /mcp inside Claude Code. The Claude Code plugin installs the server together with the Keybeat skill.
To make the server available in every project rather than only the current one, add --scope user:
claude mcp add --transport http --scope user keybeat https://mcp.keybeat.dev/mcpOther MCP clients
Any client that supports remote MCP servers over HTTP with OAuth can connect with the URL https://mcp.keybeat.dev/mcp. The server supports dynamic client registration and PKCE, so no client id needs to be configured.
If your client cannot do OAuth, it can send an API key instead:
Authorization: Bearer kb_...For example, in Claude Code:
claude mcp add --transport http keybeat https://mcp.keybeat.dev/mcp \
--header "Authorization: Bearer $KEYBEAT_API_KEY"Tools
The tools are thin wrappers over the REST API, so they follow the same rules, limits and billing behavior.
| Tool | What it does |
|---|---|
whoami | The current identity, organization, plan, limits and usage. |
list_monitors | All monitors with state and last run summary. |
get_monitor | One monitor by id or slug. |
upsert_monitor | Create or update a monitor by slug, with name, script and interval. enabled, alert_channel_ids and on_status_page keep their current values when left out (new monitors start enabled). |
delete_monitor | Delete a monitor and its history. |
pause_monitor | Pause scheduled runs. |
resume_monitor | Resume a paused monitor. |
set_monitor_env | Set or unset encrypted environment variables on a monitor. |
validate_script | Static checks of a spec: parses, has a test, within size limit, imports only @playwright/test, otpauth and Node built-ins. |
run_monitor | Start an on-demand run of a saved monitor and wait for the result. |
list_runs | Run history for a monitor, optionally filtered by status. |
get_run | Full run detail: steps, error, logs and artifact URLs. |
get_monitor_stats | Uptime and p50 and p95 durations per day and per region. |
list_incidents | Incidents, optionally only open ones or for one monitor. |
list_alert_channels | The organization's alert channels. |
create_alert_channel | Add an email, webhook or SMS channel. |
get_billing | Plan, subscription items, next invoice estimate and limits. |
get_status_page | The organization's status page settings, or not_found when there is none yet. |
update_status_page | Change the status page slug, title, enabled flag and monitors. |
Things to ask your agent
- "Which Keybeat monitors are down right now?"
- "Why did the checkout monitor fail last night? Show me the failing step."
- "Is login getting slower in Asia?"
- "Add the signup and checkout monitors to our status page."
- "Pause the staging monitors until Monday."
Limits worth knowing
run_monitoronly runs saved monitors and counts towards the monthly on-demand cap. Test new specs locally withnpx keybeat test, which the MCP server cannot do.upsert_monitorcan add paid add-ons. On a subscribed organization this changes the bill at once. On the free plan it returns a checkout URL for a human. See Billing.- Secrets can be written with
set_monitor_envbut never read back.