HubSpot MCP

io.github.Servosity由 GitHub 账号 Servosity 发布v0.2.7更新于 Nov 8, 2026

Every HubSpot Sales Hub feature, plus offline cross-object queries, property-change-history

发布方自己的服务:Insurance Research Expert by Spot

概览

AI 生成的概览

本地运行的 HubSpot CRM 服务器,把 Sales Hub 数据同步到本地 SQLite,让助手做跨对象报表、历史查询和 CRM 写入。

可以做什么
  • 把 HubSpot 对象同步到本地 SQLite 镜像,支持全文搜索和属性历史快照
  • 生成汇总报表:会议状态报告、管道健康度、冷掉的联系人和交易、负责人负载、培育队列
  • 查询跨对象时间线和指定时间段内的变更,覆盖交易、联系人、互动和公司
  • 创建、更新、upsert、合并和关联 CRM 记录,包括批量更新联系人
  • 归档、删除和 GDPR 删除记录,每项都需显式确认参数
适用场景
适合需要 HubSpot 界面和搜索 API 无法给出的汇总与历史答案的销售或 MSP 团队,例如哪些会议曾经处于某个结果状态、哪些未结交易已停滞。也适合希望离线读取 CRM 数据、不消耗 API 调用的助手。
运行要求
作为本地进程在用户机器上运行(仅桌面端,不支持网页执行);通过 MCP 包或项目安装脚本安装,会把 CLI 和服务器程序放入用户 bin 路径。需要 HubSpot 私有应用访问令牌,放在 HUBSPOT_ACCESS_TOKEN 中,并具备所用对象的权限范围。可选设置包括 HUBSPOT_BASE_URL、HUBSPOT_MCP_READ_ONLY、HUBSPOT_NO_LOCAL_DATA、HUBSPOT_OWNER_EMAIL、HUBSPOT_USER_AGENT 和 PRINTING_PRESS_CLIENT_PROFILE。使用 HTTP 传输时还需 HUBSPOT_MCP_HTTP_TOKEN。
安装前请注意
令牌拥有 HubSpot 凭据的全部权限,包括修改 CRM 的工具;只读用途建议使用只读令牌并设置 HUBSPOT_MCP_READ_ONLY=1。持有 HUBSPOT_MCP_HTTP_TOKEN 的人可用这些凭据调用所有工具,应像密码一样保管。写入、归档、删除和 GDPR 删除命令需要显式确认参数,而助手也能自行传入,因此应在助手策略中保留审批环节。除非设置 HUBSPOT_NO_LOCAL_DATA,否则会在本地保留一份 CRM 数据副本。

安装

在 SourceWeft 中

  1. 打开 控制台中的 HubSpot MCP,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

HubSpot + AI - for Claude, the ChatGPT desktop app, GitHub Copilot, Gemini CLI, and any agent that speaks MCP

Unofficial. Community-built Claude Code Skill and MCP server for the HubSpot API. Not affiliated with, endorsed by, or sponsored by HubSpot Inc..

[HubSpot demo - animated preview]

▶ Watch the 30-second demo - demo data is simulated; every command shown exists in the real CLI.

Every HubSpot Sales Hub feature, plus offline cross-object queries, property-change-history reporting, and an agent-native data layer no other HubSpot tool has. Works with the AI you already use - ChatGPT (desktop app), Claude Desktop, Codex, Claude Code, Claude Cowork, and GitHub Copilot - plus Gemini CLI. Free, open source, runs on your laptop. Built for MSP owners. No code required.

Works with your agent

Security note. Local agents use the default stdio transport and need no network listener. HTTP mode (--transport http, for remote agents) refuses to start until HUBSPOT_MCP_HTTP_TOKEN is set, rejects any request without that bearer token, serves http://127.0.0.1:7777/mcp by default, and needs --tls-cert and --tls-key for any other address. It refuses a request body over 4 MiB or one that takes longer than 30 seconds to arrive. Whoever holds the token can call every tool with your HubSpot credentials, including tools that change your CRM, so treat it like a password, and set HUBSPOT_MCP_READ_ONLY=1 on a remote host that only needs to read. See mcp-install.md.

The six agents MSP owners actually use (self-serve, works today):

Your AI agentHow to install the HubSpot skill
Claude DesktopRun installer, then Settings > Extensions to register hubspot-mcp (no JSON editing).
ChatGPT (desktop app)Run installer, then add hubspot-mcp in Settings > MCP servers as a local (STDIO) server. ChatGPT on the web is not supported yet.
Codex CLIPaste the install prompt below.
Claude CodePaste the install prompt below.
Claude CoworkPaste the install prompt below.
GitHub Copilot (VS Code)Run installer, add hubspot-mcp to mcp.json under the servers key, then pick Agent mode.

