LH

lkm1developer/hubspot-mcp-server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

13 stars 14 forks 质量 58 趋势 20MIT

中枢pot mcp 服务器

概览

一个强大的模型上下文协议(MCP)服务器执行,用于无缝HubSpot CRM集成,使AI助手能够与您HubSpot数据交互. 这个MCP服务器为与HubSpot CRM API互动提供了一整套工具,允许AI助手: - 创建和管理您 HubSpot CRM 中的联系人和公司 - 获取详细的公司活动历史和约定时限 - 访问您整个 HubSpot 实例中的最近接触数据 - 获取最近活跃的公司和联系人的名单 - 执行 CRM 操作而不离开您的 AI 助理接口 - : 将您的AI助手直接连接到您的 HubSpot CMM 数据 - : 通过自然语言命令执行常见的 HubSpot 任务 - : 从您的 HubSpot 实例中获取最新信息 - : 使用 HubSpot 的安全 API 令牌认证 - : 必要时容易添加更多的 HubSpot API 能力 服务器需要HubSpot API访问令牌. 你可以通过: 1. 联合国.

概述(AI 翻译)

一个强大的模型上下文协议(MCP)服务器执行,用于无缝HubSpot CRM集成,使AI助手能够与您HubSpot数据交互.

□ 概览

这个MCP服务器为与HubSpot CRM API互动提供了一整套工具,允许AI助手:

  • 在您的HubSpot客户关系管理中创建和管理联系人和公司
  • 获取公司活动的详细历史和聘用时间表
  • 获取您整个HubSpot实例的最新参与数据
  • 获得最近活跃的公司和联系人名单
  • 执行客户关系管理操作,而不离开你的AI助理接口

□为什么使用这个MCP服务器?

  • 无缝AI集成:将您的AI助手直接连接到你的HubSpot客户关系管理数据
  • ** 简化客户关系管理业务**: 通过自然语言命令执行常见的 HubSpot 任务
  • ** 实时数据访问**:从 HubSpot 实例获取最新信息
  • ** 安全认证**: 使用 HubSpot 的安全 API 令牌认证
  • ** 可扩展设计**:根据需要容易地增加HubSpot API能力

□ 安装

□ 配置

服务器需要HubSpot API访问令牌. 你可以通过:

  1. 联合国.

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

HubSpot MCP Server

A powerful Model Context Protocol (MCP) server implementation for seamless HubSpot CRM integration, enabling AI assistants to interact with your HubSpot data.

Overview

This MCP server provides a comprehensive set of tools for interacting with the HubSpot CRM API, allowing AI assistants to:

  • Create and manage contacts and companies in your HubSpot CRM
  • Retrieve detailed company activity history and engagement timelines
  • Access recent engagement data across your entire HubSpot instance
  • Get lists of recently active companies and contacts
  • Perform CRM operations without leaving your AI assistant interface

Why Use This MCP Server?

  • Seamless AI Integration: Connect your AI assistants directly to your HubSpot CRM data
  • Simplified CRM Operations: Perform common HubSpot tasks through natural language commands
  • Real-time Data Access: Get up-to-date information from your HubSpot instance
  • Secure Authentication: Uses HubSpot’s secure API token authentication
  • Extensible Design: Easily add more HubSpot API capabilities as needed

Installation

# Clone the repository
git clone https://github.com/lkm1developer/hubspot-mcp-server.git
cd hubspot-mcp-server

# Install dependencies
npm install

# Build the project
npm run build

Configuration

The server requires a HubSpot API access token. You can obtain one by:

  1. Going to your HubSpot Developer Account
  2. Creating a private app with the necessary scopes (contacts, companies, engagements)
  3. Copying the generated access token

You can provide the token in two ways:

  1. As an environment variable:

    HUBSPOT_ACCESS_TOKEN=your-access-token
    
  2. As a command-line argument:

    npm start -- --access-token=your-access-token
    

For development, create a .env file in the project root to store your environment variables:

HUBSPOT_ACCESS_TOKEN=your-access-token

Usage

Starting the Server

# Start the server
npm start

# Or with a specific access token
npm start -- --access-token=your-access-token

# Run the SSE server with authentication
npx mcp-proxy-auth node dist/index.js

Implementing Authentication in SSE Server

The SSE server uses the mcp-proxy-auth package for authentication. To implement authentication:

  1. Install the package:
    npm install mcp-proxy-auth
    
在 GitHub 查看完整 README

安装

npx mcp-proxy-auth node dist/index.js
新手?先看 mcpskill.org 教程 →