WireCat hubspot

dev.wirecat由 wirecat.dev 發布v0.4.0更新於 Nov 20, 2026

hubspot for agents over MCP. Set up a profile with the hubspot CLI first.

發布方自己的服務:Wire Cash: bank wire fees and transfer costs

已驗證STDIO僅桌面效率與工作流商業與電商

概覽

AI 產生的概覽

在本機執行的 HubSpot CRM 命令列伺服器,讓 AI 助理依本機副本查詢、同步並修改交易、聯絡人與公司。

可以做什麼
  • 列出、檢視與搜尋交易、銷售流程及各階段,也可離線使用本機同步副本
  • 建立、重新命名、推進階段與關閉交易,並新增或更新聯絡人與公司
  • 即時讀取聯絡人、公司與帳戶負責人,列出備註、通話、郵件、會議與任務
  • 回報指定時間以來 CRM 的變動,例如新增、推進、成交或流失的交易
  • 呼叫 HubSpot CRM API 的任一操作,包括備註、任務、工單、關聯與合併
  • 將 CRM 副本與其他 WireCat 資料一起搜尋
適用情境
適合讓助理回答銷售流程問題、彙整隔夜 CRM 變動,或在不開啟 HubSpot 的情況下完成日常交易與聯絡人更新。也適合需要透過單一權限介面涵蓋 HubSpot API 的助理。
執行需求
透過 npx 在本機執行,需要 Node.js 22.16 以上的 22.x 或 Node.js 24 以上。需要 HubSpot 服務金鑰或舊版私有應用程式權杖,讀取需對應讀取範圍,修改需寫入範圍,透過命令列登入輸入並存放於系統鑰匙圈。每個帳戶需命名一個設定檔;同步與即時讀取需要網路。
安裝前請注意
金鑰等同密碼,擁有其範圍允許的全部權限,且工具無法撤銷,外洩後須在 HubSpot 中刪除或輪替。寫入會變更真實 CRM 記錄,刪除會先詢問;在 MCP 下無人回應時 ask 權限會直接執行,可用 readonly 或 deny 阻止助理。HubSpot 不支援冪等鍵,結果未知的寫入可能已經生效。1.0 之前的版本可能變更指令與工具。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 WireCat hubspot,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

[HubSpot CRM CLI for AI agents]

hubspot: HubSpot CRM CLI for AI agents

Know where every deal stands and what changed overnight, without opening HubSpot. Ask your AI agent, and it answers from a copy of your deals, contacts and companies on your computer, even offline.

Docs · Install · Usage · Discord

[CI] [License: Apache 2.0]

  • Ask instead of clicking. "Which deals are stuck in Contract sent?" gets an answer in a second, in Claude Code, Codex or any app that speaks MCP.
  • The morning starts with what changed. changes list shows what each sync saw change, and a schedule sends it to you.
  • Writes when you want them. Create and update deals, contacts and companies, move a deal or close it. The key stays read only until you give it the write scopes, and a delete asks first.
You:    What changed in the CRM since yesterday?
Agent:  (runs hubspot work changes list "at>=1d")
        · New deal "Example kitchen", 15 000 EUR, in Appointment scheduled
        · "Example office" moved to Closed won, 8 200 EUR
You:    Who is the contact on Example kitchen?
Agent:  (runs hubspot work deals show deal:12)
        Anna Example, [email protected], at Example LLC.

Invented deals, illustrative output.

Quick start

A super admin of the HubSpot account makes one key first: a service key (Development → Keys → Service keys) or the access token of a legacy private app. Give it these read scopes:

crm.objects.contacts.read     crm.objects.companies.read    crm.objects.deals.read
crm.objects.owners.read       crm.schemas.contacts.read     crm.schemas.companies.read
crm.schemas.deals.read        sales-email-read

To let hubspot change records too, add crm.objects.contacts.write, crm.objects.companies.write and crm.objects.deals.write. Leave them out and the key only reads.

Add crm.objects.leads.read on Sales Hub Professional or Enterprise to read leads, and tickets to read tickets through api. A scope you leave out fails only the commands that need it.

npm install -g @wirecat/hubspot-cli
hubspot skill install                  # the agent skill, for Claude Code, Codex and Gemini CLI
hubspot work session start             # paste the key when asked, it goes to the keyring
hubspot work sync                      # copy your deals, contacts and companies
hubspot work deals list status:open

