Ghl Mcp Server

io.github.northrosetech由 GitHub 帳號 northrosetech 發布v1.0.1更新於 Oct 24, 2026

GoHighLevel CRM for AI agents. 60+ tools for contacts, messaging, calendars, and payments.

概覽

AI 產生的概覽

一個本機 MCP 伺服器,將 AI 助理連接到 GoHighLevel CRM 子帳戶,提供 60 多個工具,涵蓋聯絡人、訊息、行事曆、銷售管道、付款等。

可以做什麼
搜尋、建立、更新、刪除與 upsert 聯絡人,管理標籤、備註、任務與工作流成員關係,並查詢位置、使用者、自訂欄位、表單、問卷、行銷活動、漏斗、產品與部落格。
適用情境
當你使用 GoHighLevel,並希望助理在不切換介面的情況下查詢或修改 CRM 記錄、傳送訊息、預約行程、推進商機或處理發票時使用。
執行需求
以本機 Node.js 程序執行,從 npm 套件安裝,透過 stdio 或 HTTP 啟動。需要在 GHL_API_KEY 中提供 GoHighLevel 私有整合權杖,在 GHL_LOCATION_ID 中提供子帳戶 ID;選用 GHL_API_VERSION、GHL_BASE_URL、LOG_LEVEL 與 TRANSPORT。整合需被授予所用功能的權限範圍。
安裝前請注意
此權杖可存取你的 GoHighLevel 子帳戶,應盡量縮小權限範圍,並避免放入共用設定。許多工具會寫入或刪除資料(聯絡人、備註、任務、預約、商機、標籤、自訂欄位),部分工具會傳送簡訊或電子郵件,以及建立、寄送或作廢發票,可能觸及真實客戶並涉及金錢。操作以你的整合權限執行。

安裝

在 SourceWeft 中

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

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

其他 MCP 客戶端

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

README

GHL MCP Server

GoHighLevel MCP Server for Claude, N8N, and Custom AI Agents Built by Saurabh K Shah (https://saurabhshah.com)

A comprehensive Model Context Protocol (MCP) server that connects AI assistants directly to your GoHighLevel CRM. Supports 60+ tools across contacts, conversations, calendars, pipelines, payments, invoices, workflows, custom fields, social media, and more.

Features

  • Contacts: Search, create, update, delete, upsert, tags, notes, tasks, workflow management
  • Conversations & Messaging: SMS, Email, WhatsApp, search threads, send messages, schedule sends
  • Calendars & Appointments: List calendars, get free slots, create/update/delete events
  • Opportunities & Pipelines: Full deal management, stage transitions, pipeline listing
  • Payments & Invoices: Orders, transactions, subscriptions, create/send/void invoices
  • Workflows: List all workflows, add/remove contacts from workflows
  • Custom Fields: List, create custom fields for contacts
  • Locations: Sub-account details, tags management
  • Users: Search team members
  • Forms & Surveys: List forms/surveys, get submissions
  • Campaigns: List all campaigns
  • Social Media: List/create posts, view connected accounts
  • Funnels & Blogs: List funnels, blogs
  • Products: List products and prices

Quick Start

1. Get Your GHL Credentials

  1. Log into GoHighLevel → Settings → Private Integrations
  2. Click Create New Integration
  3. Name it (e.g., "Claude MCP Server")
  4. Select all scopes you need (contacts, conversations, calendars, payments, etc.)
  5. Copy the Private Integration Token
  6. Note your Location ID (visible in the URL when viewing any sub-account)

2. Install & Configure

bash
git clone https://github.com/northrosetech/ghl-mcp-server.gitcd ghl-mcp-servernpm installcp .env.example .env

Edit .env:

env
GHL_API_KEY=your_private_integration_token_hereGHL_LOCATION_ID=your_location_id_here

Build:

bash
npm run build

3. Connect to Claude Desktop

Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on Mac):

json
{  "mcpServers": {    "ghl": {      "command": "node",      "args": ["/absolute/path/to/ghl-mcp-server/dist/index.js"],      "env": {        "GHL_API_KEY": "your_private_integration_token",        "GHL_LOCATION_ID": "your_location_id",        "TRANSPORT": "stdio"      }    }  }}

Restart Claude Desktop. You should see GHL tools available.

4. Connect to N8N (HTTP Mode)

Start the server in HTTP mode:

bash
TRANSPORT=http PORT=3001 GHL_API_KEY=your_token GHL_LOCATION_ID=your_id node dist/index.js

In N8N:

  1. Add an MCP Client node
  2. Set URL to http://localhost:3001/mcp
  3. Set transport to HTTP Streamable
  4. Use the GHL tools in your workflows

5. Connect to Claude Code

Add to your project's .mcp.json:

