Demo/Section 1/Calling your backend APIs · one Connections API
Section 1 · Step 5

Calling your backend APIs · one Connections API

HubSpot hands out OAuth tokens. Loan System works with an API key. Descope Connections is the single place that stores both — and the MCP server exchanges the user's token for whichever credential the downstream backend needs.

Descope · HubSpot connection
MCP scope → HubSpot connection scopes
scope mapping
loans:read
crm.objects.contacts.readcrm.objects.deals.read
The MCP server requests a HubSpot token by mcpScope; Descope returns a token carrying only the mapped HubSpot scopes — no more, no less.
With DescopeHubSpot token re-issued through Connections
How users originally authorize for HubSpot
Open a Claude Desktop-style flow and click through each screen manually.
hubspot · token.json