work is a profile, a name you choose for this account. It is the first word of every command that uses the account. You need Node.js 22.16 or a later 22.x, or Node.js 24 or later. hubspot doctor shows what is set up and needs no network.

More: install and connect

What you can do

  • Know the pipeline. Open deals with their stage, amount and owner, the board of each pipeline and how many deals stand in each stage.
  • See what changed. Deals made, moved, won and lost, given another owner, and new activities, since any time you name.
  • Find a client. Any contact or company in the account, read live, with its phones and e-mails.
  • Follow the work on a deal. Notes, calls, e-mails, meetings and tasks, copied with the deals.
  • Change a deal from the chat. Create a deal, rename it, move it to the next stage, close it won or lost, or add a contact or a company, and the copy takes the change at once.
  • Reach past the copy. Every operation of HubSpot's CRM API is a command of its own: notes, tasks, tickets, associations and merges included.
  • Search across your work. A deal turns up next to the chat where you agreed on it and the meeting where you discussed it, if you use the other WireCat tools.

For AI agents

Ask in plain words. The agent picks the commands.

"Use hubspot. Which deals are waiting in Contract sent, and for how much?" "Use hubspot. What changed in the CRM since yesterday?"

  • Claude Code, Codex, Gemini CLI, OpenClaw and other agents with a terminal run hubspot themselves. hubspot skill install teaches them how.
  • Claude Desktop, Cursor and other MCP apps connect to hubspot work mcp serve.
hubspot work mcp add claude-code --allow-writes   # or: codex
hubspot work mcp config                           # the entry for Claude Desktop, Cursor and others

--allow-writes confirms you saw that the server offers commands that change something: sync and schedules on this computer, and the writes to HubSpot, which only a key with write scopes can make. Text from the account reaches the agent marked as untrusted, so the agent reads it as data, never as instructions. The sign-in commands are not offered over MCP.

More: agents and MCP

Why hubspot

  • A copy of your CRM on your computer. sync copies your deals with their contacts and companies, and the next sync takes only the changes. Lists, the pipeline and search then answer with no request to HubSpot, also offline.
  • The key stays in the system keyring. It never appears in output, errors or run records, and no command takes it as an argument.
  • A permission on every command. Each command and each operation of HubSpot's API has its own level, so you decide what an agent may read and change.
  • Your CRM beside your other context. Deals sit in the same local store as your messages, notes and meetings from the other WireCat tools, and search all finds them together.
  • As many accounts as you need. Each HubSpot account is a profile you name in the command, and none is ever picked for you.
  • Free and open source. Apache 2.0.

Main features

Deals and the pipeline

hubspot work deals list stage:"Contract sent"          # from the copy, offline too
hubspot work deals show deal:12                        # one deal with its stage, amount and the people on it
hubspot work pipelines list                            # the deal pipelines and their stages
hubspot work leads list                                # leads, on Sales Hub Professional or Enterprise
hubspot work deals create --title "Example kitchen" --amount 15000 --currency EUR
hubspot work deals move deal:12 "Contract sent"        # the next stage of its pipeline
hubspot work deals close deal:12 won

Contacts, companies and owners

hubspot work people list "Anna"                        # any contact in the account, read live
hubspot work organizations list "Example LLC"          # any company, read live
hubspot work users list                                # the account's owners
hubspot work people create --name "Anna Example" --email [email protected]
hubspot work organizations update 4021 --phone "+34 600 000 000"

Activities and what changed

hubspot work activities list                           # notes, calls, e-mails, meetings and tasks
hubspot work changes list "at>=1d"                     # what changed in the last day

Activities are copied once you turn on the activities setting. activities list names the setting.

Any operation of the API

hubspot work api list                                  # every operation, without calling HubSpot
hubspot work api deals-list --limit 5                  # one of them
hubspot work api notes-create --body-file note.json    # a note on a deal: a write, which asks first

api offers every operation of HubSpot's CRM API version 2026-03, from its 15 specs, each with its own permission: reads, writes and deletes. Notes, tasks and tickets are written here.

With your other sources

hubspot work search all "Example LLC"                  # the deal beside your other WireCat data

More: use it · command reference

