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 HighLevel MCP v2 vs. Local CLI: HighLevel’s official hosted MCP (services.leadconnectorhq.com/mcp/anthropic/v2 & /openai/v2, 181 OAuth scopes) covers CRM records, workflows (write/publish/logs), Voice AI, Conversation AI, Knowledge Bases, forms, emails, and SaaS locations. Use the Official GHL MCP v2 Guide and local CLI tools (ghl-crm, ghl-agency, ghl-onboard) for authoritative DNS/DMARC/BIMI checks, Cloudflare/Porkbun domains, funnel layout JSON/CSS edits, and cross-location snapshot diffs.
| 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 todos los kits listos para importar (incluyendo Servidor MCP y CLI en Rust ghl-tools) y sesiones clínicas en vivo semanales.