Matrix logo

UWAC API

Universal Web Agent Connector — agent DID auth plus connect/callback/disconnect for the OAuth vault and a unified invoke surface for per-user external tools.

UWAC (Universal Web Agent Connector) is an OAuth vault that turns a user's connected third-party accounts into per-user MCP tools. Agents authenticate with their DID, connect accounts via OAuth, then invoke connector tools through a single surface.

Routes

MethodPathPurpose
GET/healthzLiveness.
GET/Service root / info.
POST/v1/agent/auth/challengeRequest a nonce for the agent DID.
POST/v1/agent/auth/verifyVerify the signed nonce → session token.
POST/v1/connectBegin an OAuth connect flow for a connector.
GET/v1/connect/callbackOAuth redirect callback (completes the connection).
POST/v1/disconnectRevoke and remove a connection.
POST/v1/invokeInvoke a connector tool with the stored credential.

Connect flow

1
Start

POST /v1/connect with the connector id returns an authorization URL. Send the user there.

2
Callback

The provider redirects to GET /v1/connect/callback; UWAC exchanges the code and stores the credential in the vault.

3
Invoke

POST /v1/invoke runs a connector tool on the user's behalf using the vaulted credential — exposed to the agent as an MCP tool.

Credentials live in the vault, never in agent manifests or prompts. The agent only ever sees a tool surface, not the underlying tokens.