pit-...) granting access to the specific CRM objects the agent needs to update (Contacts, Opportunities, Calendars, and Workflows) and connect it to your MCP client so the model can run actions directly instead of describing manual clicks.
Last Completed Step, Ruled-Out Approaches and Why, and Current Blocker on the contact or project record and pass those fields into the prompt so every session starts with what changed overnight and which options were already rejected.
Configure an execution-focused AI agent with persistent decision memory in sub-account <YOUR_LOCATION_ID>: 1. In Settings > Private Integrations, connect a scoped Location token to HighLevel MCP tools so the agent can read and update Contacts, Opportunities, and Workflows directly. 2. In Settings > Custom Fields, create Last Completed Step, Ruled-Out Approaches and Why, and Current Blocker fields so the agent never repeats rejected workarounds. 3. In Automation > Workflow > Execution Logs, verify that each agent tool call writes a saved record ID or field change rather than returning a text explanation.
# Inspect sub-account custom fields and workflows via ghl-tools CLI / MCP ghl-crm custom-fields list --context <YOUR_CONTEXT> --location <YOUR_LOCATION_ID> ghl-crm workflows list --context <YOUR_CONTEXT> --location <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.
services.leadconnectorhq.com/mcp or ghl-tools), persist completed steps and rejected approaches in Settings > Custom Fields| Step | Menu Path in GHL | Action |
|---|---|---|
| Step 1 | Settings > Private Integrations | Create a scoped Location token (pit-...) granting access to the specific CRM objects the agent needs to update (Contacts, Opportunities, Calendars, and Workflows) and connect it to your MCP client so the model can run actions directly instead of describing manual clicks. |
| Step 2 | Settings > Custom Fields | Store Last Completed Step, Ruled-Out Approaches and Why, and Current Blocker on the contact or project record and pass those fields into the prompt so every session starts with what changed overnight and which options were already rejected. |
| Step 3 | Automation > Workflow > Execution Logs | Require every agent task to write a concrete CRM output (such as an updated custom field, a booked appointment ID, or a moved pipeline card) and check the saved record timestamp before marking the step complete. |
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 GoHighLevel MCP Server & Agent Execution Kit) and weekly live clinics.