> ## Documentation Index
> Fetch the complete documentation index at: https://nango.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# HubSpot (MCP)

> Integrate your application with the HubSpot MCP API

## 🚀 Quickstart

Connect to HubSpot (MCP) with Nango and start calling tools in minutes.

**1. Create the integration**

In Nango ([free signup](https://app.nango.dev)), go to [Integrations](https://app.nango.dev/dev/integrations) -> *Configure New Integration* -> *HubSpot (MCP)*.

**2. Authorize HubSpot**

Go to [Connections](https://app.nango.dev/dev/connections) -> *Add Test Connection* -> *Authorize*, then log in to HubSpot. Later, you'll let your users do the same directly from your app.

**3. Call a HubSpot MCP tool**

Make your first MCP request to HubSpot (e.g. fetch user details). Replace the placeholders below with your [Environment API key](https://nango.dev/docs/reference/backend/http-api/api-keys.md), [integration ID](https://app.nango.dev/dev/integrations), and [connection ID](https://app.nango.dev/dev/connections):

> [tab] cURL
>
> ```bash theme={null}
> curl "https://api.nango.dev/proxy//" \
>   -X POST \
>   -H "Authorization: Bearer <NANGO-API-KEY>" \
>   -H "Provider-Config-Key: <INTEGRATION-ID>" \
>   -H "Connection-Id: <CONNECTION-ID>" \
>   -H "Content-Type: application/json" \
>   -d '{
>     "method": "tools/call",
>     "params": {
>         "name": "get_user_details",
>         "_meta": {
>             "progressToken": 1
>         }
>     },
>     "jsonrpc": "2.0",
>     "id": 1
> }'
> ```

> [tab] Node
>
> Install Nango's backend SDK with `npm i @nangohq/node`. Then run:
>
> ```typescript theme={null}
> import { Nango } from '@nangohq/node';
>
> const nango = new Nango({ apiKey: '<NANGO-API-KEY>' });
>
> const res = await nango.post({
>     endpoint: '//',
>     providerConfigKey: '<INTEGRATION-ID>',
>     connectionId: '<CONNECTION-ID>',
>     body: {
>         method: 'tools/call',
>         params: {
>             name: 'get_user_details',
>             _meta: { progressToken: 1 }
>         },
>         jsonrpc: '2.0',
>         id: 1
>     }
> });
>
> console.log(res.data);
> ```

✅ You're connected! Check the [Logs](https://app.nango.dev/dev/logs) tab in Nango to inspect requests.

**4. Implement Nango in your app**

Follow our [Auth implementation guide](https://nango.dev/docs/guides/primitives/auth.md) to integrate Nango in your app.

To obtain your own credentials, follow the setup guide linked below.

## 📚 HubSpot (MCP) Integration Guides

Nango-maintained guides for common MCP use cases.

* [How to register your own HubSpot MCP OAuth app](https://nango.dev/docs/api-integrations/hubspot-mcp/how-to-register-your-own-hubspot-mcp-api-oauth-app)\
  Register an MCP auth app with HubSpot and obtain credentials to connect it to Nango.

Official docs: [HubSpot MCP server](https://developers.hubspot.com/docs/apps/developer-platform/build-apps/integrate-with-the-remote-hubspot-mcp-server)

***


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.