client.mcpSessions manages the revocable credentials accepted by the Vetta MCP server.
create(input) calls POST /v1/mcp_sessions. name, at least one scope, and at least one
allowed_tool are required. identity_id is optional and is a label only (not enforced yet). expires_in_seconds defaults to one day.
The returned secret is available only on this response.
list(query?)callsGET /v1/mcp_sessionsand acceptslimitandafter.get(id)callsGET /v1/mcp_sessions/{id}.revoke(id)callsDELETE /v1/mcp_sessions/{id}and takes effect on the next authenticated call.
prefix, never the bearer or its stored digest. See
MCP sessions for the complete authorization contract.