json
{  "mcpServers": {    "ghl": {      "command": "node",      "args": ["./ghl-mcp-server/dist/index.js"],      "env": {        "GHL_API_KEY": "your_token",        "GHL_LOCATION_ID": "your_id"      }    }  }}

Available Tools (60+)

Contacts (15 tools)

ToolDescription
ghl_search_contactsSearch contacts by query, tags, filters
ghl_get_contactGet contact by ID
ghl_create_contactCreate new contact
ghl_update_contactUpdate existing contact
ghl_delete_contactDelete contact
ghl_upsert_contactCreate or update by email/phone
ghl_add_contact_tagsAdd tags to contact
ghl_remove_contact_tagsRemove tags from contact
ghl_get_contact_notesGet contact notes
ghl_create_contact_noteAdd note to contact
ghl_delete_contact_noteDelete a note
ghl_get_contact_tasksGet contact tasks
ghl_create_contact_taskCreate task for contact
ghl_update_contact_taskUpdate task
ghl_add_contact_to_workflowAdd contact to workflow
ghl_remove_contact_from_workflowRemove from workflow

Conversations & Messaging (6 tools)

ToolDescription
ghl_search_conversationsSearch conversation threads
ghl_get_conversationGet conversation details
ghl_get_messagesGet messages in a thread
ghl_send_messageSend SMS/Email/WhatsApp/etc.
ghl_cancel_scheduled_messageCancel scheduled message
ghl_update_conversationUpdate conversation status

Calendars & Appointments (8 tools)

ToolDescription
ghl_list_calendarsList all calendars
ghl_get_calendarGet calendar details
ghl_get_free_slotsGet available booking slots
ghl_get_eventsGet appointments/events
ghl_create_eventCreate appointment
ghl_update_eventUpdate appointment
ghl_delete_eventDelete appointment
ghl_create_calendarCreate new calendar

Opportunities & Pipelines (7 tools)

ToolDescription
ghl_search_opportunitiesSearch deals
ghl_get_opportunityGet deal details
ghl_create_opportunityCreate new deal
ghl_update_opportunityUpdate deal / move stages
ghl_delete_opportunityDelete deal
ghl_update_opportunity_statusChange deal status
ghl_list_pipelinesList pipelines & stages

Payments & Invoices (9 tools)

ToolDescription
ghl_list_ordersList payment orders
ghl_get_orderGet order details
ghl_list_transactionsList transactions
ghl_list_subscriptionsList subscriptions
ghl_list_invoicesList invoices
ghl_get_invoiceGet invoice details
ghl_create_invoiceCreate invoice
ghl_send_invoiceEmail invoice to contact
ghl_void_invoiceVoid an invoice

Other Tools (15+ tools)

ToolDescription
ghl_list_workflowsList all workflows
ghl_list_custom_fieldsList custom fields
ghl_create_custom_fieldCreate custom field
ghl_get_locationGet location details
ghl_get_location_tagsGet location tags
ghl_create_location_tagCreate new tag
ghl_search_usersSearch team members
ghl_list_formsList forms
ghl_get_form_submissionsGet form submissions
ghl_list_surveysList surveys
ghl_list_campaignsList campaigns
ghl_list_social_postsList social posts
ghl_create_social_postCreate/schedule social post
ghl_list_social_accountsList connected social accounts
ghl_list_funnelsList funnels/websites
ghl_list_productsList products
ghl_list_blogsList blogs
ghl_list_linksList trigger links

Architecture

ghl-mcp-server/├── src/│   ├── index.ts              # Entry point (stdio + HTTP transport)│   ├── constants.ts          # All GHL API endpoints & config│   ├── types.ts              # TypeScript interfaces│   ├── services/│   │   └── api-client.ts     # Auth, rate limiting, error handling│   └── tools/│       ├── contacts.ts       # Contact management tools│       ├── conversations.ts  # Messaging tools│       ├── calendars.ts      # Calendar & appointment tools│       ├── opportunities.ts  # Pipeline & deal tools│       └── business.ts       # Payments, invoices, workflows, etc.├── dist/                     # Compiled JS├── package.json├── tsconfig.json└── .env.example

Rate Limits

The server includes built-in rate limiting matching GHL's limits:

  • Burst: 100 requests per 10 seconds
  • Daily: 200,000 requests per day

The server automatically queues and retries when limits are approached.

Error Handling

All tools return actionable error messages with hints:

  • 401: Check your API key (must be Private Integration Token)
  • 403: Missing scopes — edit your Private Integration in GHL Settings
  • 404: Resource not found — check the ID
  • 422: Validation error with details
  • 429: Rate limit — automatic retry

License

MIT — Built by Saurabh K Shah (https://saurabhshah.com)

來源:README.md,提交 95da1e8

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v1.0.1最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

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

  • 近 30 天內可連通25 分

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

  • 已宣告認證方式10 分

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

  • 已列出工具15 分

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

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