
GoHighLevel MCP Server
A Model Context Protocol server providing comprehensive integration with GoHighLevel's CRM, marketing automation, and business management tools, enabling AI assistants to interact with contacts, conversations, calendars, opportunities, payments, and workflows.
README
GoHighLevel MCP Server
A Model Context Protocol (MCP) server that provides comprehensive integration with the GoHighLevel API v2. This server enables AI assistants to interact with GoHighLevel's CRM, marketing automation, and business management tools.
Features
- 🚀 Complete API Coverage: Access to contacts, conversations, calendars, opportunities, payments, workflows, and more
- 🔐 Flexible Authentication: Supports both OAuth 2.0 and Private Integration tokens
- ⚡ Built-in Rate Limiting: Automatic rate limit management (100 requests/10s, 200k/day)
- 🛡️ Error Handling: Comprehensive error handling with detailed error messages
- 📦 Vercel Ready: Designed for deployment on Vercel with MCP support
- 🎯 Type-Safe: Full input validation and schema definitions for all tools
Installation
npm install ghl-mcp-server
Or install globally:
npm install -g ghl-mcp-server
Quick Start
1. Set up environment variables
Copy .env.example
to .env
and fill in your credentials:
cp .env.example .env
Edit .env
with your GoHighLevel credentials:
# Private Integration Token (simplest method)
GHL_PRIVATE_TOKEN=your_private_integration_token_here
# Or use OAuth (for multi-account access)
GHL_CLIENT_ID=your_oauth_client_id
GHL_CLIENT_SECRET=your_oauth_client_secret
2. Configure your MCP client
Add to your Claude Desktop or other MCP client configuration:
{
"mcpServers": {
"ghl": {
"command": "npx",
"args": ["ghl-mcp-server"],
"env": {
"GHL_PRIVATE_TOKEN": "your_token_here"
}
}
}
}
3. Start using GoHighLevel tools
The server provides the following tools:
Contact Management
ghl_create_contact
- Create a new contactghl_search_contacts
- Search for contactsghl_get_contact
- Get contact detailsghl_update_contact
- Update contact informationghl_delete_contact
- Delete a contactghl_add_contact_tags
- Add tags to a contactghl_remove_contact_tags
- Remove tags from a contact
Conversations & Messaging
ghl_send_message
- Send SMS, Email, or WhatsApp messagesghl_get_conversations
- Get conversation listghl_get_messages
- Get messages in a conversation
Calendar & Appointments
ghl_create_calendar
- Create a new calendarghl_create_appointment
- Book an appointmentghl_get_calendar_slots
- Get available time slotsghl_update_appointment
- Update appointment detailsghl_cancel_appointment
- Cancel an appointment
Sales & Opportunities
ghl_create_opportunity
- Create a sales opportunityghl_search_opportunities
- Search opportunitiesghl_update_opportunity
- Update opportunity detailsghl_delete_opportunity
- Delete an opportunityghl_get_pipelines
- Get pipeline list
Payments
ghl_create_order
- Create a payment orderghl_get_transactions
- Get transaction historyghl_get_orders
- Get order list
Automation
ghl_add_contact_to_workflow
- Add contact to workflowghl_remove_contact_from_workflow
- Remove from workflowghl_get_workflows
- Get workflow list
Usage Examples
Create a Contact
{
"tool": "ghl_create_contact",
"arguments": {
"locationId": "your_location_id",
"contactData": {
"firstName": "John",
"lastName": "Doe",
"email": "john.doe@example.com",
"phone": "+1234567890",
"tags": ["new-lead", "website"]
}
}
}
Send a Message
{
"tool": "ghl_send_message",
"arguments": {
"type": "SMS",
"contactId": "contact_id",
"locationId": "location_id",
"message": "Hello! Thanks for your interest."
}
}
Create an Appointment
{
"tool": "ghl_create_appointment",
"arguments": {
"appointmentData": {
"calendarId": "calendar_id",
"locationId": "location_id",
"contactId": "contact_id",
"startTime": "2025-07-23T15:00:00Z",
"endTime": "2025-07-23T16:00:00Z",
"title": "Consultation Call"
}
}
}
Authentication Methods
Method 1: Private Integration Token (Recommended for single account)
- Go to Settings > Integrations > Private Integration in GoHighLevel
- Create a new private integration
- Copy the token and add to your
.env
file
Method 2: OAuth 2.0 (For marketplace apps)
- Register your app in GoHighLevel Marketplace
- Set up OAuth with the required scopes
- Use the OAuth flow to get access tokens
Development
Running locally
# Install dependencies
npm install
# Run in development mode
npm run dev
Project Structure
ghl-mcp-server/
├── index.js # Main server entry point
├── src/
│ ├── api-client.js # GoHighLevel API client
│ ├── config.js # Configuration constants
│ ├── rate-limiter.js # Rate limiting logic
│ ├── error-handler.js # Error handling utilities
│ └── tools/ # Tool definitions
│ ├── contact-tools.js
│ ├── conversation-tools.js
│ ├── calendar-tools.js
│ ├── opportunity-tools.js
│ ├── payment-tools.js
│ └── workflow-tools.js
└── package.json
Deployment on Vercel
- Fork this repository
- Connect to Vercel
- Set environment variables in Vercel dashboard
- Deploy
The server is designed to work with Vercel's MCP integration out of the box.
Error Handling
The server provides detailed error messages for common scenarios:
- 401 Unauthorized: Invalid or expired token
- 403 Forbidden: Insufficient permissions/scopes
- 404 Not Found: Resource not found
- 429 Rate Limited: Too many requests
- 422 Unprocessable Entity: Validation errors
Rate Limits
GoHighLevel enforces the following rate limits:
- Burst: 100 requests per 10 seconds
- Daily: 200,000 requests per day
The server automatically tracks and enforces these limits.
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
MIT
Support
推荐服务器

Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。