Interactive OpenAPI
MCP
Scoped Bearer token management and Streamable HTTP /mcp human-approval controls.
POST
cookie
bryfo_session<token>HttpOnly, SameSite=Lax session cookie (7-day sliding TTL, 30-day cap).
application/json- body
name*stringscope*stringValue in
"read_only""draft_only""confirm_write""full"allowed_account_ids?array<string>apply_privacy_filter?booleanDefault
trueexpires_in_days?integerOne-time plaintext Bearer token and stored metadata record
curl -X POST 'https://mail.example.com/api/v1/mcp/tokens' \ --cookie 'bryfo_session=' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "scope": "read_only"}'Example Response200
Empty