Cursor and Codex
Connect Cursor, Codex and other AI tools to HighLevel
To connect Cursor to HighLevel, add a server entry with the URL https://services.leadconnectorhq.com/mcp/cursor/v2 to .cursor/mcp.json in your project or ~/.cursor/mcp.json for all projects, then complete the HighLevel sign-in when Cursor asks. Codex, Muse and Grok Bot each have their own official route, covered below.
Part of GHL MCP, an independent HighLevel MCP guide. Sources: HighLevel’s MCP setup article and developer docs, and Cursor’s MCP documentation, checked in November 2026.
Affiliate note: if you start a trial through our button we may earn a commission from HighLevel, at no extra cost to you. Read our affiliate disclosure.
How do you connect Cursor to HighLevel?
Cursor reads MCP servers from a JSON file. Add one entry under mcpServers that points at HighLevel’s Cursor endpoint. Cursor supports OAuth with PKCE for remote servers, so the first time it connects it opens HighLevel’s sign-in, where you choose sub-accounts and approve permissions. No token goes in the file.
- Create or open
.cursor/mcp.jsonin your project folder (project only) or~/.cursor/mcp.jsonin your home folder (all projects). - Add this entry:
{"mcpServers": {"highlevel": {"url": "https://services.leadconnectorhq.com/mcp/cursor/v2"}}} - Save the file. Cursor detects the server and prompts you to sign in.
- Sign in with your HighLevel login, choose sub-accounts and approve.
- Check that the HighLevel tools appear under Available Tools, and use the toggle in Customize to switch the server on or off.
If you already have other servers in the file, add the highlevel entry inside the existing mcpServers object rather than creating a second one.
Project config or global config?
Use the project file when HighLevel matters to one codebase, and the global file when you want it everywhere. Cursor’s docs say .cursor/mcp.json applies to the project folder and ~/.cursor/mcp.json applies to all projects. Because HighLevel’s Cursor endpoint uses OAuth, the file holds only the URL and is safe to commit.
- Project file: good for a team repo, since everyone gets the same server entry and signs in with their own HighLevel login.
- Global file: good if you use HighLevel across many unrelated projects.
- Never commit tokens: if you use a Private Integration Token with another endpoint, keep it out of shared files.
Why connect HighLevel to a coding tool?
Developers building on HighLevel often need real data while they work: the shape of a contact record, the custom fields in a sub-account, or the inputs an action expects. With the MCP server connected, the coding assistant can look these up directly instead of you copying them from the HighLevel interface or API docs.
- Ask which custom fields and custom objects exist in a test sub-account before writing code that uses them.
- Use
describe_operationto see an action’s inputs, an example payload and required scopes. - Create sample records in a test sub-account to check how your integration handles them.
Connect a test sub-account, not a live client, while you develop. If your finished software needs exact, repeatable calls, use the HighLevel API for that part; our MCP vs API vs Zapier guide explains the split.
How does Cursor approve HighLevel actions?
By default, Cursor asks for approval before it runs any MCP tool, and you can expand the call to see its arguments. MCP tools follow the same run modes as terminal commands, so if you allowlist a tool it may run without asking. Keep HighLevel’s execute_operation off any auto-run list unless you are sure.
Cursor’s docs also say Enterprise admins can use an MCP allowlist to limit which tools from an approved server can run automatically. Teams working on client accounts should consider it. See our HighLevel MCP security guide.
How do you connect Codex?
Codex has two routes. In the Codex CLI you add HighLevel’s Codex URL with one command and log in with a second. In the Codex IDE extension you add a Streamable HTTP server from the MCP servers menu, restart the extension and click Authenticate to sign in to HighLevel.
- CLI: run
codex mcp add highlevel --url https://services.leadconnectorhq.com/mcp/openai/v2/codex, thencodex mcp login highlevel. - IDE extension: open the gear menu, go to MCP servers, choose Add server, pick Streamable HTTP, enter
https://services.leadconnectorhq.com/mcp/openai/v2/, save, restart the extension, then select Authenticate. - If sign-in fails: HighLevel suggests re-running the login command.
How do Muse and Grok Bot connect?
Both use an official HighLevel app inside the product rather than a pasted URL. You add the app, finish the HighLevel sign-in and choose sub-accounts. HighLevel lists a Muse endpoint, https://services.leadconnectorhq.com/mcp/muse/v2/, but says to connect through the official app.
- Muse: connect the official LeadConnector app and complete sign-in.
- Grok Bot: open Connect apps, search for HighLevel, click Add and complete sign-in. Type @ in a chat to attach HighLevel to a task.
What about other MCP clients and automation tools?
HighLevel names only the clients above. Other tools that can reach a remote MCP server over HTTP may work with the original universal endpoint, https://services.leadconnectorhq.com/mcp/, using OAuth or a Private Integration Token. HighLevel says that endpoint offers a narrower set of operations than the client-specific ones.
HighLevel’s own n8n article shows this pattern: the universal URL with an Authorization: Bearer header holding your token, plus an optional locationId header. Token steps are in our HighLevel MCP setup guide. Treat that token like a password and store it in the tool’s credential manager, not in shared files.
Which address goes with which tool?
Each official client has its own endpoint so it gets its own sign-in grant. Mixing them up is a common cause of failed sign-ins or missing actions. Use this table as a quick check, as of November 2026.
| Tool | Address or method |
|---|---|
| Cursor | https://services.leadconnectorhq.com/mcp/cursor/v2 |
| Codex CLI | https://services.leadconnectorhq.com/mcp/openai/v2/codex |
| Codex IDE extension | https://services.leadconnectorhq.com/mcp/openai/v2/ |
| Muse | Official LeadConnector app |
| Grok Bot | Official HighLevel app via Connect apps |
| Other HTTP MCP clients | https://services.leadconnectorhq.com/mcp/ (narrower scope) |
Related: connect Claude to HighLevel and HighLevel MCP troubleshooting. Back to the GHL MCP home page.
Try it on a real HighLevel account.
Start the free trial, set things up with your own data, and cancel before it ends if it isn’t right for you.
Affiliate link. See our disclosure.
FAQ