Back to MCP directory
publicPublicdnsLocal runtime

hubspot

HubSpot MCP服务器实现,提供与HubSpot CRM的集成,通过标准化接口使AI模型能够与HubSpot数据和操作交互。

article

README

🚀 HubSpot MCP 服务器

HubSpot 模型上下文协议 (MCP) 服务器是一个用于集成 HubSpot CRM 的自定义 MCP 服务器。它能扩展 Claude 等语言模型的功能,使其与 HubSpot 的 CRM 系统进行交互。

🚀 快速开始

✨ 主要特性

  • 作为自定义 MCP 服务器,可集成 HubSpot CRM。
  • 能够扩展语言模型(如 Claude)功能,实现与 HubSpot CRM 系统交互。

📦 安装指南

平台支持

  • Linux/amd64
  • Linux/arm64
  • Linux/arm/v7

使用 Docker 安装

选项 1:从 Docker Hub 拉取镜像
docker pull buryhuang/mcp-hubspot:latest
选项 2:本地构建镜像
docker build -t mcp-hubspot .

运行容器:

docker run \
  -e HUBSPOT_ACCESS_TOKEN=your_access_token_here \
  buryhuang/mcp-hubspot:latest

您也可以直接通过命令行参数传递访问令牌:

docker run \
  buryhuang/mcp-hubspot:latest \
  --access-token your_access_token_here

跨平台发布

要将镜像发布到多个平台,可以使用 docker buildx 命令。按照以下步骤操作:

  1. 创建新的构建器实例(如果您还没有):
docker buildx create --use
  1. 构建并推送适用于多个平台的镜像
docker buildx build --platform linux/amd64,linux/arm64,linux/arm/v7 -t buryhuang/mcp-hubspot:latest --push .
  1. 验证镜像是否适用于指定平台
docker buildx imagetools inspect buryhuang/mcp-hubspot:latest

💻 使用示例

与 Claude Desktop 配合使用

通过 Smithery 安装

要自动为 Claude Desktop 安装 mcp-hubspot,请运行以下命令:

npx -y @smithery/cli@latest install mcp-hubspot --client claude
Docker 使用方法

在配置文件中添加以下内容:

{
  "mcpServers": {
    "hubspot": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "HUBSPOT_ACCESS_TOKEN=your_access_token_here",
        "buryhuang/mcp-hubspot:latest"
      ]
    }
  }
}

您也可以通过命令行参数传递访问令牌:

{
  "mcpServers": {
    "hubspot": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "buryhuang/mcp-hubspot:latest",
        "--access-token",
        "your_access_token_here"
      ]
    }
  }
}

🔧 开发

要设置开发环境:

pip install -e .

📄 许可证

该项目使用 MIT 许可证。

🔍 其他信息

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client