Skip to content

AI Agents: Sandbox and Registration

How AI agents use webhooks.cc: the remote MCP server with one-click OAuth, a 24-hour sandbox without an account through the auth.md protocol, connecting an agent to your account once, and the credential file every tool shares.

Updated Nov 2026

The easiest way to give an AI agent webhooks.cc is the remote MCP server at https://webhooks.cc/mcp: you add it to the agent's client, whether that is Claude Code, Cursor, VS Code, Codex, claude.ai or ChatGPT, and click Connect once in your browser. There is no code to type, and the agent works in your account from the start.

An agent can also use webhooks.cc before anyone signs up. It registers itself through auth.md, the agent registration protocol webhooks.cc implements (version 0.6), and gets a sandbox: a few temporary endpoints that capture webhooks for a day and that only the agent can read. When you want to keep what it made, or let it work in your account, you connect it once.

The full protocol, with request and response examples, is at webhooks.cc/auth.md. Agents read that document directly; this page explains the same flows for people.

Start here

An agent takes the first of these that fits:

  1. Its client can add a remote MCP server, and you are there to approve it. This is the default for coding agents (Claude Code, Cursor, VS Code, Codex) as much as for claude.ai and ChatGPT. The one exception is a task that sends to a handler on your machine (send_to, replay_request, targetUrl), which the remote server cannot reach: the agent takes option 2 for that, or sends to a capture URL and forwards it with whk tunnel <port>. Add https://webhooks.cc/mcp (streamable HTTP), then sign in, or sign up, and click Connect once in your browser: there is no code to type, nothing expires after 24 hours, and the agent gets your account's tools, including mock responses, forwarding, signature checks and email. The agent suggests the line for its client and stops there, because a newly added server's tools appear only after the client reconnects or restarts:

    • Claude Code: claude mcp add -s user --transport http webhooks-cc https://webhooks.cc/mcp, then /mcp in Claude Code to sign in
    • Codex: codex mcp add webhooks-cc --url https://webhooks.cc/mcp (it opens the browser to sign in; if it does not, codex mcp login webhooks-cc)
    • Cursor, in .cursor/mcp.json: { "mcpServers": { "webhooks-cc": { "url": "https://webhooks.cc/mcp" } } }
    • VS Code, in .vscode/mcp.json: { "servers": { "webhooks-cc": { "type": "http", "url": "https://webhooks.cc/mcp" } } }
    • claude.ai and Claude Desktop: in Settings, Connectors, add a custom connector with the URL https://webhooks.cc/mcp. ChatGPT: add it as a custom connector (in developer mode)
    • Any other client: add https://webhooks.cc/mcp as a remote (streamable HTTP) server; the setup for each client has more

    See apps connected with OAuth for what the app gets.

