Credentials
- The MCP server accepts OAuth access tokens and short-lived agent access tokens only. Matrix access tokens are refused at the boundary.
- Tokens are verified for signature, exact issuer, subject, expiry and client before use. Algorithms are pinned; symmetric or unreviewed algorithms are rejected.
- Behind the MCP server, calls use short-lived, audience-restricted delegations (five minutes at most). Your OAuth token is not stored in that cache.
Logs and telemetry
- Logs use allowlisted, structured fields. Credentials and Action arguments are redacted by default.
- Every call carries a
correlation_idthat ties together the MCP request, AG2 Space and its audit record. - Event telemetry records delivery outcomes, never message bodies, callback URLs or secrets.
Webhooks
- Event deliveries are signed with your
whsec_secret (Standard Webhooks, HMAC-SHA256). Verify every one. - AG2 Space calls only public
httpsaddresses, follows no redirects, and caps each delivery at 256 KiB and 15 seconds. - Subscription secrets are stored only in the subscription store and never logged.
Published pages and links
Some Actions create links that leave the room:room.artifact.publish puts a page at a stable public URL, and room.artifact.share and room.media.link mint expiring viewer links. They are external_effect Actions with medium or high risk; treat them as publishing.
Report a vulnerability
security@ag2.ai
Email us privately with steps to reproduce, the affected URL or Action, and any
correlation_id. Please do not open a public issue for security problems.