robbyDAninja/7fa-ghl-mcp
If you are the rightful owner of 7fa-ghl-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The GHL Agency MCP Server is an efficient GoHighLevel MCP server designed for agency management, offering 34 essential tools with a focus on performance and minimal token usage.
GHL Agency MCP Server
An efficient GoHighLevel MCP server designed for agency management with 34 essential tools. Built with performance in mind - uses only ~8,000 tokens vs 350,000+ tokens of the full server.
Features
- 34 Essential Tools - Focused on agency provider management
- Efficient Context Usage - Lazy loading keeps token usage minimal
- Safe Mode - Optional confirmation for destructive operations
- Clean Architecture - Modular design following best practices
- Comprehensive READ - Full visibility into GoHighLevel data
- Targeted WRITE - Focus on contacts, tags, workflows, and campaigns
Quick Start
1. Clone and Install
cd "/Users/robbyhiggins/Documents/MCP Servers/ghl-agency-mcp"
npm install
2. Configure Environment
Copy .env.example
to .env
and add your credentials:
cp .env.example .env
Edit .env
with your GoHighLevel credentials:
GHL_API_KEY=your_private_integration_api_key
GHL_LOCATION_ID=your_location_id
# Optional
SAFE_MODE=true # Adds confirmation prompts
DEBUG=true # Enable debug logging
3. Build the Server
npm run build
4. Configure Claude Desktop
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json
):
{
"mcpServers": {
"ghl-agency": {
"command": "node",
"args": ["/Users/robbyhiggins/Documents/MCP Servers/ghl-agency-mcp/dist/index.js"],
"env": {
"GHL_API_KEY": "your_private_integration_api_key",
"GHL_LOCATION_ID": "your_location_id",
"SAFE_MODE": "true"
}
}
}
}
5. Restart Claude Desktop
Quit and restart Claude Desktop. Look for the 🔨 tools icon to confirm connection.
Available Tools
Discovery Tools (5)
get_location
- View account structureget_location_custom_fields
- See custom data fieldsget_location_templates
- View email/SMS templatesghl_get_workflows
- List all workflowsget_email_campaigns
- View email campaigns
Contact Management (11)
search_contacts
- Find contactsget_contact
- View contact detailscreate_contact
- Add new contactupdate_contact
- Edit contactadd_contact_tags
- Add tags to contact ⭐remove_contact_tags
- Remove tagsbulk_update_contact_tags
- Update multiple contacts ⭐get_contact_notes
- View notescreate_contact_note
- Add notesget_contact_tasks
- View tasksget_duplicate_contact
- Check for duplicates
Tag Management (3)
get_location_tags
- View all tagsget_location_tag
- View specific tagcreate_location_tag
- Create new tag
Custom Fields (3)
create_location_custom_field
- Add custom fieldupdate_location_custom_field
- Edit custom fieldget_location_custom_field
- View custom field
Campaigns & Workflows (7)
add_contact_to_campaign
- Start email sequence ⭐remove_contact_from_campaign
- Stop sequenceremove_contact_from_all_campaigns
- Emergency stopadd_contact_to_workflow
- Trigger automation ⭐remove_contact_from_workflow
- Stop automationget_email_templates
- View templatescreate_email_template
- Save template
Communication (4)
search_conversations
- View conversationsget_conversation
- Read conversationsend_sms
- Send text messagesend_email
- Send email
Analytics (2)
search_opportunities
- View opportunitiesget_pipelines
- View sales pipelines
Usage Examples
Finding and Tagging Agency Providers
"Search for all contacts tagged as 'agency-provider'"
"Add the tag 'webinar-attendee' to contacts who opened our last email"
"Show me all contacts in California"
Campaign Management
"List all active email campaigns"
"Add John Doe to the 'Welcome Series' campaign"
"Create an email template for our monthly newsletter"
Workflow Automation
"Show me all available workflows"
"Add these 5 contacts to the 'New Provider Onboarding' workflow"
"Remove contact from all active workflows"
Safe Mode
When SAFE_MODE=true
, the server will:
- Log destructive operations without executing them
- Require confirmation for sends (SMS/email)
- Show what would happen before making changes
Architecture
This server uses efficient patterns:
- Lazy Loading - Tools load on-demand, not upfront
- Minimal Descriptions - 5-10 word tool descriptions
- Modular Design - Clean separation of concerns
- Smart Context - ~8K tokens vs 350K+ for full server
Troubleshooting
Server won't start
- Check your API credentials in
.env
- Ensure you're using a Private Integration API key
- Verify your Location ID is correct
Tools not showing in Claude
- Restart Claude Desktop completely
- Check for syntax errors:
npm run build
- Look for the 🔨 icon in Claude Desktop
API errors
- Enable debug mode:
DEBUG=true
- Check API key has required scopes
- Verify you're not hitting rate limits
Development
# Watch mode for development
npm run dev
# Clean and rebuild
npm run clean && npm run build
# Check logs (debug mode)
DEBUG=true npm start
Support
This server is designed for agency management workflows. For issues or questions:
- Check debug logs with
DEBUG=true
- Verify API credentials and scopes
- Ensure you're using the latest version
License
MIT