
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.
概览
本地运行的 HubSpot CRM 命令行服务器,让 AI 助手基于本机副本查询、同步并修改交易、联系人和公司。
- 可以做什么
- 列出、查看和搜索交易、销售管道及各阶段,也可离线使用本地同步副本
- 创建、重命名、推进阶段和关闭交易,并新建或更新联系人与公司
- 实时读取联系人、公司和账户负责人,列出备注、通话、邮件、会议和任务
- 报告指定时间以来 CRM 的变化,例如新建、推进、赢单或丢单的交易
- 调用 HubSpot CRM API 的任意操作,包括备注、任务、工单、关联和合并
- 将 CRM 副本与其他 WireCat 数据一起搜索
- 适用场景
- 适合让助手回答销售管道问题、汇总隔夜 CRM 变化,或在不打开 HubSpot 的情况下完成日常交易和联系人更新。也适合需要通过统一权限接口覆盖 HubSpot API 的助手。
- 运行要求
- 通过 npx 在本地运行,需要 Node.js 22.16 以上的 22.x 或 Node.js 24 以上。需要 HubSpot 服务密钥或旧版私有应用令牌,读取需相应读取范围,修改需写入范围,通过命令行登录输入并保存在系统钥匙串。每个账户需命名一个配置档;同步和实时读取需要网络。
安装
在 SourceWeft 中
- 打开 控制台中的 WireCat hubspot,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
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
- 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 listshows 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
hubspotthemselves.hubspot skill installteaches 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.
synccopies 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 allfinds 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.
hubspotcopies the whole account, andowner:menames nobody: filter byowner:<owner id>fromusers list. - Polite to HubSpot.
hubspotsends 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.
--jsonprints 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.
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
hubspotis 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_unknownmay 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,
--jsonfields 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.
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
来源:README.md,提交 7e721a6
工具
0版本历史
4- v0.4.0最新Nov 19, 2026
- v0.3.2Nov 19, 2026
- v0.3.1Nov 19, 2026
- v0.2.0Nov 17, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
其他 Wire 集成
Wire Cash: bank wire fees and transfer costs
cash.wire官方发布者
Wire Cash 让助手查询美国银行公布的境内外电汇手续费、当日截止时间,以及向墨西哥、印度、菲律宾汇款的 World Bank 汇款成本。

WireCat wordpress
dev.wirecat
通过 MCP 为智能体提供 wordpress。请先用 wordpress CLI 设置一个配置文件。AI 翻译

WireCat ydisk
dev.wirecat
通过 MCP 为代理提供 ydisk。请先用 ydisk CLI 设置配置文件。AI 翻译

WireCat attio
dev.wirecat
本地运行的 Attio CRM 命令行工具与 MCP 服务器,让 AI 助手基于同步到本地的副本回答商机、销售阶段和联系人问题。

WireCat amo
dev.wirecat
本地 CLI 兼 MCP 服务器,让 AI 助手基于本地同步副本读取、搜索并修改 amoCRM 或 Kommo 账户中的商机、联系人和任务。