AI
Start the vendor OAuth flow for an MCP server connection.
Starts a vendor-fixed OAuth 2.1 authorization-code + PKCE flow so the authenticated customer can connect a GitHub or Linear account to an MCP server without ever handling a client_id/client_secret. Returns the vendor's authorize_url to redirect the user's browser to, plus a link_token used to correlate the eventual POST /mcpservers/oauth/complete call back to this flow.
post/mcpservers/oauth/start
Request body
Example request
{
"vendor": "github",
"mcp_server_id": "0b61dcbe-a770-11ed-bab4-2fc1dac66672"
}Response
The vendor authorize URL and a correlating link token.
Example response
{
"authorize_url": "https://github.com/login/oauth/authorize?client_id=...&state=...",
"link_token": "9f2c1e7a4b3d4f5e8a9b0c1d2e3f4a5b"
}Changes
Changed in 1 of the 97 revisions of this API.1
- ○
endpoint added
endpoint-added
- ○