
watchfor
io.watchfor/watchfor
Uptime & infrastructure monitoring: monitors, incidents, status pages, live diagnostics.
Documentation
WatchFor Agent Toolkit
Agent-facing tooling for WatchFor — uptime & infrastructure monitoring built to be operated by AI agents as comfortably as by humans.
WatchFor monitors websites, APIs, SSL certificates, DNS, email, cron jobs, MCP servers, game servers, scripted browser journeys (Playwright) and Linux servers from 20 locations across 7 world regions, with multi-location confirmed alerting: a failure is only declared Down once several locations agree, so alerts reflect real outages rather than one bad network path.
This repository is a plugin for Claude Code, Cursor and Codex: it connects the hosted WatchFor MCP server (OAuth, no API key to copy) and adds eleven agent skills that teach the agent how to use it well. Any other MCP client can use the server directly, and in claude.ai the WatchFor connector is available in the Claude directory. The Claude Code plugin and the skills live in plugins/watchfor/; Cursor and Codex load the same skills from there.
Install
Claude Code
/plugin install watchfor --marketplace watchfor-io/agent-toolkit
(Claude Code 2.1.275 or later.)
Or from the shell: claude plugin marketplace add watchfor-io/agent-toolkit, then claude plugin install watchfor@watchfor.
Then run /mcp, pick watchfor and sign in — the browser opens WatchFor's consent screen. Headless sessions (claude -p, CI) can't open a browser: sign in once with claude mcp login plugin:watchfor:watchfor, or use an API key (below).
Cursor
Install the plugin from a clone (Cursor loads local plugins from ~/.cursor/plugins/local):
git clone https://github.com/watchfor-io/agent-toolkit ~/.cursor/plugins/local/watchfor
Then run Developer: Reload Window and sign in to the watchfor server from Cursor's MCP settings. The plugin adds the skills and a watchfor rule (rules/watchfor.mdc) that Cursor applies when WatchFor tools are in use. MCP server only, in ~/.cursor/mcp.json:
{ "mcpServers": { "watchfor": { "url": "https://watchfor.io/api/mcp" } } }
Codex
codex plugin marketplace add watchfor-io/agent-toolkit
Then open /plugins in the Codex CLI (or the Plugins tab of the ChatGPT desktop app), pick the WatchFor marketplace and install WatchFor. MCP server only:
codex mcp add watchfor --url https://watchfor.io/api/mcp
codex mcp login watchfor --scopes read,write,offline_access
Other MCP clients
| Client | How |
|---|---|
| claude.ai, Claude Desktop, mobile | Available in the Claude directory: open Connectors, search for WatchFor and select Connect to Claude. Or Settings → Connectors → Add custom connector → https://watchfor.io/api/mcp |
| VS Code | .vscode/mcp.json: { "servers": { "watchfor": { "type": "http", "url": "https://watchfor.io/api/mcp" } } } |
| Any client with remote OAuth | Server URL https://watchfor.io/api/mcp (Streamable HTTP); it discovers the authorization server from the first 401 |
| Clients without OAuth | Add the header Authorization: Bearer wf_live_… |
server.json describes the server for the MCP Registry as io.watchfor/watchfor.
Headless and CI (API key)
Create a key in the dashboard (Settings → API keys, read or read+write), keep it in a secret store, and send it as a Bearer token in place of YOUR_API_KEY:
claude mcp add --transport http watchfor https://watchfor.io/api/mcp \
--header "Authorization: Bearer YOUR_API_KEY"
curl https://watchfor.io/api/v1/summary -H "Authorization: Bearer YOUR_API_KEY"
In Codex, add http_headers = { Authorization = "Bearer YOUR_API_KEY" } under [mcp_servers.watchfor] in ~/.codex/config.toml.
Skills only
Agents that load skills without a plugin can install them from this repository with the skills CLI (install steps: watchfor.io/docs/api/mcp#agent-skills). The same skills are served at /.well-known/agent-skills/index.json.
Skills
| Skill | Use it when |
|---|---|
watchfor-setup | Connecting a client, fixing 401/403, picking an organization, checking plan limits |
watchfor-monitoring | Creating and changing monitors and alert rules (per-type references for all 31 monitor types), hosts |
watchfor-incident-response | Something is down: triage, root cause, acknowledge/resolve, false positives, post-mortems |
watchfor-diagnostics | Measuring a target live from 20 locations — 27 checks, graded A+ to F where it applies |
watchfor-maintenance | Deploys and planned work: maintenance windows, pausing, MCP release markers, page-integrity baselines |
watchfor-status-pages | What customers see; creating pages, posting and updating incident announcements |
watchfor-reliability-reports | Uptime and SLA reports, MTTR/MTBF, flakiest services, report emails |
watchfor-bulk-operations | Pausing, resuming or deleting many monitors, batch calls, cleanup audits |
watchfor-alert-routing | Who gets paged, why an alert didn't arrive, contacts, groups and on-call |
watchfor-game-servers | Game server monitors: query ports, players, latency, packet loss and jitter per region |
watchfor-browser-checks | Writing, test-running and scheduling Playwright browser checks; Core Web Vitals |
Each skill is a short SKILL.md with the workflow; details load from its references/ only when needed.
What the plugin does
- Connects one remote MCP server,
https://watchfor.io/api/mcp, over HTTPS. Every tool call goes to WatchFor with your OAuth token (or API key) and acts only on organizations you belong to, with your role's permissions. Read-only access is enough for everything except changes, live diagnostics and Playwright test runs. - Runs nothing on your machine: no hooks, no scripts, no local server, no package installs. Skills and the Cursor rule are Markdown instructions.
- Sends nothing anywhere else. Live diagnostics (
run_diagnostic,diagnose_target) make WatchFor's probe fleet send real traffic to the target you name; MCP clients ask before running them. - Privacy: https://watchfor.io/legal/privacy · Terms: https://watchfor.io/legal/terms · Security: https://watchfor.io/docs/security
What's in this repo
| Path | Purpose |
|---|---|
plugins/watchfor/ | The Claude Code plugin: manifest (MCP server, OAuth), the eleven agent skills (skills/, SKILL.md + references/), its README and icon. This is the folder submitted to Anthropic's plugin directory |
.claude-plugin/marketplace.json | Claude Code marketplace (watchfor@watchfor), pointing at plugins/watchfor |
.cursor-plugin/plugin.json · rules/watchfor.mdc | Cursor plugin manifest and rule (conventions for WatchFor tool calls) |
.codex-plugin/plugin.json · .mcp.json · .agents/plugins/marketplace.json | Codex plugin manifest with the OpenAI listing metadata, its MCP server and the Codex repo marketplace |
mcp.json | Portable MCP config (Agent Plugins MCP schema) for any host |
server.json | MCP Registry entry io.watchfor/watchfor |
AGENTS.md · llms.txt | Instructions and an index for agents reading this repo |
assets/ | Logo for the Cursor and Codex listings |
Agent surfaces
Monitors, alert rules, incidents, status pages, maintenance windows, reports and more are open to code through REST, MCP and A2A, with the same permissions and data as the dashboard. MCP covers less than REST (what is REST-only) and a few settings are still dashboard-only.
All surfaces share the same auth (org-scoped API key or OAuth 2.1) and per-plan rate limits:
- REST API —
https://watchfor.io/api/v1· OpenAPI 3.1 spec (90 operations, cursor pagination,Idempotency-Key, typed JSON errors) - MCP server (64 tools, Streamable HTTP) —
https://watchfor.io/api/mcp· manifest - Documentation MCP server (read-only, no auth) —
https://watchfor.io/api/docs-mcp - A2A agent (19 skills, JSON-RPC) —
https://watchfor.io/api/a2a· Agent Card - No-auth sandbox —
https://watchfor.io/api/v1/sandbox(sample data in exact production shapes) - Prometheus metrics (Pro plan and above) —
https://watchfor.io/api/v1/metrics· for the user's own Prometheus/Grafana, not for agents to poll · docs · exporter - WebMCP (in-page tools) — nine tools registered on
document.modelContextacross watchfor.io, so an agent-capable browser can search the docs, open the free tools and start a website audit without an account or a key · WebMCP audit
Live diagnostics
Agents can also investigate, not just read: 27 on-demand checks run from the probe
fleet — DNS, DNS propagation, DNS health, TLS grade, mail server grade (SMTP, IMAP, POP3), PHP
version (php2shell, end of life, CVEs), software exposure (versions a site reveals, outdated
components, known CVEs), game server status (players, map and ping from three regions), HTTP headers, ping, traceroute, ports,
blocklists, e-mail policy, Core Web Vitals, global CDN analysis and more — plus
diagnose_target, which bundles the common ones into a single verdict. Graded checks
return the dashboard's A+ to F grade with what capped it and the fix. A model can
reason about a website; it has no machine in 20 locations. Runs share the plan
allowance with the dashboard's Toolbox.
- REST —
POST /v1/diagnostics/{slug}· catalog atGET /v1/diagnostics - MCP —
list_diagnostics,run_diagnostic,diagnose_target - A2A — the
diagnoseskill
No key, just a shell
An agent that only has a terminal can run the same free checks anonymously over plain
HTTPS: https://watchfor.io/<command>/<target> — tls/github.com, dns/example.com,
mtr/1.1.1.1, email/example.com, audit/example.com for the whole site in one grade.
Add ?json for the full result with honest HTTP status codes (200 passed, 422 found a
problem, 429 limit reached, with Retry-After); /help?json lists every command. Same
anonymous limits as the website's free tools; for anything recurring, use the API or MCP
with a key. Commands and examples: watchfor.io/terminal
Browser checks (Playwright)
An agent can write a plain @playwright/test script for a login, search or
checkout, run it once in a sandboxed browser before anything is saved, read
the failed step with its error, and save the passing script as a scheduled
browser check. Secrets stay in
organization variables (process.env.NAME) and are masked in results.
HTTP, API and MCP checks use the same org secrets as {{NAME}} in auth
fields, headers and request bodies; credentials stored on a check are
write-only and read back as "[redacted]".
- REST —
POST /v1/playwright/test-runs,GET /v1/monitors/{id}/runs - MCP —
test_playwright_script,get_playwright_run,list_playwright_runs, thencreate_monitorwithtype: "playwright" - A2A —
manage-monitorwithaction: "test-script"
SDKs
Official zero-dependency clients + watchfor CLI, mirroring the REST API resource for resource:
| Language | Package | Version |
|---|---|---|
| TypeScript / Node | watchfor on npm | |
| Python | watchfor on PyPI | |
| Ruby | watchfor on RubyGems |
Install steps: watchfor.io/docs/api#sdks--cli.
With an OAuth token, pick the organization: new WatchFor({ apiKey, organization }) /
WatchFor(api_key, organization=...) / Watchfor::Client.new(api_key:, organization:),
or watchfor --organization <id> (env WATCHFOR_ORGANIZATION) on the CLI. List the ids a token
can use with GET /api/v1/organizations — organizations.list() in the SDKs, watchfor organizations
on the CLI (SDKs 0.16.0+).
Quickstart (60 seconds)
# 1. Try the sandbox — no account, no key:
curl https://watchfor.io/api/v1/sandbox/summary
# 2. Sign up free (no credit card), create an API key in Settings → API keys, then:
curl https://watchfor.io/api/v1/summary -H "Authorization: Bearer YOUR_API_KEY"
# 3. Or connect an MCP client with OAuth — no manual key at all:
claude mcp add --transport http watchfor https://watchfor.io/api/mcp
Links
- Website: https://watchfor.io
- API docs: https://watchfor.io/docs/api
- Agent quickstart: https://watchfor.io/agents.md
- LLM site overview: https://watchfor.io/llms.txt
- Machine-readable pricing: https://watchfor.io/pricing.md
- Changelog: https://watchfor.io/changelog
- Press kit and fact sheet: https://watchfor.io/press (Markdown: https://watchfor.io/press.md)
License
No installation packages available.