Creating a HubSpot MCP Auth App (OAuth 2.1)
This guide is part of the Publicus connection catalog. Once you have the credentials, connect the service and Publicus stores them for you.
Distilled from HubSpot’s own documentation: HubSpot MCP Server, plus the live authorization-server metadata and protected-resource metadata HubSpot serves for it. Retrieved 2026-08-22.
HubSpot’s MCP connector authenticates with an MCP Auth App, which is a different app type from
the public apps used by HubSpot OAuth 2.0 (public apps). It speaks OAuth 2.1, requires PKCE, and
has no scope configuration at all.
Create the app
Section titled “Create the app”- In your HubSpot developer account go to Development → MCP Auth Apps (beta) and create an app.
- Copy the Client ID and Client secret into a Publicus OAuth client for provider
hubspot.com, auth systemmcp-oauth2. - Under Redirect URLs, add the Publicus callback exactly:
https://<your-host>/oauth/callback. HubSpot matches redirect URIs exactly, and rejects hosts it cannot resolve publicly — a.localdevelopment hostname will not work, so put a tunnel in front of local development.
What is different from public apps
Section titled “What is different from public apps”- No scopes. The authorization-server and protected-resource metadata both report
scopes_supported: [], the app has no scope screen, and HubSpot’s own Installation URL Builder emits onlyclient_idandredirect_uri. The descriptor therefore declares an emptydefault_scopesso noscopeparameter is sent. What the token can reach is decided by the MCP connector, not by OAuth scopes. - PKCE is mandatory. Omitting
code_challengefails with “Authorization failed because the code challenge parameter is missing. PKCE is required for this authorization request.” This is the opposite of the public-app flow, where PKCE is not documented at all. - Different endpoints. Authorization and token live on the MCP host
(
mcp.hubspot.com/oauth/authorize/user,mcp.hubspot.com/oauth/v3/token), not onapp.hubspot.com/api.hubapi.com.
Regions
Section titled “Regions”HubSpot exposes mcp.hubspot.com plus the aliases mcp-eu1, mcp-na1 and mcp-na2. All of them
return metadata naming https://mcp.hubspot.com as the issuer, so the descriptor defaults to the
global host; the MCP Auth App UI builds install URLs against the region-specific alias. If
authorization fails for a regionally-pinned portal, switch mcp_host to that portal’s alias.
Pointing an MCP server at it
Section titled “Pointing an MCP server at it”Create an MCP server record with endpoint https://mcp.hubspot.com (the resource root is the
Streamable HTTP transport — /mcp returns 404), transport http, and select this connection under
Connection. Leave the legacy Auth token secret empty; the connection takes precedence and is
the only one of the two that can refresh an expiring token.
Connect it to Publicus
Section titled “Connect it to Publicus”Open Connections under Credentials, choose HubSpot, and pick HubSpot MCP Connector (OAuth 2.1). Publicus asks for exactly the fields listed above and keeps them in your workspace’s secret storage.
See also: HubSpot in the catalog.
This guide is maintained by Publicus and published under CC BY 4.0.