Agents

Connected apps

List and revoke the MCP clients a person let act for them, as that person or from your backend.

Each time a person approves an MCP client on the consent page, Scute records a grant: that client may act for that person on one MCP server with these scopes. A person can see their grants and take one back. Your backend can do the same for any user of the app.

Revoking a grant ends it at once. Its refresh tokens stop working, and Scute refuses its access tokens on introspection and token exchange, so the MCP gateway starts no new task for it.

As the signed-in person#

GET/v1/auth/:app_id/oauth/grantsSession token

The person's grants in this app, newest first, active and revoked, up to 200. Send their session token in X-Authorization.

{  "grants": [    {      "id": "GRANT_ID",      "client": { "name": "Example MCP client", "uri": "https://client.example" },      "resource": "https://mcp.acme.io/mcp",      "resource_name": "Acme MCP",      "scopes": ["tools:read", "tools:write"],      "created_at": "2026-11-01T09:00:00Z",      "last_used_at": "2026-11-19T08:12:00Z",      "active": true    }  ]}

last_used_at is the later of the last token use and the newest refresh. A revoked grant has revoked_at and revoked_reason.

POST/v1/auth/:app_id/oauth/grants/:id/revokeSession token

Revokes one of the person's own grants and answers it. Another person's grant is 404 with grant_not_found. Refused while an admin is impersonating the person.

From your backend#

GET/v1/apps/:app_id/oauth/grantsApp key

Every grant in the app, newest first, up to 200. Query: user_id, client_id, active=true. Each grant has id, client_id, client_name, user_id, user (email, name), resource, scopes, created_at, last_used_at, revoked_at and revoked_reason.

POST/v1/apps/:app_id/oauth/grants/:id/revokeApp key

Revokes the grant with the reason app_revoked.

Revoke reasons#

revoked_reasonCause
user_revokedThe person revoked it
app_revokedYour backend or an admin revoked it
client_revokedThe client called /revoke
client_disabledThe client was disabled
resource_removedThe MCP server was deleted
code_reuseAn authorization code was used twice
refresh_reuseA spent refresh token was presented again
user_banned, user_suspendedThe person was banned or suspended

Revokes by the person, your backend, the client and reuse detection are recorded as the audit event app.oauth.grant.revoked.