Menu

MCP: grants

Access shared on domains

Toolsetgrants (opt-in)
Tools7
Permissions granted by weird mcp setupgrants:read, grants:write
With --read-onlygrants:read
Turn it onweird mcp setup --add grants

weird_grants_received#

Access shared with the user. List the access other accounts shared with the user on their domains, and the invites waiting, with whose credits the work spends. Free.

Changes somethingno (read-only)
Needs confirmed: trueno
CallslistGrants

No arguments.

weird_grant_respond#

Accept or decline an invite. Accept an invite to work on another account's domain, or decline it. Free. Work under it is billed to the payer the grant names. Declining cannot be undone, though a new invite may follow.

Changes somethingyes
Needs confirmed: trueyes (consequential)
CallsacceptGrant, declineGrant

Arguments:

  • action, string, required — accept or decline
  • confirmed, boolean, required — must be true, and only after the user explicitly agreed to this action and its cost or consequence
  • grant_id, string, required — the invite
  • idempotency_key, string — optional, for an action that costs credits: pass the same value again if you retry this exact action; a repeat never creates or bills a second one. Leave it out the first time: the answer returns the key used

weird_grant_leave#

Leave a grant. Give up access the user holds on another account's domain; it ends at once. Free. Irreversible: only the owner can invite them again.

Changes somethingyes
Needs confirmed: trueyes (cannot be undone)
CallsleaveGrant

Arguments:

  • confirmed, boolean, required — must be true, and only after the user explicitly agreed to this action and its cost or consequence
  • grant_id, string, required — the grant
  • idempotency_key, string — optional, for an action that costs credits: pass the same value again if you retry this exact action; a repeat never creates or bills a second one. Leave it out the first time: the answer returns the key used

weird_domain_shares#

Access given on a domain. List the access the user gave other accounts on one of their domains. Small credit charge per successful request (charge key domains.reads per_request in weird_credits_charges); failed calls are free.

Changes somethingno (read-only)
Needs confirmed: trueno
Costa small credit charge per successful request (failed calls are free)
CallslistDomainGrants

Arguments:

  • domain, string, required — one of the user's domains

weird_domain_share_add#

Share a domain (the user's command). Answer the command the user runs to invite another account to manage parts of one of their domains (DNS, tunnels, storage, servers under it), and whose credits that work spends. Free. This tool does nothing itself: the step needs the user's authenticator code in the request, which an agent never asks for, sees or passes. It answers the exact command; show it to the user and let them run it in their own terminal. The command: weird domains share add <domain> <email> --scope dns.

Changes somethingno (read-only)
Needs confirmed: trueno
The person runsweird domains share add <domain> <email> --scope dns
CallscreateDomainGrant

Arguments:

  • domain, string, required — one of the user's domains
  • email, string, required — the address of the account to invite
  • payer, string — whose credits their work spends: owner (default), grantee or split
  • scopes, null or array of strings, required — what they may manage: dns, tunnel, ipfs (storage), vps (servers)

weird_domain_share_payer#

Change whose credits are spent. Change whose credits the work done under a grant the user gave spends: owner, grantee or split. Free.

Changes somethingyes
Needs confirmed: trueyes (consequential)
CallschangeDomainGrant

Arguments:

  • confirmed, boolean, required — must be true, and only after the user explicitly agreed to this action and its cost or consequence
  • domain, string, required — the domain
  • grant_id, string, required — the grant
  • idempotency_key, string — optional, for an action that costs credits: pass the same value again if you retry this exact action; a repeat never creates or bills a second one. Leave it out the first time: the answer returns the key used
  • payer, string, required — owner, grantee or split

weird_domain_share_revoke#

End shared access. End the access the user gave another account on a domain; it stops at once. Free. Irreversible (invite them again to restore it).

Changes somethingyes
Needs confirmed: trueyes (cannot be undone)
CallsrevokeDomainGrant

Arguments:

  • confirmed, boolean, required — must be true, and only after the user explicitly agreed to this action and its cost or consequence
  • domain, string, required — the domain
  • grant_id, string, required — the grant
  • idempotency_key, string — optional, for an action that costs credits: pass the same value again if you retry this exact action; a repeat never creates or bills a second one. Leave it out the first time: the answer returns the key used

This page is generated from the weird CLI; it changes when the CLI does.