uxie-ghl-factory
A plugin that turns Claude Code — or Codex — into a competent GoHighLevel operator: it
reads a sub-account, designs and builds workflows, courses, funnels, events, pipelines and AI
agents, and reaches GHL's own internal APIs when the public one falls short.
This is not an MCP wrapper around an API. The API access is the smallest part. The plugin
pairs it with GHL-specific judgement — a persisted per-client brief, specialist architecture
skills, a compiler with 147 enforced rules, read-back verification after every write, and
draft-first discipline — so the agent operates the account instead of narrating where to click.
What you can do with it
Point it at a sub-account, then ask in plain language:
- "Read this account and tell me how it's set up — what's automated, what's missing."
- "Design and build a 7-day lead-nurture workflow for Facebook leads."
- "Contacts are getting stuck in this workflow — figure out where and why."
- "Build this course from my curriculum doc — chapters, drip, quizzes, the offer."
- "Create a pipeline for our setter process and wire the stage moves."
- "Export this workflow's raw JSON before we touch it."
- "Build a Voice AI agent for this clinic."
You don't pick tools or skills by hand — the request routes itself. The skills exist so the agent
knows how GHL actually behaves (and when not to act), not as a menu you have to learn.
Quick start
Claude Code
/plugin marketplace add uxieee/uxie-ghl-factory
/plugin install uxie-ghl-factory@uxieee
Then /uxie-ghl-factory:setup (public rail: token, connection test), and — only if you need the
internal rail — /uxie-ghl-factory:internal-connect (the agent drives the browser; you just log
in).
Codex
codex plugin marketplace add uxieee/uxie-ghl-factory
codex plugin add uxie-ghl-factory@uxieee
The Codex build ships the skills only; configure the MCP servers once yourself — see
Using in Codex.
A normal session
You: /uxie-ghl-factory:brief ← once per client: business, offer, goals — persisted
You: "We're a cosmetic clinic. Facebook leads need a workflow that
gets them to book a consultation."
Agent: reads the brief · inspects existing workflows, tags, calendars, pipelines
· designs the architecture and shows you what it intends to create
· builds the workflow as a DRAFT through the internal builder API
· reads it back and verifies what was stored, not what was sent
· reports what exists, what's still needed, and how to publish
You: review in the GHL builder → publish is a separate, gated step
Nothing publishes, sends, or deletes as a side effect: every internal non-GET requires an explicit
confirm, and workflows always build as drafts.
How it works — two ways of talking to GHL
The plugin talks to GHL over two APIs, and almost every decision here comes down to which one you
are on. Throughout this repo they're called the public rail and the internal rail.
| Public rail | Internal rail |
|---|
| What | GHL's official, documented v2/v3 API | the same endpoints GHL's own web app calls |
| Auth | a Private Integration Token, long-lived | a browser session JWT, auto-renewed |
| Surface | 1520 operations across 90 categories | 1880 catalogued endpoints |
| Server | @uxieee/ghl-mcp (npm, runs locally) | uxie-ghl-internal-mcp (bundled, local stdio) |
| Status | supported, stable | undocumented, can change without notice |
Counts as of 2026-11-30, from scripts/doc-counts.mjs. Public operations are the non-deprecated entries of mcp-internal/catalog/public-ops.json; catalogued endpoints are the compiled catalogue, mcp-internal/catalog/internal-endpoints.json.
Default to public. The internal rail exists because the public API cannot reach the workflow
builder, memberships and courses, events, funnel/page content, Voice AI behaviour, or knowledge
bases at all.
Inspecting your own account's traffic is permitted; what GHL does not owe is compatibility. Every
internal write passes two gates — an owned-account check each session, and a one-time
acknowledgement per workspace.
Finding things — the same shape on both rails
Neither rail asks you to know an endpoint in advance.
public search_actions → describe_action → execute_action
internal search_endpoints → describe_endpoint → raw_request (or a typed tool)
The internal catalogue holds 892 endpoints across every product this project knows, from four
kinds of evidence, and each row says which: mined from GHL's own recovered front-end source,
transcribed into the corpus from live traffic, or adopted from what the shipped tools call.