MCP Connectors
Get OAuth2 session token
Generates a short-lived JWT session token for initiating the OAuth2 authentication flow with an MCP server.
get/v1/mcp/oauth2/servers/{server_id}/session-token
Request
- Base URL: https://api.port.io
- URL: https://api.port.io/v1/mcp/oauth2/servers/{server_id}/session-token
- Auth: API key in header Authorization
Path parameters
server_idstring required
The unique identifier of the MCP server.
Response
Default Response
Changes
No recorded changes to this operation across all 1 revision of this API.