Spojit connects to this server through a custom MCP server connection, so you add it with Add custom server rather than from the connector catalog. HubSpot maintains it and decides which tools it offers; see HubSpot’s remote MCP server documentation for the current list.
Before you start
Before connecting, create an MCP connector in HubSpot to get a client ID and secret for Spojit.1
Copy Spojit's redirect URI
In Spojit, go to Connections, click Add custom server, and choose OAuth 2.0. Copy the Redirect URI shown in the form (for example
https://miraxa.spojit.com/api/connectors/oauth/callback).2
Create an MCP connector in HubSpot
In HubSpot, go to Development > MCP Connectors and click Create MCP connector. Enter a Name such as
Spojit, paste Spojit’s redirect URI as the Redirect URL, and create it.3
Copy the credentials
Open the connector’s details page and copy the Client ID and Client secret.
Server URL
Connect in Spojit
1
Add a custom server
In Add custom server, enter a Name such as
HubSpot and paste the Server URL.2
Choose Auto authentication
Choose Auto and click Save & connect. Because HubSpot needs your own app, the OAuth 2.0 form opens with the authorization and token URLs already filled in.
3
Enter your connector's credentials
Paste the Client ID and Client Secret, leave Use PKCE (S256) on (HubSpot requires it), and click Save & connect.
4
Approve access in HubSpot
HubSpot opens its consent page. Sign in and approve. Spojit marks the connection Connected and refreshes the token automatically.
https://mcp.hubspot.com/oauth/authorize/user and Token URL https://mcp.hubspot.com/oauth/v3/token. Leave Scopes empty: HubSpot grants access based on the signed-in user’s permissions.
Use it in a workflow
Add a Connector node, pick your HubSpot server under Custom Servers, and choose Agent Mode or Direct Mode. See Use a custom server in a workflow.Things to know
- Permissions follow the user. Tools can only reach records the HubSpot user who approved the connection can see.
- Sensitive Data blocks some tools. If your account has Sensitive Data turned on, activity and conversation data is not available through the MCP server.
- Some tools need a subscription tier, for example Marketing Hub Professional for certain marketing tools.
Troubleshooting
HubSpot reports a redirect URL mismatch
HubSpot reports a redirect URL mismatch
The connector’s Redirect URL must match Spojit’s Redirect URI exactly.
Activity or conversation tools return nothing
Activity or conversation tools return nothing
Sensitive Data is turned on for the account, which blocks that data from the MCP server.