network.habitat.mcp.startAuthorization
POST/network.habitat.mcp.startAuthorization
Begin connecting the caller to an org-configured MCP server. For an oauth server, returns the server's authorization URL, for the caller's browser to open; once they approve, the authorization server redirects back to pear, which stores the caller's tokens. For a token server, the caller's access token (for example a personal access token) is required in token; pear stores it, which connects the caller right away, and returns no URL. Requires service-auth. Callable by any org member.
Request
Responses
- 200
- 400
- 401
OK
Bad Request
Unauthorized