Agents

Voice and chat agents

Connect a voice or chat platform to Scute's auth MCP server with an agent key, verify the caller in the conversation, and look the conversation up from your backend.

A voice or chat agent on a platform such as ElevenLabs, Vapi or Claude connects to Scute's auth MCP server. It asks the caller for their email or phone, they read back a code, and from then on the conversation acts for that person, within the agent's roles and theirs. Your backend asks Scute about the conversation by the platform's own conversation id. No token passes through the model.

Connect the platform#

  1. Register the agent and give it ceiling roles.
  2. Create an agent key: POST /v1/apps/:app_id/authz/agents/:slug/keys. The key (scak_...) is shown once.
  3. In the platform, add an MCP server (Streamable HTTP) with this URL and the key as a bearer token:
URL:     https://api.scute.io/v1/mcp/auth/YOUR_APP_IDHeader:  Authorization: Bearer scak_...

A task token (sct_...) also works as the bearer, for a conversation your backend already started a task for.

The server#

POST/v1/mcp/auth/:app_idAgent key or task token

One JSON-RPC message per request, JSON responses. Protocol versions 2025-11-25, 2025-06-18 and 2025-03-26. GET (server-sent notifications) answers 405: the server never sends anything unasked.

Each MCP session is one conversation with its own task:

  • initialize starts a conversation. With an agent key, Scute starts a task for the agent that acts for nobody and lasts 1 hour. The response carries the Mcp-Session-Id header; send it on every later request.
  • Only the credential that started a conversation can continue it.
  • To link the platform's conversation id at the start, send it in the X-Scute-Conversation header on initialize, or pass conversation_id to scute_identify. The first link wins and never moves.
DELETE/v1/mcp/auth/:app_idAgent key or task token

Ends the conversation (by Mcp-Session-Id) and revokes its task, unless that task is the bearer token itself.

Tools#

ToolArgumentsDoes
scute_identifyemail or phone, conversation_idSends the person a code. Never says whether an account exists. At most 5 per conversation.
scute_submit_codecodeChecks the code. On success the conversation acts for that person.
scute_verify_againmethod (email_otp, sms_otp, totp, entra_push), permissionA fresh verification before something sensitive. The next check of that permission uses it.
scute_whoamiWho is verified, what the agent may do for them, what needs_verification and needs_approval
scute_checkaction, resourceMay the agent do this for them now. The decision plus a say line.
scute_sign_outForgets who they are. The conversation goes back to a task that acts for nobody.

Every tool answer has a say line for the model to speak, in both the text content and structuredContent. Before the person is verified, scute_whoami and scute_check answer not_identified.

When the person is verified, Scute ends the conversation's task and starts one that acts for them, with the time the old one had left (at least 60 seconds). A banned or suspended person gets the line "This account can't use this right now."

From your backend#

GET/v1/apps/:app_id/authz/agents/:slug/conversations/:conversation_idApp key

Who got verified in the conversation. The id is the platform's conversation id, such as ElevenLabs {{system__conversation_id}}. It also finds a session the agent opened with its task token, by the external_ref it gave.

curl https://api.scute.io/v1/apps/$SCUTE_APP_ID/authz/agents/support-voice/conversations/CONVERSATION_ID \  -H "Authorization: Bearer $SCUTE_APP_SECRET"
{  "id": "SESSION_ID",  "conversation_id": "CONVERSATION_ID",  "verified": true,  "verified_at": "2026-11-19T10:01:12Z",  "person": { "app_user_id": "APP_USER_ID", "email": "sam@example.com", "name": "Sam Lee" },  "trusted": [],  "ended": false,  "task": { "id": "TASK_ID", "status": "open" }}
POST/v1/apps/:app_id/authz/agents/:slug/conversations/:conversation_id/checkApp key

May the agent do this for the person verified in that conversation. Takes action, resource and context, and answers a decision with a say line. Nobody verified, or the conversation ended, is a 409 with not_verified. This check looks the conversation up by the platform's conversation id only.

curl -X POST https://api.scute.io/v1/apps/$SCUTE_APP_ID/authz/agents/support-voice/conversations/CONVERSATION_ID/check \  -H "Authorization: Bearer $SCUTE_APP_SECRET" \  -H "Content-Type: application/json" \  -d '{ "action": "refund", "resource": "invoice:42" }'

Both calls answer 404 with not_found when there is no conversation with that id for the agent.

In the dashboard#

Each agent's page in the dashboard has a Keys tab for agent keys and a Conversations tab that lists its conversations and who was verified in each.