ApiSessionsIdConnectorsAccountid
Attach a connected account to a session (the consent point)
Attaches an account to a session so its tools are exposed as an MCP tool server, and re-shows the custody disclosure (spec §Detailed Design 3). A known account whose connection resolves null still attaches (consent recorded) but is reported unexposed via a warning; no connection detail ever crosses to the client.
Path Parameters
id*string
accountId*string
Response Body
application/json
application/json
curl -X POST "https://example.com/api/sessions/string/connectors/string"{ "account": { "accountId": "string", "toolkit": "string", "label": "string", "status": "active", "serverName": "string", "exposed": true }, "disclosure": "string", "warning": { "accountId": "string", "label": "string", "reason": "expired" }}{ "error": "string", "details": null}