leadconnector_list_opportunities
Pack: leadconnector · Endpoint: https://gateway.pipeworx.io/leadconnector/mcp
List opportunities (pipeline deals) for a given pipeline. Requires a pipelineId (get one from leadconnector_list_pipelines). Returns deals with monetary value, stage, status, and the associated contact.
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). |
pipelineId | string | yes | Pipeline ID to list opportunities for (from leadconnector_list_pipelines) |
limit | number | no | Max opportunities to return (default 20, max 100) |
Example call
Arguments
{
"_apiKey": "your-leadconnector-api-key",
"pipelineId": "67089b5f2c1e4a7d9f3e2b1a"
}
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_opportunities","arguments":{"_apiKey":"your-leadconnector-api-key","pipelineId":"67089b5f2c1e4a7d9f3e2b1a"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('leadconnector_list_opportunities', {
"_apiKey": "your-leadconnector-api-key",
"pipelineId": "67089b5f2c1e4a7d9f3e2b1a"
});
More examples
{
"_apiKey": "your-leadconnector-api-key",
"pipelineId": "67089b5f2c1e4a7d9f3e2b1a",
"limit": 100
}
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.