How it works

  • A key, not a user. A service key or a private app token belongs to the account, not to a person. hubspot copies the whole account, and owner:me names nobody: filter by owner:<owner id> from users list.
  • Polite to HubSpot. hubspot sends at most 4 requests a second for each profile, under HubSpot's limits on every plan. When the account has spent its daily allowance, it says when the allowance comes back.
  • Made for scripts. --json prints one JSON value, and every error has a code to branch on.

Sign-in and profiles

A profile is a name you choose for one HubSpot account, such as work. It is the first word of every command that uses the account, and none is ever assumed: a command without one stops and names the choices. WCHUBSPOT_PROFILE=work sets it for one shell session.

hubspot work session start asks for the key without showing it, or reads it from stdin. It checks the key against the account and keeps it in the system keyring. --credential-storage file keeps it in a private file instead. session status --check names the account the key reads, session end forgets the key on this computer, and session list lists the profiles. account remove --keep-data or --delete-data forgets a profile, keeping or deleting its copy of the CRM.

A second profile that signs in to the same HubSpot account is refused, so one copy is never synced twice.

More: sign in · profiles

Settings and permissions

Each profile has a permission level for every command and every API operation: allow, ask, readonly or deny. A command's key is its name, such as deals.list. An API operation's key is api.<command>, such as api.deals-search, and api covers them all.

Changing a deal, contact or company with its command goes ahead; deleting one asks. An api call on deals, contacts or companies checks the key of the command that does the same, so deals.update deny or people deny holds on both paths, as in amoCRM and b24. Another api write also checks its group's .write, such as notes.write, and every delete its <group>.delete: both ask. A key belongs to the account, not to a person, so giving a record an owner checks crm.assign-others, which is deny until you allow it. A GDPR delete of a contact checks people.erase as well, so you can deny it alone.

hubspot work config set permissions.people deny   # this profile reads no contacts

Over MCP nobody is there to answer, so ask lets the command run. Set a key to readonly or deny to stop an agent. hubspot work mcp serve --permission people.list=deny makes a key stricter for one server only, never looser. WCHUBSPOT_READ_ONLY=1 refuses every write.

More: settings and permissions

Limits

  • hubspot is tested against a fake account built from HubSpot's API reference, and each release is checked against a HubSpot test account.
  • A contact keeps one e-mail and two numbers (phone and mobile), and a company one number and no e-mail: a longer list is refused. Leads, notes, tasks and a deal's contacts and company are written through api.
  • HubSpot takes no idempotency key: a write that ended in outcome_unknown may have happened. Check before repeating.
  • Tickets are read and written only through api, not copied.
  • Leads need Sales Hub Professional or Enterprise.
  • Before 1.0, a minor version may change commands, --json fields and MCP tools. The changelog marks each such change.

Security

The key works like a password: anyone who has it can read what its scopes allow. hubspot keeps it in the system keyring and never prints it. hubspot cannot revoke a key, so after a leak delete or rotate it in HubSpot.

More: security · Report a vulnerability: SECURITY.md

When something goes wrong

hubspot doctor                        # what is set up, without connecting
hubspot work session status --check   # whether the key works, and for which account

More: troubleshooting · Ask on Discord · Bugs go to this repository's issues.

Documentation

Every page is in docs/: install, use it, commands, settings, troubleshooting and security.

Development

pnpm install && pnpm build
node dist/bin/hubspot.js --help
pnpm test

Tests run against a fake account built from HubSpot's API reference, with invented records and an injected keyring. Nothing reaches a real account. pnpm release:check runs every check a release needs.

More: testing · design

Pull requests, bug reports and ideas go to issues.

Part of WireCat

hubspot is one of the WireCat tools: open-source, local-first command-line tools that give AI agents your context from messengers, mail, calendars, documents and CRMs. Each one works on its own.

License

Apache 2.0

來源:README.md,提交 7e721a6

工具

0
SourceWeft 曾在隔離沙箱中以無憑證方式啟動該軟體包一次,以列出其工具,但未能完成:伺服器未能啟動。

版本歷史

4
  1. v0.4.0最新Nov 19, 2026
  2. v0.3.2Nov 19, 2026
  3. v0.3.1Nov 19, 2026
  4. v0.2.0Nov 17, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Wire 整合