Connect Mcp Server
Connect to an MCP server with support for OAuth via SSE.
Returns a stream of events handling authorization state and exchange if OAuth is required.
Headers
Authorization
Header authentication of the form Bearer <token>
Request
This endpoint expects an object.
StdioServerConfig
OR
SSEServerConfig
OR
StreamableHTTPServerConfig
Response
Successful response