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

# Connect the HubSpot MCP server

> Connect HubSpot's remote MCP server to Condotta: create an MCP connector (auth app) in HubSpot, add Condotta's redirect URL, and sign in with OAuth and PKCE.

HubSpot hosts a remote MCP server with read and write access to your CRM: contacts, companies, deals, tickets, activities, and marketing content such as landing pages, blog posts, and campaigns. Connect it to Condotta to create deals from form fills, log activity from other systems, or enrich contacts with AI.

> [!NOTE]
>
> Condotta connects to this server through a [custom MCP server](https://docs.condotta.ai/connectors/remote-mcp-servers/custom.md) 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](https://developers.hubspot.com/docs/apps/developer-platform/build-apps/integrate-with-the-remote-hubspot-mcp-server) for the current list.

## Before you start

Before connecting, create an MCP connector in HubSpot to get a client ID and secret for Condotta.

**1. Copy Condotta's redirect URI**

In Condotta, go to **Connections**, click **Add custom server**, and choose **OAuth 2.0**. Copy the **Redirect URI** shown in the form (for example `https://app.condotta.ai/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 `Condotta`, paste Condotta'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

```
https://mcp.hubspot.com
```

## Connect in Condotta

**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. Condotta marks the connection **Connected** and refreshes the token automatically.

If the form does not prefill, choose **OAuth 2.0** and enter **Authorization URL** `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](https://docs.condotta.ai/connectors/remote-mcp-servers/custom.md#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

> [accordion] HubSpot reports a redirect URL mismatch
>
> The connector's **Redirect URL** must match Condotta's **Redirect URI** exactly.

> [accordion] Activity or conversation tools return nothing
>
> Sensitive Data is turned on for the account, which blocks that data from the MCP server.

## Learn more

* [Integrate AI tools with the HubSpot MCP server](https://developers.hubspot.com/docs/apps/developer-platform/build-apps/integrate-with-the-remote-hubspot-mcp-server)
* [HubSpot MCP Server](https://developers.hubspot.com/ai-tools/mcp)

> [card] [Try this free for 14 days](https://preview.condotta.ai/signup)
>
> Start a 14-day trial on Band 1. At day 14, choose your band, or stop.


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