The ChatGPT desktop app runs hubspot-mcp locally and shares MCP configuration with Codex (OpenAI). ChatGPT on the web needs a remote server, which msp-skills does not support yet. If your team works there, a hosted gateway is the better pick; check that your AI app is on the gateway's setup list. Setup steps: mcp-install.md.

Also for the Microsoft and Google stacks

Big install base, but an honest heads-up: Gemini CLI runs the local binary you just installed, while Microsoft 365 Copilot and the Gemini app need a remote server, which msp-skills does not support yet.

AgentWhat it takes
Microsoft 365 Copilot / Copilot StudioNot supported by msp-skills yet: it needs a remote server. A hosted gateway is the better pick; check that your AI app is on the gateway's setup list.
Google GeminiGemini CLI is local - same as Claude Code. See mcp-install.md. The Gemini app needs a remote server and is not supported by msp-skills yet.

Skill-native agents (also covered): Hermes and OpenClaw read this skill's SKILL.md directly and speak MCP - see their install sections below. Also works with Cursor, Windsurf, Cline, Continue.dev, and Zed via MCP. Full per-tool wire-up: docs/which-agent.md.

Run more than one agent? Install across all 51+ supported agents in one command: npx skills add Servosity/msp-skills@latest (requires Node.js, then run the per-skill installer for the CLI/MCP binaries). See docs/which-agent.md.

Install in 60 seconds

Path A - paste one prompt into your AI agent (recommended)

Copy this into Claude Code, Codex CLI, or Claude Cowork:

