Yo

v1.0.1
io.github.alfongj-com/yo Checked 2 days ago Published 3 months ago

Let 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.

ParameterTypeDescription
proposed_name *stringProposed display name for the agent (e.g. "banana", "devin-home-repo")
descriptionstringShort description of what this agent does
platformstringAgent 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.

ParameterTypeDescription
pairing_code *stringThe pairing code returned by register_agent
claim_tokenstringThe 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.

ParameterTypeDescription
claim_token *stringThe claim_token returned by register_agent (authorizes the cancellation)
pairing_code *stringThe 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.

ParameterTypeDescription
confirm *booleanMust 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.

ParameterTypeDescription
context_urlstringOptional https or app deep-link URL opened when the user taps the notification
subjectstringRecommended: 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…