Udon is under active development. Documentation not final.
udonudon
Ai

Generate an MCP access token

Creates (or replaces) the MCP access token. `role` defaults to `operator`. Admin only. The token is returned once.

POST
/api/ai/mcp/token

Authorization

udon_session<token>

In: cookie

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/api/ai/mcp/token" \  -H "Content-Type: application/json" \  -d '{}'
{  "token": "string",  "role": "string"}

Ask AI

Answers from Udon's documentation.

Ask how to install Udon, run containers, or share folders.