使用说明
Hubspot MCP🤖
简化将现有MCP服务器集成到Hubspot数据库过程的文档
先决条件
- Hubspot访问令牌,包含私人应用程序上所需的读/写权限。
- Cursor应用程序,用于访问MCP服务器并与LLM通信。
设置Hubspot
- 首选 Hubspot 并记账。
- 在Hubspot,开放
Settings > Integrations > Create private app. - 提供私人应用程序的基本信息。
- 在范围中,单击
Add new scope确保已选择以下选项:
crm.objects.contacts(读写)crm.objects.companies(读写)
- 添加范围后,单击
Create app. - 再次打开
Private apps并查看访问令牌。把它保存在一个安全的地方。我们将在MCP集成中使用它。
设置光标
- 下载 光标 并设置项目文件夹。
- 首选
settings > MCP > add new global MCP Server - 粘贴以下内容,并确保包含您的
Hubspot Access token:
{
"mcpServers": {
"hubspot": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"buryhuang/mcp-hubspot:latest",
"--access-token",
"<Your Access Token here>"
]
}
}
}
访问检查
我们可以使用下面的提示来检查一切是否顺利或失败。
检查访问令牌有效性
Test if the current access token is valid by making a minimal authenticated request to the HubSpot MCP Server.
输入测试数据进行检查
Create a Company with the following data:
name: Nimbus Technologies
description: Cloud infrastructure & AI services ☁️🤖
domain: nimbustech.ai
phone: +1-800-555-0199
website: https://www.nimbustech.ai
address: 123 Innovation Way
city: San Francisco
state: CA
zip: 94107
country: USA
industry: INFORMATION_TECHNOLOGY_AND_SERVICES
type: PROSPECT
numberofemployees: 4200
annualrevenue: 125000000
