Contacts, Calendars, Conversations, Workflows).
.mcp.json (o la configuración de su entorno), vincule el token con el parámetro explícito de esa subcuenta GHL_LOCATION_ID para que los comandos de CLI y las herramientas MCP siempre apunten a la ubicación correcta.
ghl-agency contexts --json y ghl-crm doctor --location-id <YOUR_LOCATION_ID> para confirmar el Location ID y los alcances del token.
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.
| Paso | Ruta de menú en GHL | Acción |
|---|---|---|
| Paso 1 | Settings > Private Integrations | Hacer clic Crear nueva integración y seleccione únicamente los permisos requeridos para esa subcuenta (Contacts, Calendars, Conversations, Workflows). |
| Paso 2 | .mcp.json | Vincula el token con el explícito GHL_LOCATION_ID para que los comandos de CLI y las herramientas MCP siempre apunten a la ubicación correcta. |
| Paso 3 | YOUR_LOCATION_ID> para confirmar el Location ID y los alcances del token. | Ejecutar ghl-agency contexts --json y ghl-crm doctor --location-id <YOUR_LOCATION_ID> para confirmar el Location ID y los alcances del token. |
Conecta Claude Code, Cursor u OpenAI Codex a nuestro ghl-tools Servidor MCP y CLI en Rust para crear flujos de trabajo, formularios y embudos desde su editor, o inicie su plan de GoHighLevel a través de nuestro enlace de socio para desbloquear $612+ en kits listos para importar (incluyendo Servidor MCP y CLI en Rust ghl-tools) y sesiones clínicas en vivo semanales.