Skip to content
Console

Integration · Early access

HubSpot

Let OpenCode look up and update your HubSpot CRM: contacts, companies, deals, tickets and their activity.

What it does

Each member connects their own HubSpot account. Through HubSpot's MCP server, their OpenCode can then:

  • Find and read contacts, companies, deals, tickets and other CRM records.
  • Create and update records, and log calls, emails, meetings, notes and tasks.
  • Read campaigns and their metrics, and your account's users, teams and owners.

OpenCode works as the HubSpot user who connected.

Requirements

  • An OpenCode Console workspace with MCP turned on. MCP is in early access, so not every workspace has the tab yet.
  • An owner or admin to add HubSpot for the whole workspace. Any member can add it for themselves.
  • A HubSpot account for each member who connects. A Super Admin, or a user with App Marketplace access, may need to install the connector in your HubSpot account before anyone else can connect.
  • Each member's coding agent connected to Console, as Connect a client in Console shows.

Adding HubSpot

  1. In Console, open MCP and click Connect, or use Connect HubSpot at the top of this page. On the Connect an MCP server page, find HubSpot and click Connect.
  2. Each member connects their own HubSpot account. There's no shared workspace account.
  3. Sign in to HubSpot and approve the access OpenCode asks for.
  4. Other members connect the same way, from MCP in Console. If their OpenCode tries HubSpot before they've connected, it tells them where to.

Once a member connects, HubSpot appears in their OpenCode. Anyone can take it out of their own OpenCode with Disconnect on its page in MCP.

Console stores each sign-in's access and refresh tokens, encrypted, and sends them only to HubSpot. It doesn't look up your HubSpot profile. It also records the tools HubSpot lists (their names, descriptions and inputs) and its instructions for agents, so admins can review them.

Using HubSpot

Ask OpenCode in your own words. For example:

  • Summarize the deals in the Decision maker bought in stage worth more than $10,000.
  • What's the latest with Acme Inc.? Include any open tickets.
  • Log a note on the Acme deal with a summary of today's call.

OpenCode reaches HubSpot through Console, which adds your credentials on the way, so your OpenCode never holds them. Results go back to your OpenCode, which passes them to the model it's using. Console logs each call (the server, the tool, whether it was allowed and whose account it used) but never what was sent or returned.

Owners and admins review HubSpot's tools on its page in MCP and can turn any of them off. Tools HubSpot adds or changes later are available right away, unless an owner or admin turns on Hold new and changed tools for review. Rules in Controls decide who can use HubSpot, and can limit it to tools that only read.

Removing HubSpot

Disconnect your account

Open HubSpot in MCP, choose Disconnect from its … menu, and confirm. Console deletes its copy of your HubSpot tokens and any sign-in you had started. When someone leaves the workspace or is removed from it, Console deletes the accounts they connected for themselves the same way.

Remove HubSpot from the workspace

An owner or admin opens HubSpot in MCP, chooses Remove… from the … menu and confirms. Console deletes HubSpot from the workspace with every account connected to it, the tools it recorded, its settings and members' choices. Choosing Disable for the team in the same menu turns it off for everyone instead and keeps all of that until it's turned back on.

Remove the app in HubSpot

Disconnecting only removes what Console holds. To end OpenCode's access on HubSpot's side too: In HubSpot, click the settings icon, go to Integrations, then Connected Apps, and uninstall OpenCode.

If you remove the app there first, Console shows your account as needing reconnecting once it's next used, and keeps the encrypted tokens until you disconnect or an admin removes HubSpot.

Data and privacy

  • Console keeps each HubSpot sign-in's tokens encrypted and sends them only to HubSpot, never to OpenCode.
  • It records the tools and instructions HubSpot lists, so admins can review them. It doesn't look up your profile.
  • It logs each tool call (who made it, the integration, the tool, the outcome and timing) for 30 days, never what was sent or returned, and doesn't keep tool results.
  • Results reach your OpenCode and the model it's using.

The privacy policy explains how Anomaly handles personal data, and the terms of service cover using OpenCode. To ask for a copy of your data or for it to be deleted, email help@anoma.ly.

Support

Email help@anoma.ly. We reply within two business days (Monday to Friday, excluding US holidays), and you don't need an account. The support page covers data requests, security reports and more.

OpenCode uses large language models, which can make mistakes. Check its answers and changes before you rely on them.