Options 2 to 5 are the fallback, and they start in the sandbox. It needs nothing from you: it is free, anonymous, isolated from every account, and deleted after 24 hours, but it lacks more than 3 endpoints, mock responses, forwarding, signature checks, and email. It suits throwaway captures, CI, and agents working with nobody there to approve, and you need no account for it. You can still keep what an agent made there by connecting it; the remote server does not move sandbox endpoints into your account.

  1. The local MCP server, for clients that run local (stdio) servers: claude mcp add webhooks-cc -- npx -y @webhooks-cc/mcp, or npx -y @webhooks-cc/mcp setup cursor (or vscode, codex, claude-desktop, or devin for Devin Desktop, formerly Windsurf). With the CLI, whk setup agent --local does it for every agent on the machine, with the agent skill. No key is needed: the first create_endpoint registers a sandbox, and connect_account then wait_for_connection connect it to your account. Connected to your account, with an API key or through the claim, the local server is also the one to use when the agent must send to localhost (send_to, replay_request, targetUrl) or needs the prompts and resources, which the remote server lacks.

  2. Claude Code with plugins: /plugin install webhooks-cc --marketplace kroqdotdev/webhooks-cc installs the local MCP server with the webhook testing skill.

  3. Agents that run code. Each of these registers, solves the proof of work, and reuses the sandbox on the next run:

    • TypeScript: npm i @webhooks-cc/sdk, then WebhooksCC.sandbox() (SDK)
    • Python: pip install webhooks-cc, then WebhooksCC.sandbox() (Python SDK)
    • Go: go get webhooks.cc/go, then webhookscc.NewSandbox(ctx) (Go SDK)
    • Shell: whk sandbox create --json (CLI; install with curl -fsSL https://webhooks.cc/install.sh | sh or brew install kroqdotdev/tap/whk; without root, curl -fsSL https://webhooks.cc/install.sh | WHK_INSTALL_DIR="$HOME/.local/bin" sh)

    To connect an account without a sandbox first, they have WebhooksCC.connect() (TypeScript and Python), webhookscc.Connect() (Go) and whk sandbox connect --email <address>.

  4. Agents with only HTTP follow Steps 1 to 6 of auth.md. Any User-Agent works.

Options 2 to 4 keep the sandbox and your connection in the agent credential file, so you approve an agent once and every tool on that machine starts connected. With an API key in WHK_API_KEY, none of this is needed.

What an agent gets without an account

  • Up to 3 endpoints at a time, each with a capture URL like https://go.webhooks.cc/w/<slug>.
  • 25 captured requests per endpoint and 100 per registration in all.
  • The registration and its endpoints expire 24 hours after the agent registered, and are deleted, with everything they captured, within minutes after that.
  • Captures are readable only with the agent's own access token. Nobody else can list or read them, and they never appear in anyone's dashboard.

Sandbox endpoints only capture. They answer every webhook with a plain 200 and have no mock responses, notification webhooks, signature verification, email address, or forwarding. When an endpoint or the registration has used its requests, the capture URL answers 429.

Sandbox (agent)Guest (browser)Free account
Endpoints3 at a timeOne per browser, from the home pageUnlimited
Requests25 per endpoint, 100 in all25 in all50 per day
Lifetime24 hours12 hoursNever expire
Who can read capturesThe agent's tokenAnyone with the linkYou and your team

Sharing localhost from an agent

An agent can put the site it is building on a public link and hand it back, without anyone opening the dashboard. The local MCP server's share_port starts whk share and returns the link with the plan's limits; list_shares, stop_share, share_requests and the name tools (list_names, reserve_name, release_name, set_name_password, clear_name_password) cover the rest, on the remote server as well. From code, the TypeScript SDK's client.shares.start({ port }) does the same, and the CLI's whk share, whk shares and whk names print JSON with --json. Sharing needs an account: sandbox tokens are refused until you connect the agent. See For agents.

How registration works

The MCP server, the SDKs and the CLI do these steps for the agent.

  1. Discover. The agent finds the registration endpoints in /.well-known/oauth-authorization-server, or follows the WWW-Authenticate header of any 401 from the API.
  2. Prove some work. Anonymous registration needs a solved proof-of-work challenge from POST /api/agent/identity/challenge: many SHA-256 hashes, a few seconds of CPU. It keeps scripts from filling the sandbox for free. A registration request without one gets a challenge back, so an agent needs no extra knowledge.
  3. Register. POST /api/agent/identity with { "type": "anonymous", "proof_of_work": ... } returns a signed identity assertion and a claim token.
  4. Get an access token. The agent exchanges the assertion at POST /api/oauth2/token for an access token that lasts one hour. It can exchange again for a new one until the registration expires.
  5. Use the sandbox. With that token the agent creates endpoints at /api/agent/sandbox/endpoints and reads what they captured.

Each IP address can register 5 times an hour. An agent that cannot run code, and so cannot solve the challenge, can register with your email instead ("type": "service_auth"): it gets no sandbox, and nothing works until you connect it as described below. The SDKs' connect functions and whk sandbox connect take this path.

Connecting an agent to your account

When you want to keep what an agent set up, or let it work in your account, connect it:

  1. The agent names your email and gets a link and a 6-digit code. It shows you both, for example: "Open this link, sign in, and enter 123456". The email must be the one you sign in to webhooks.cc with (your GitHub or Google primary email if you sign in that way).
  2. Open the link and sign in, or sign up, with that email address. A link for someone else's address does not work in your account.
  3. Check the page: it shows the name the agent gave itself, when it registered, and which sandbox endpoints will move into your account. Enter the code, or decline.

After you connect it:

  • Its sandbox endpoints become ordinary endpoints in your account, with the same URLs and the requests they already captured. They no longer expire, and new captures count against your plan.
  • The agent can use the API on your behalf, like an API key: manage endpoints and read what they capture, list or revoke API keys, share links and connected agents, and add and route custom domains. A new API key, a new share link, removing a domain, inviting someone to a team, deleting a team and renaming the account need your approval (see Approvals). It cannot delete the account, and a billing change (a plan, seats, add-ons, cancelling) waits for your approval with its price.
  • The connection lasts 90 days and is saved in the agent credential file, so later sessions of the MCP server, the CLI and the SDKs on that machine start connected. You approve the agent once, not every session.
  • You get an email saying an agent was connected.

The code works for 15 minutes and for 5 tries; the agent can ask for a new one. An account can connect up to 10 agents, apps connected with OAuth included.

Only the process that registered a sandbox can move its endpoints into your account, because the claim token never leaves its memory. When an agent asks to connect from a later session, it connects through a new registration and says so: you get a link and a code as usual, and the endpoints of the earlier sandbox stay in the sandbox until they expire.

Apps connected with OAuth

Any client that can add a remote MCP server, coding agents such as Claude Code, Cursor, VS Code and Codex as much as hosted agents such as claude.ai and ChatGPT, can use the remote server at https://webhooks.cc/mcp and connect with OAuth. For hosted agents, which cannot run a local server or keep a file, it is the way in.

  1. Add https://webhooks.cc/mcp to the client, for example with claude mcp add -s user --transport http webhooks-cc https://webhooks.cc/mcp in Claude Code or as a custom connector in claude.ai. The MCP server page has the setup for each client.
  2. The client opens webhooks.cc in your browser. Sign in, or sign up.
  3. The page shows which app asks, where it will send you back to, and what it gets. An app that publishes a Client ID Metadata Document is identified by its own host; an app that registered itself shows its name as unverified. Click Connect, or Decline. There is no code to type.

The app then appears under Account, Connected agents, labelled as an app connected with OAuth. It gets the same access as a connected agent: your endpoints and what they capture, listing and revoking keys, links and agents, never paying or deleting the account, and the things only you allow (a new API key or share link, removing a domain, a team invite or deletion, a rename) only with your approval. Its access tokens last an hour, and it renews them with a refresh token that changes on every use and stops working after 90 days unused. When a refresh token that was already replaced turns up again, the connection ends, since that points to a copy. OAuth apps count toward the 10 connected agents; at the limit, the page asks you to disconnect one first.

For client developers: the authorization server takes the authorization code grant with PKCE (S256) from public clients, which identify themselves with a Client ID Metadata Document (preferred) or dynamic client registration at /api/oauth2/register. An unauthenticated request to /mcp answers 401 with a WWW-Authenticate header pointing to the protected resource metadata at /.well-known/oauth-protected-resource/mcp, which names the authorization server and its metadata at /.well-known/oauth-authorization-server. A client that can send headers may use an API key instead: Authorization: Bearer whcc_.... The remote server needs an account, so it refuses a sandbox token with 403.

The agent credential file

The MCP server, the TypeScript, Python and Go SDKs and the whk CLI keep an agent's sandbox and its connection to your account in one shared file. A connection you approved once survives restarts and works from every tool on that machine.

PlatformPath
Linux$XDG_CONFIG_HOME/whk/agent.json, else ~/.config/whk/agent.json
macOS~/Library/Application Support/whk/agent.json
Windows%APPDATA%\whk\agent.json

WHK_AGENT_FILE overrides the path, for example one file per CI job. The file holds identity assertions and short-lived access tokens: treat it like a password, and never print or commit it.

It is UTF-8 JSON, version 1, with one entry per app URL and up to two slots in each:

{
  "version": 1,
  "issuers": {
    "https://webhooks.cc": {
      "claimed": {
        "registration_id": "6f1c2d4e-8a1b-4c3d-9e2f-0a1b2c3d4e5f",
        "identity_assertion": "eyJhbGciOiJFUzI1NiIs...",
        "assertion_expires": "2027-01-26T09:00:00.000Z",
        "email": "dev@example.com",
        "client_name": "webhooks-cc-mcp",
        "saved_at": "2026-10-28T09:00:00.000Z",
        "access_token": "whcc_...",
        "access_token_expires": "2026-10-28T10:00:00.000Z"
      },
      "sandbox": {
        "registration_id": "0d9e8f7a-6b5c-4d3e-2f1a-0b9c8d7e6f5a",
        "identity_assertion": "eyJhbGciOiJFUzI1NiIs...",
        "assertion_expires": "2026-10-29T09:00:00.000Z",
        "saved_at": "2026-10-28T09:00:00.000Z"
      }
    }
  }
}
  • The key under issuers is the app's base URL with trailing slashes removed and the scheme and host lowercased, so a local stack never touches production's entry.
  • claimed is a registration a human connected to their account (90 days); sandbox is an unclaimed anonymous registration (24 hours, sandbox only). A slot needs registration_id, identity_assertion and assertion_expires, and it is live while its assertion expires more than 60 seconds from now. Readers ignore other slots; email, client_name, scope and saved_at are informational.
  • access_token and access_token_expires cache the last token exchanged from the assertion, so a short-lived process does not exchange on every start. A cached token is used while it starts with whcc_ and expires more than 60 seconds from now.
  • The claim token is never written. It stays in the memory of the process that registered, which is why only that process can move its sandbox endpoints into an account.

Tools read the file like this: an explicit API key (WHK_API_KEY, or one passed in code) always wins, and the file is not read at all. Otherwise a live claimed slot gives account access, and failing that a live sandbox slot is reused instead of registering again. When the token exchange answers invalid_grant, the registration expired, was revoked or was claimed, and the slot is removed: for claimed that means you disconnected the agent, so the tools fall back to the sandbox.

Writes change one slot and keep everything else. They go to a temporary file in the same directory, created with mode 0600, which is then renamed over agent.json, so a crash never leaves half a file. A file with a newer version is left alone. The full specification, with the test vectors every implementation passes, is agent-credentials.md on GitHub.

How agents find webhooks.cc

  • /auth.md: the registration protocol, with a "Start here" section that matches the one above. Every response carries it in a Link header (rel="auth.md"), and every page in a <link> element.
  • /llms.txt: a summary of the product, its docs and its tools.
  • /.well-known/agent-skills/index.json: Agent Skills discovery, serving the webhook testing skill.
  • /.well-known/api-catalog: the RFC 9727 API catalog, naming the REST API and the remote MCP server.
  • /openapi.yaml: the REST API, with the OAuth scheme and the agent routes.
  • Markdown versions of the home page and the docs: /index.md, /docs/<page>.md, or any of those pages requested with Accept: text/markdown.

Agents that sign in through an identity provider

auth.md also lets an agent present a signed statement from an identity provider it runs on (an ID-JAG) instead of registering anonymously. webhooks.cc trusts no identity provider yet, so this path answers issuer_not_enabled today. Once one is trusted, these rules apply:

  • The provider must have seen you sign in within the last hour. An older sign-in is refused with login_required, and the agent has to send you back to the provider.
  • If the provider vouches for an email that already has a webhooks.cc account, nothing is linked until you confirm it on the same page as above, signed in as that email. The page names the provider. After that, the agent can sign in through the provider directly.
  • If no account has that email, one is created for it.
  • The provider can revoke the link at any time; the agent's access stops at once.

Approvals

Some things only you should allow, even when an agent or an API key asks for them: a new API key, a new share link (it publishes a request to anyone with the link), removing a custom domain (getting it back means verifying it again), inviting someone to a team (it emails the address the asker names) or deleting one (its subscription ends at once), and renaming the account, connecting a Google account or choosing a spreadsheet from Drive for Sheets destinations, AI setup, which sends the emails you see listed to Anthropic, and billing changes. The route answers such a request with 202 and an approval instead of acting:

{
  "approval": {
    "id": "0b8d6a5e-...",
    "status": "pending",
    "action": "api_keys.create",
    "summary": "Create an API key named \"GitHub Actions\" with full access to your account for 90 days.",
    "code": "ABCD-EFGH",
    "url": "https://webhooks.cc/approve?code=ABCD-EFGH",
    "expiresAt": "2026-11-14T10:15:00.000Z"
  }
}

The agent shows you the link. The page asks you to sign in as that account, shows the same code to compare, who asked and from which country, and warns when the request came from another network than your browser. Approve it, or choose This wasn't me to refuse it.

The asker polls GET /api/approvals/{id} with the same API key (or any token of the same connected agent). For a key, its next poll after you approve makes the key and carries it, once: it is never stored and never shown again, and the asker has 15 minutes to collect it. The other actions happen the moment you approve, and the page says so; every later poll carries what was done (the share link's URL, the removed domain, the invite, the deleted team, the new name), so there is nothing to withdraw afterwards. You have 15 minutes to answer. An account can have 10 approvals waiting at once. The CLI (whk keys create, whk share-links create, whk domains remove, whk teams invite, whk teams delete, whk account rename), the TypeScript SDK (client.apiKeys.create(), client.shareLinks.create(), client.domains.remove(), client.teams.invite(), client.teams.delete(), client.account.rename(), then approval.wait()) and the MCP server (create_api_key, create_share_link, remove_domain, invite_to_team, delete_team, rename_account, then wait_for_approval) do the polling for you.

An MCP client that can open a link for you (URL elicitation, in the MCP specification) gets the approval as a request to open the page: it shows you the link with the code to compare, and the tool finishes on its own once you approve, without a wait_for_approval call. Other clients get the link and the code as text.

Billing changes

An agent asks for a billing change and you approve it, unless you gave it an agent spend budget: changing the plan or its interval, a team's seats, add-on blocks or overage, cancelling a plan or undoing a cancellation. The route quotes it first, as the dashboard would (what changes, whether it applies at once or at the renewal, and what is charged now), and the approval page shows that quote. Approving it makes exactly that change, and only while a fresh quote, read again at that moment, still matches: if the price, the period, the seats or the subscription moved in the meantime, nothing is changed, the page says why, and the asker's result is { "executed": false, "code": "quote_changed", "reason": "..." }, so it asks again. A refusal with nothing changed for another reason (a declined card) carries that reason's own code instead, and if Polar was asked and then something failed, the result is { "executed": null, "code": "outcome_unknown" }: the change may have been made, so check billing before asking again. A payment your bank wants you to confirm (3-D Secure) reads the same way, with a reason saying so: confirm it from the link in Polar's email, then check billing. A change found already in place when it is made (monthly blocks that renew at that count already) is { "executed": false, "code": "unchanged" }. An approval is answered once, and a change already made cannot be made again from it, so nothing is charged twice. Adding blocks, buying one-time blocks or turning overage on for the first time sends you to a Polar checkout when you approve, where you pay exactly the approved count (the agent never gets the checkout's link, and its result says only that a checkout was opened); turning overage on shows the most it can bill per period; the billing portal stays in the browser.

A personal change is asked with a key or agent of the account; a team's only with one of the team's owner, and members' keys are refused. GET /api/billing (whk billing, client.billing.get(), get_billing) says what the account pays for, and quoteTeamPlan() and quoteTeamSeats() price a team change without asking for it. The CLI (whk billing plan, keep-plan, seats, blocks, buy, overage, cancel, resume), the TypeScript SDK (client.billing.changePlan(), keepPlan(), setSeats(), setMonthlyBlocks(), buyBlocks(), setOverage(), cancel(), resubscribe()) and the MCP server (change_plan, set_seats, change_addons, cancel_subscription, resume_subscription) ask and wait like the other approvals.

For a first plan, a team's first subscription or extra capacity, an agent can hand you a ready checkout instead of telling you where to find it. A checkout link (whk billing checkout, client.billing.createCheckout(), the create_checkout tool) is a page that you open signed in as the account's owner, and that goes on to Polar's checkout. It needs no approval, because nothing is charged until you pay on Polar's page with your own card; the agent then waits for the payment (whk billing checkout-status --wait, waitForCheckout(), wait_for_checkout). A client that can open links opens the checkout for you, as it does an approval.

To get the link by email as well, for an agent that runs where nobody sees its output, turn on Email me when an agent asks for approval under Account, Connected agents.

Agent spend budget

An agent spend budget lets your API keys and agent tokens make some billing changes without asking you each time. It is an amount in dollars before tax, with each change counted for 30 days or more, for your own plan or for each team you own; it is off (0) until you set it, and at most $500. Set it on the billing page (Account > Plan and usage, or the team's page); an agent can ask you to raise it, which is an approval like any other, and can lower it or turn it off on its own.

While enough of it is left, only changes Polar charges to your card at once run on it: Pro to Business monthly, Teams to Team Business monthly, and more seats on a team. They are made at once, each counted at what it charges now (before any account credit is spent on it) plus how much it raises the next renewal, raised if the invoice's amount before tax comes out higher than the quote, and you get an email for each, naming the change, the amount charged and counted, the key that asked, what is left and the new recurring price. If the outcome of one is not known, you get an email saying your card may have been charged, and another once Polar shows it was made. Fewer seats or fewer monthly blocks are made at once too while some of the budget is left, cost nothing from it, and are emailed to you as well, gathered into one email an hour at most; once nothing is left, they wait for your approval like the rest. Everything else stays an approval: any move to annual, a lower plan, cancelling or resubscribing, overage, and add-ons paid at a checkout.

The budget bounds what a change charges now plus how much it raises the next renewal: adding two $12 seats with half a month left charges about $12 now and raises the renewal by $24, so it counts $36, and it stays counted until 30 days after that renewal, so the rise charged there is inside the window too. On a monthly plan a change always counts both, and on an annual plan it does when the renewal is at most 31 days away. When an annual renewal is further, a change counts at the larger of the two, and a seat at the full year's price, so the charge now and that renewal's rise together can come to more than the budget counted; a renewal up to 60 days away still keeps the change counted until 30 days after it. A seat added more than 60 days before an annual renewal is not bounded at that renewal at all: by the time the renewal charges the new price, the budget no longer counts the change. Renewals after that keep the new price.

A change stays counted for its whole window even if a later plan change or seats removed mean its rise is never charged, so less may be left than you expect until the window ends; raise the budget if that holds an agent back.

A change the budget cannot cover is not split: it becomes the usual approval, and the answer's budget says why (over_budget with leftCents and neededCents, budget_off, past_due, no_subscription, change_running, budget_currency_unsupported for a subscription billed in a currency other than US dollars, budget_currency_unknown when billing did not say which currency it is billed in). Nothing runs on the budget while a plan, team or add-on payment is past due, without a live paid subscription, from a token not yet connected to an account, or while another change on it is still being made. A team's budget is its owner's alone: only the owner sets it, only the owner's keys spend it, and it turns off when the team's ownership changes. Any change of a budget (yours, an agent's, a team's ownership changing) refuses every raise of it still waiting for your approval, since each was asked against the budget as it was: the agent's poll answers denied with the result { "code": "budget_changed" }, so it reads the budget again and asks again if it still needs the raise. A raise asked by a key you then revoke, or by an agent you disconnect, is refused the same way with { "code": "asker_revoked" }. Every budget you control turns off, and every raise of one still waiting for your approval is refused, when two-factor sign-in is removed with a recovery code or by support.

A change on the budget runs one at a time per account, with approved changes too: while another billing change for the account is being made, the ask becomes an approval with change_running. A change refused before anything is charged (a declined card, too few seats for the members, a change found in place already) is given back at once and answers with its own code. If Polar collects a declined charge later, when it retries the payment, the change is counted again and you get an email for it. If Polar was asked and then something failed, the outcome is not known: the route answers 502 with { "code": "outcome_unknown", "executed": null, "reason" }, the change stays counted for 30 days unless Polar shows it was made, and you check billing before asking again. Sending the same request again (with the same Idempotency-Key header, if you sent one) checks Polar first and finishes it only if it was not made, so nothing is charged twice; it is sent again only within ten minutes of the first try, in the same billing period, at no more than the price it was counted at and while the budget still covers it, and otherwise answers outcome_unknown again without sending anything. A payment waiting for your bank's confirmation (3-D Secure) is never sent again. An Idempotency-Key names one change on one billing account: sent again with a different change it answers 409 with code: "idempotency_key_reused".

On Business there is no higher plan to move to, so your own budget only lets agents make reductions (fewer monthly blocks); a team's budget still pays for seats and Team Business.

GET and PUT /api/billing/agent-budget (and /api/teams/:teamId/billing/agent-budget), whk billing budget, client.billing.getBudget() and setBudget(), and the MCP tools get_agent_budget and set_agent_budget read and set it.

Revocation and expiry

  • Disconnect a connected agent or an app connected with OAuth under Account, Connected agents, or with whk agents disconnect <id> (client.agents.disconnect(), the disconnect_agent tool), which any key of the account may do. Its access stops at once; endpoints it brought stay in your account. Tools that saved the connection remove it from the credential file on their next call; the local MCP server then offers the sandbox tools again.
  • A connected agent's connection ends after 90 days, and you connect it again the same way. An app connected with OAuth stays connected while it keeps using its refresh token, and stops after 90 days unused.
  • An agent can drop one of its access tokens at POST /api/oauth2/revoke. To forget what is saved on a machine, delete the credential file, or run whk sandbox forget --all.
  • An unclaimed registration stops working 24 hours after registration; its tokens, endpoints and captured requests are deleted within minutes after that. There is nothing to clean up.
  • Agents that used the earlier version of the protocol (auth.md 0.1) get 410 endpoint_moved from the old registration endpoint and a pointer to /auth.md. Its email-code flow keeps working for older SDK and MCP versions until November 30, 2026.