Yo
v1.0.1Let agents send content-free push notifications to a paired phone via MCP.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
register_agent
Register this agent with Yo (unauthenticated). Returns a pairing URL and code to show the user, who approves the connection in the Yo app. Then poll check_registration to obtain the API key.
| Parameter | Type | Description |
|---|---|---|
proposed_name * | string | Proposed display name for the agent (e.g. "banana", "devin-home-repo") |
description | string | Short description of what this agent does |
platform | string | Agent platform (e.g. "cursor", "devin", "claude-code") |
check_registration
Check the status of a pairing code from register_agent. On the first poll after the user approves, the response includes the api_key exactly once — store it immediately in your secret mechanism — plus paired_with, the account the agent is now connected to, which you MUST show the user.
| Parameter | Type | Description |
|---|---|---|
pairing_code * | string | The pairing code returned by register_agent |
claim_token | string | The claim_token returned by register_agent; required to receive the api_key |
cancel_registration
Abort a pairing you started with register_agent. Works while pending and after approval: an already-approved connection is revoked (the API key stops working) so a pairing approved by the wrong account can be undone. Available until the pairing expires, and for 15 minutes after you pick up the API key; later than that, use revoke_self. Then call register_agent again.
| Parameter | Type | Description |
|---|---|---|
claim_token * | string | The claim_token returned by register_agent (authorizes the cancellation) |
pairing_code * | string | The pairing code returned by register_agent |
revoke_self
Permanently revoke THIS agent using its API key as the Bearer token. Use when you discover (at any time) that paired_with is not your owner’s account and cancel_registration no longer works. The key stops working immediately; call register_agent to start over.
| Parameter | Type | Description |
|---|---|---|
confirm * | boolean | Must be true — revocation is immediate and irreversible |
yo
Send a Yo push notification to your owner. Recommended: include a short subject explaining what the notification is about, and a context_url when there is a useful link to open. The subject appears on the lock screen and in the app; avoid secrets. Requires an agent API key as the Bearer token.
| Parameter | Type | Description |
|---|---|---|
context_url | string | Optional https or app deep-link URL opened when the user taps the notification |
subject | string | Recommended: a short, specific subject explaining why you are notifying the user (1–120 characters, counted as Unicode code points), e.g. "PR ready for review". Plain text, one line; avoid secrets b… |