Contacts, Calendars, Conversations, Workflows).
.mcp.json (or your environment config), pair the token with that sub-account's explicit GHL_LOCATION_ID so CLI commands and MCP tools always target the right location.
ghl-agency contexts --json and ghl-crm doctor --location-id <YOUR_LOCATION_ID> to confirm the Location ID and token scopes.
Set up sub-account token isolation for our GoHighLevel location: 1. Confirm the exact Location ID and Business Name of the target sub-account. 2. Verify that the Private Integration Token is scoped to this sub-account with only the required Contacts, Calendars, Conversations, and Workflows scopes. 3. Run ghl-crm doctor against the Location ID to confirm API connectivity.
# 1. MCP Tool Call (ghl-agency-mcp)
{
"tool": "contexts_verify_location",
"arguments": {
"location_id": "<YOUR_LOCATION_ID>"
}
}
# 2. Or run via ghl-agency Rust CLI
ghl-agency contexts --json && ghl-crm doctor --location-id <YOUR_LOCATION_ID>
Official GHL MCP vs. ghl-tools: HighLevel’s official hosted MCP (services.leadconnectorhq.com/mcp) covers public v2 CRM records (contacts, opportunities, appointments, conversations). ghl-tools MCP complements it with workflow graph inspection & recipes, funnel/form builders, DNS/BIMI checks, and ghl-crm doctor audits.
| Step | Menu Path in GHL | Action |
|---|---|---|
| Step 1 | Settings > Private Integrations | Click Create New Integration and select only the scopes required for that sub-account (Contacts, Calendars, Conversations, Workflows). |
| Step 2 | .mcp.json | Pair the token with that sub-account's explicit GHL_LOCATION_ID so CLI commands and MCP tools always target the right location. |
| Step 3 | YOUR_LOCATION_ID> to confirm the Location ID and token scopes. | Run ghl-agency contexts --json and ghl-crm doctor --location-id <YOUR_LOCATION_ID> to confirm the Location ID and token scopes. |
Connect Claude Code, Cursor, or OpenAI Codex to our ghl-tools MCP Server & Rust CLI to build workflows, forms, and funnels from your editor, or start your GoHighLevel plan through our partner link to unlock $612+ in ready-to-import kits (including ghl-tools MCP Server & Rust CLI) and weekly live clinics.