leadconnector_list_contacts
Pack: leadconnector · Endpoint: https://gateway.pipeworx.io/leadconnector/mcp
Search or list CRM contacts in a GoHighLevel/LeadConnector account. Free-text query matches name, email, or phone. Returns a {contacts:[…], meta} envelope with contact IDs, names, emails, phones, tags, and custom fields.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
_apiKey | string | yes | GoHighLevel/LeadConnector v1 Location API key (Settings → Business Profile → API Key). NOT a v2 Private Integration Token (pit- prefixed) — those are not supported yet. |
query | string | no | Free-text search across contact name, email, and phone |
limit | number | no | Max contacts to return (default 20, max 100) |
Example call
Arguments
{
"_apiKey": "your-leadconnector-api-key"
}
curl
curl -X POST https://gateway.pipeworx.io/leadconnector/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"leadconnector_list_contacts","arguments":{"_apiKey":"your-leadconnector-api-key"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('leadconnector_list_contacts', {
"_apiKey": "your-leadconnector-api-key"
});
More examples
{
"_apiKey": "your-leadconnector-api-key",
"query": "John Smith",
"limit": 50
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"leadconnector": {
"url": "https://gateway.pipeworx.io/leadconnector/mcp"
}
}
}
See Getting Started for client-specific install steps.