Create a token for an MCP server, such as
avassa-mcp-server, that lets it read configuration and
stage changes for the caller to review and apply. The
changes it stages are the caller's own staged changes, see
staged-changes.
The token has the display name mcp after the caller's, and
is revoked when the caller's token expires.
OK
Bad Request
Unauthorized
Forbidden
Not Found
Service Unavailable (strongbox sealed)
ttl: 8h policies: - view - mcp-stage
accessor: 3d1f6c2a-8b7e-4f0a-9c55-2e4b7a9d1c38 token: 7f2e9a41-5c3b-4d8e-a1f6-0b9c2d7e4a53 creation-time: 2026-11-05T09:12:06.527959Z expires: 2026-11-05T17:12:06.527959Z parent-expires: 2026-11-06T09:02:41.118204Z
Note that all created tokens will expire when the token that
created them expires, unless the no-parent option is set to
true
OK
Bad Request
Unauthorized
Forbidden
Not Found
Service Unavailable (strongbox sealed)
ttl: 1d meta: username: joe@acme.com policies: - user no-parent: true no-default-policy: true display-name: joe-git bound-cidrs: - 192.168.1.0/24 renewable: true max-ttl: 32d num-uses: 10 period: 30d
accessor: 9bb6b18e-50bb-45d7-a09d-16e75a3d7875 token: 6730b1a2-2ace-4357-b8be-c37e594bba45 creation-time: 2022-01-13T10:32:06.527959Z expires: 2022-01-15T17:52:20.892198Z parent-expires: 2022-01-15T17:52:20.892198Z
List accessors associated with the same entity as the caller.
OK
Bad Request
Unauthorized
Forbidden
Not Found
Service Unavailable (strongbox sealed)
accessors: - accessor: 05bf7506-cc46-47fa-8ed0-041a4922701a display-name: userpass-joe@acme.com - accessor: d0596eaa-a798-4062-8688-64fa2818e09b display-name: userpass-joe@acme.com