Appearance
Connecting Claude to LeadConnector MCP
Claude Code (CLI) — Already Done on This Box
The server is already installed and connected on the Hetzner fleet:
bash
claude mcp add --transport http leadconnector https://services.leadconnectorhq.com/mcp/anthropic/v2Verify: claude mcp list — should show leadconnector: ... Connected
Or via .mcp.json in a project root:
json
{
"mcpServers": {
"leadconnector": {
"type": "http",
"url": "https://services.leadconnectorhq.com/mcp/anthropic/v2"
}
}
}On first use, Claude Code opens a browser for LeadConnector OAuth authorization.
Claude.ai
- Open Claude.ai → Settings → Connectors → Add custom connector
- Set server URL:
https://services.leadconnectorhq.com/mcp/anthropic/v2 - Click Connect and complete sign-in (sign in, pick sub-account, approve)
- Start a new chat — tools are now available
Test: "Find the last 5 contacts I added in LeadConnector"
Claude Cowork
- Open connectors/integrations settings in Claude Cowork
- Add custom connector
- Server URL:
https://services.leadconnectorhq.com/mcp/anthropic/v2 - Complete LeadConnector sign-in and pick sub-account
Using a Private Integration Token (PIT)
Instead of OAuth, pass a PIT in the Authorization header:
Authorization: Bearer pit-your-tokenCreate the token under Settings → Private Integrations in your GHL account, selecting the exact scopes needed. PIT has a more limited scope set than OAuth.
Permissions & Security
- One sub-account per connection — you choose which location at connect time.
- Scoped to your grant — the assistant can only perform operations your OAuth or PIT scopes allow.
- Safety checks — sensitive/irreversible operations have additional confirmation steps built in.
- Revoke access at any time from your LeadConnector account settings.