Connect the Purge Patrol MCP server
Purge Patrol ships an MCP server that lets AI clients like Claude Desktop, Cursor, and Claude Code manage your purgers for you. Once connected, your assistant can list purgers, create and update them, pause or resume them, and tail recent worker logs without leaving your editor.
Install in Cursor
Click the button to add Purge Patrol to Cursor in one click:
Install in any other agent
Use add-mcp to install the server into any supported client in one command:
It'll auto-detect what you have installed and walk you through the rest. Supports Claude Code, Claude Desktop, Codex, VS Code, Zed, Gemini CLI, OpenCode, Cline, and more.
Manual configuration
Prefer editing config files yourself? The server speaks streamable HTTP at:
Authentication uses OAuth via Clerk — the first connection opens a browser to sign you in, and your client stores the token afterwards. For clients that only speak stdio (like Claude Desktop on the free plan), bridge with mcp-remote:
What you can do
list_purgers— see every purger on your account.get_purger— fetch a single purger by id, including who created it.create_purger— spin up a new purger for a Sanity project and dataset.update_purger— change the project, dataset, revalidation URL, or Vercel bypass secret.set_purger_disabled— pause or resume a purger.delete_purger— remove a purger permanently.get_purger_logs— read the most recent worker log lines for a purger.whoami— confirm which Clerk user the session is authorized as.