Install the HubSpot Skill and MCP server from Servosity/msp-skills in this agent workspace. If this workspace uses a POSIX shell (macOS, Linux, WSL, or Bash), run bash <(curl -fsSL https://raw.githubusercontent.com/Servosity/msp-skills/main/skills/hubspot/install.sh). If it uses Windows PowerShell, run iwr -useb https://raw.githubusercontent.com/Servosity/msp-skills/main/skills/hubspot/install.ps1 | iex. Then authenticate per the README and run hubspot-cli --help to explore.

The same prompt works in any agent that can run shell.

Path B - run the installer yourself

Windows (PowerShell):

powershell
iwr -useb https://raw.githubusercontent.com/Servosity/msp-skills/main/skills/hubspot/install.ps1 | iex

macOS / Linux:

bash
bash <(curl -fsSL https://raw.githubusercontent.com/Servosity/msp-skills/main/skills/hubspot/install.sh)

The installer drops both hubspot-cli (the CLI) and hubspot-mcp (the MCP server) into your user bin path. Claude Code, Codex, and Cowork discover the Skill via SKILL.md in this directory.

Verify:

bash
hubspot-cli --version

Add to Claude Desktop, the ChatGPT desktop app, GitHub Copilot, Gemini CLI, or another MCP client

After the installer runs, see mcp-install.md and docs/which-agent.md for the per-agent wire-up - one section per agent, including the GitHub Copilot servers key and the ChatGPT desktop app. Claude Desktop's Settings > Extensions panel is the simplest path; the MCP config block (for users who prefer editing JSON) is documented in mcp-install.md.

Install for Hermes

From the Hermes CLI:

bash
hermes skills install servosity/msp-skills/skills/hubspot --force

Inside a Hermes chat session:

/skills install servosity/msp-skills/skills/hubspot --force

Hermes speaks MCP natively, so it can also use the hubspot-mcp server directly - same install path, same env vars.

Install for OpenClaw

Tell your OpenClaw agent (copy this):

Install the hubspot skill from https://github.com/servosity/msp-skills/tree/main/skills/hubspot. The skill defines how its required CLI (hubspot-cli) can be installed via the openclaw: frontmatter block.

OpenClaw isn't generally available yet; the frontmatter wiring is pre-shipped and will activate the moment OpenClaw launches.

Authenticate

Set the credentials the CLI needs (from your HubSpot portal):

bash
HUBSPOT_ACCESS_TOKEN=<value> hubspot-cli doctor

doctor confirms the credentials work before you run anything that touches data. It exits 0 even when the credential is rejected, so scripts should add --fail-on error.

What this skill does

Question your MSP keeps askingCommand
Which meetings were ever in outcome "Scheduled" this month - even the ones that later flipped to No Show or Completed?hubspot-cli meetings status-report --status scheduled --month 2026-04
Who do I call today? (the daily nurture list)hubspot-cli nurture queue --owner me --top 20 --agent
Which contacts or deals have gone cold?hubspot-cli stale contacts --days 30 --owner me
What's my pipeline health right now? (open $ at risk + oldest open-deal idle days per stage)hubspot-cli pipeline-health default --idle-days 14
Are my reps overloaded?hubspot-cli owner-load --pipeline default
What's the cross-object timeline for this deal? (every call + email + meeting + note + task)hubspot-cli engagements of deal:1234567 --since 90d
What changed across contacts, deals, engagements, and companies since yesterday?hubspot-cli since 24h

Full command reference: guide.md. For the AI-agent operating contract (--agent, --dry-run, when to confirm before mutating), see AGENTS.md.

What makes this different

Most HubSpot integrations and MCP servers proxy each question into a live API call. That's fine for one record. It dies at scale, when you're asking "every deal that was at stage X at some point last quarter - across all 200 active accounts - with $ at risk weighted by stage probability and current rep load." The standard HubSpot search/filter API physically cannot answer the "was at stage X at some point" half of that question - only the property-history endpoint can - and chaining a join across deals, contacts, owners, engagements, and property snapshots through live REST is a 50-call dance the AI burns context on.

This skill syncs HubSpot into a local SQLite mirror with full-text search plus a property-history snapshot table (an open-source HubSpot CLI/MCP that captures propertiesWithHistory into a queryable shape). Aggregate questions become one local SQL join: instant, offline, and the AI sees the answer, not the raw data. Compound commands like meetings status-report, pipeline-health, and engagements of join across deals × contacts × owners × engagements × per-property history snapshots - work a stateless API wrapper can't do.

The pain this closes

The pain: monthly customer reports. An MSP customer asks "how many meetings were Scheduled with us in April?" - but by report time, every one of those meetings has flipped to Completed or No Show. HubSpot's UI can't answer "was ever Scheduled"; the standard search/filter API can't either; the property-history endpoint can, but no public HubSpot CLI or MCP exposes it in a queryable shape. See the HubSpot Community thread on V3 property-history for the long-running operator request, and the property-history retention discussion on r/hubspot for the workflow-impact framing.

This skill closes that gap with five commands an MSP owner can run from a single AI prompt:

  • hubspot-cli sync --resources hubspot-meetings-crm --with-history hs_meeting_outcome,hs_meeting_title,hubspot_owner_id - captures the property snapshots so the report has data
  • hubspot-cli meetings status-report --status scheduled --month 2026-04 --csv - the customer report itself, one command
  • hubspot-cli meetings ever-had --property hs_meeting_outcome --value SCHEDULED --from 2026-04-01 --to 2026-04-30 - same data, ad-hoc query
  • `hubspot-cli pipeline-health default --idle-days 14` - the rest of the QBR: which open deal dollars have sat idle 14+ days, per stage
  • hubspot-cli engagements of deal:<id> --since 90d - full activity trail for any specific deal under discussion

See pain-point.md for the longer narrative.

Frequently asked questions

Does this work with ChatGPT?

Yes, in the ChatGPT desktop app. It runs MCP servers locally (STDIO), the way hubspot-mcp runs, and shares MCP configuration with Codex (OpenAI): add hubspot-mcp under Settings > MCP servers as a STDIO server, or add it once to Codex's ~/.codex/config.toml. ChatGPT on the web is not supported by msp-skills yet: it needs a remote server. If your team works there, a hosted gateway is the better pick; check that your AI app is on the gateway's setup list. Setup steps: mcp-install.md.

Does this work with Codex, Cursor, Windsurf, Cline, Copilot, or Gemini?

Yes - all of them speak MCP. Cross-tool install commands are in the matrix above and the deep-dive in docs/which-agent.md.

Do I need to know how to code?

No. The recommended install is to paste one sentence into Claude Code or Codex - your agent reads SKILL.md and does the install. The fallback is a one-line installer per OS (bash or PowerShell). Neither path requires writing code. You'll enter your HubSpot credentials once.

Is my HubSpot data safe?

Your data stays on your machine. The CLI and MCP server are local binaries. The SQLite mirror sits in a directory under your user account. The AI agent only sees what the CLI returns - typically a query result, not raw bulk data. Credentials are read from your environment or your agent's config; never bundled into this repo or transmitted anywhere by MSP Skills.

How is this different from HubSpot's own Agent CLI (announced May 2026)?

HubSpot announced their own Agent CLI on 2026-05-27 - a stateless, live-API CLI for scheduled GTM automations (CRUD, JSONL, safety-gated bulk ops). This skill is a stateful, offline-first companion: it does what HubSpot's CLI doesn't - local SQLite mirror, full-text search, cross-object joins in one command, and the property-history wedge (meetings ever-had, meetings status-report) that HubSpot's CLI doesn't expose. Idiom-compatible where it matters (--filter grammar, JSONL stdin/out, and the contacts bulk-update dry-run → digest → confirm dance for large batches), so prompts written for HubSpot's CLI mostly port over.

Will this hit my HubSpot API rate limits?

The whole point of the local mirror is to stop hitting the API for read queries. After the first sync (which is paged and rate-limit-aware - --with-history requests propertiesWithHistory, which per HubSpot's batch-read API docs caps the records returned per request, so the CLI pages accordingly), every aggregate report runs against your local SQLite - zero API calls. Sync itself is gentle: pagination is built-in, you can scope with --resources and --since 7d, and the CLI emits sync-warning events when HubSpot throttles instead of swallowing them silently.

Do I need to be a HubSpot partner or pay for a specific tier?

No partnership required. You need a HubSpot Private App access token (free to create from any portal at app.hubspot.com/private-apps) with read scopes for the objects you care about (contacts, deals, meetings, etc.). Property-history retention varies by tier - HubSpot keeps ~90 days on free/Starter and longer on paid tiers; the CLI captures whatever's in the response and accrues forward from your first --with-history sync.

Will this replace my HubSpot UI?

No. The HubSpot UI is great for one record at a time, deal editing, drag-and-drop pipelines, and the things your reps live in daily. This skill is for the aggregate questions your reps and AI agent can't answer fast from the UI: "what changed across 200 deals this week," "who's at risk this quarter," "every meeting that was Scheduled in April even if it later flipped." Different surface, same data.

What does it cost?

Free. Apache-2.0 licensed. You pay only for whichever AI agent you use (Claude, ChatGPT, Codex, etc.), and that's billed by your AI provider, not by us.

Safety model

Every command that changes your HubSpot portal refuses to run, and sends nothing, unless you pass --yes to send it or --dry-run to preview the request. That covers each create, update, upsert, merge, archive, delete and association command plus import; POSTs that only read (search, batch read) run without it. contacts bulk-update needs --yes up to 100 rows and the digest confirm above that. An agent that can run the CLI can also pass --yes, so keep the approval step in its policy, plus the scope you grant the token.

TierExamplesRecommended agent policy
ReadAll reports, rollups, and search (stale, pipeline-health, nurture queue, deals top, engagements of, meetings history, meetings ever-had, meetings status-report, since, notes signals, owner-load, nurture-mine)Allow
Write (routine)contacts bulk-update (--yes up to 100 rows, digest + --confirm above that), crm post-…-batch-create/update/upsert (88 total; each needs --yes)Preview with --dry-run, then a reviewed write with --yes
Credential / security(none detected)Human-in-the-loop only
Destructivecrm delete-…-archive, *-crm delete-…, hubspot-contacts-crm post-…-gdpr-delete (24 total)Human-in-the-loop only, explicit --yes
Admin(none detected)Operator-only, not for agents

The examples above are not the full list: every other create, update, upsert, merge, association, list-membership and pipeline command is in the Write tier, and every delete, archive and gdpr-delete command is Destructive; hubspot-cli agent-context lists each command's HTTP method. All of them need --yes.

The strongest control is the scope you grant the HubSpot credentials - the CLI can only do what the credentials are permitted to do. A read/report workflow should use a read-only token. Full details, including how to lock it down, are in governance.md.

Status

Live-verified. Confirmed by Servosity (maintainer) against their own production tenant. More MSPs run it live in our weekly Build Sessions. RSVP at compoundingteams.com/build-sessions.


Standards. Conforms to the open Agent Skills spec (Anthropic, Dec 2025; 40+ agents). MCP-compatible - works with any MCP-capable agent including Hermes. OpenClaw-ready (frontmatter pre-wired, awaiting OpenClaw launch).

Maintained by Servosity. Apache-2.0 licensed. Built with CLI Printing Press. Last updated: 2026-06-04.

来源:skills/hubspot/README.md,提交 a719b42

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

8
  1. v0.2.6Nov 5, 2026
  2. v0.2.5Nov 5, 2026
  3. v0.2.4Oct 23, 2026
  4. v0.2.3Oct 22, 2026
  5. v0.2.2Oct 16, 2026
  6. v0.2.1Oct 14, 2026
  7. v0.2.0Sep 29, 2026
  8. v0.1.6Sep 16, 2026

评分

已满足适用检查项的 40%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。

其他 Spot 集成