Adapter Details: token

Keeps the venue's access tokens: scoped bearers that act with their issuer's authority within fixed caps, accepted by the access points they name, such as the MCP endpoint. Administers them directly.

Name:token
Class:covia.adapter.token.TokenAdapter

MCP Tools

This adapter provides 5 MCP tool(s) for AI agent integration:

Tool NameDescription
token_createCreates an access token in your namespace: a scoped bearer that acts with your own authority narrowed by its caps, read at the time of each action, and is accepted only at the access points named in access, each entry read by that access point (mcp: {tools} for the venue's MCP endpoint). Returns the bearer once, in this result (wait for the result: the job record keeps it hidden). Token administration: needs admin/token/<access point> on x/token/<name> for every access point named, and for a token you issue as a user, you in person (a request through it is you in person). For a token accepted at MCP alone, v/ops/mcp/create-token needs only mcp/token.
token_updateChanges an access token in your namespace: its access (replacing every entry), its caps or its expiry, or gives it a new bearer with rotate (the old one stops working at once). What you leave out stays as it is. Changes take effect at the next check, including on work the token already started. Token administration: needs admin/token/<access point> on x/token/<name> for every access point the token carries before and after, and the authority the token was created with.
token_getReturns an access token's bearer again, on a venue whose operator keeps tokens (adapters.token.keepRawTokens); otherwise rotate it with v/ops/token/update. Token administration: needs admin/token/<access point> on x/token/<name> for every access point the token carries, and the authority the token was created with.
token_listLists the access tokens in your namespace: each one's name, issuer, access, caps, expiry and creation time, never its bearer. Needs crud/read on x/token.
token_deleteDeletes an access token in your namespace: its bearer stops working, and work it started, schedules it made and agents it created hold nothing more through it. Token administration: needs admin/token/<access point> on x/token/<name> for every access point the token carries.

Navigation

Back to all adapters

Back to index