Connect AI agents via MCP
Query your LeadSleuth leads, dossiers and ICPs from Claude, ChatGPT, Cursor or any Model Context Protocol client. Read-only, scoped to your own data.
Endpoint & tools
https://leads.zalize.com/api/mcp
Streamable HTTP transport. Two ways to authenticate, both read-only and scoped to your own data: OAuth 2.1 (with dynamic client registration — clients like ChatGPT, Claude custom connectors and MCP Inspector register automatically and open a LeadSleuth consent page) or a Bearer API key shared with the REST API (60 requests/minute per key). Tools:
list_leads — list leads with optional status, min_intent, page, per_page filters
get_lead — a single lead by id, including its latest dossier
list_icps — your ICP profiles with parsed criteria
search_signals — keyword search over signal quotes, names and handles
Step 1 — Create an API key (skip if your client supports OAuth)
OAuth-capable clients (ChatGPT, Claude custom connectors, MCP Inspector) don't need a key — they take you through a login + consent page instead. Use an API key for header-based setups like Claude Code, Claude Desktop config and Cursor below.
- Open Settings → API in LeadSleuth.
- Name a key (e.g. "claude") and click Create.
- Copy the
lsk_… key now — the plaintext is shown exactly once. You can also copy a ready-made MCP config from the same page.
Claude Code & Claude Desktop
Claude Code (one command)
claude mcp add --transport http leadsleuth https://leads.zalize.com/api/mcp \
--header "Authorization: Bearer lsk_your_api_key"
Claude Desktop
Settings → Developer → Edit Config, then add to claude_desktop_config.json (uses mcp-remote, since Desktop config launches local commands):
{
"mcpServers": {
"leadsleuth": {
"command": "npx",
"args": ["mcp-remote", "https://leads.zalize.com/api/mcp",
"--header", "Authorization: Bearer lsk_your_api_key"]
}
}
}
Restart Claude Desktop, then ask e.g. "List my newest high-intent leads".
Claude custom connector (OAuth, no key)
On Claude plans with custom connectors: Settings → Connectors → Add custom connector, enter https://leads.zalize.com/api/mcp — Claude registers via OAuth and opens the LeadSleuth consent page; log in and click Approve.
Cursor
Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global) — Cursor supports Streamable HTTP natively:
{
"mcpServers": {
"leadsleuth": {
"url": "https://leads.zalize.com/api/mcp",
"headers": { "Authorization": "Bearer lsk_your_api_key" }
}
}
}
Enable the server in Cursor Settings → MCP, then use it from chat/agent mode.
ChatGPT
ChatGPT connects to remote MCP servers as connectors in developer mode (Plus/Pro, or when your workspace admin allows it):
- Open ChatGPT → Settings → Apps & Connectors (web: chatgpt.com → profile → Settings) and enable Developer mode under Advanced settings.
- Still under Apps & Connectors, click Create (custom connector), name it "LeadSleuth" and set the MCP server URL to
https://leads.zalize.com/api/mcp; leave authentication on OAuth.
- In a new chat, open the + menu near the composer → use the connector (under Developer mode / More) and select LeadSleuth.
When prompted to authenticate, ChatGPT registers itself automatically (OAuth 2.1 with dynamic client registration) and opens a LeadSleuth consent page — log in with your normal account and click Approve. No API key needed; access is read-only and scoped to your own data, and you can revoke it any time by denying future consents.
Security
- All tools are read-only — no tool can modify or delete your data.
- Each key is scoped to its owner's data only and can be revoked instantly in Settings → API.
- Rate limit: 60 requests/minute per key, shared with the REST API.
通过 MCP 接入 AI 代理
在 Claude、ChatGPT、Cursor 或任何 Model Context Protocol 客户端里查询你的 LeadSleuth 线索、尽调档案与 ICP。全部只读,仅限你自己的数据。
端点与工具
https://leads.zalize.com/api/mcp
Streamable HTTP 传输。两种认证方式,均为只读且仅限你自己的数据:OAuth 2.1(支持动态客户端注册 —— ChatGPT、Claude 自定义连接器、MCP Inspector 等客户端会自动注册并打开 LeadSleuth 授权页),或与 REST API 共用的 Bearer API 密钥(每密钥每分钟 60 次)。工具:
list_leads — 列出线索,可选 status、min_intent、page、per_page 筛选
get_lead — 按 id 获取单条线索,含最新尽调档案
list_icps — 你的 ICP 画像(含解析后的条件)
search_signals — 按关键词搜索信号引文、姓名与账号
第一步 — 创建 API 密钥(客户端支持 OAuth 可跳过)
支持 OAuth 的客户端(ChatGPT、Claude 自定义连接器、MCP Inspector)无需密钥 —— 它们会引导你登录并在授权页确认。下方 Claude Code、Claude Desktop 配置与 Cursor 等基于请求头的接入方式仍需 API 密钥。
- 打开 LeadSleuth 的设置 → API。
- 给密钥命名(如 "claude")并点击创建。
- 立即复制
lsk_… 密钥 —— 明文只显示一次。同一页面也可直接复制现成的 MCP 配置。
Claude Code 与 Claude Desktop
Claude Code(一条命令)
claude mcp add --transport http leadsleuth https://leads.zalize.com/api/mcp \
--header "Authorization: Bearer lsk_your_api_key"
Claude Desktop
设置 → Developer → Edit Config,在 claude_desktop_config.json 中添加(Desktop 配置只能启动本地命令,故借助 mcp-remote):
{
"mcpServers": {
"leadsleuth": {
"command": "npx",
"args": ["mcp-remote", "https://leads.zalize.com/api/mcp",
"--header", "Authorization: Bearer lsk_your_api_key"]
}
}
}
重启 Claude Desktop 后即可提问,例如「列出我最新的高意向线索」。
Claude 自定义连接器(OAuth,免密钥)
在支持自定义连接器的 Claude 套餐上:设置 → Connectors → Add custom connector,填入 https://leads.zalize.com/api/mcp —— Claude 会通过 OAuth 自动注册并打开 LeadSleuth 授权页,登录后点击同意即可。
Cursor
添加到 .cursor/mcp.json(项目级)或 ~/.cursor/mcp.json(全局)—— Cursor 原生支持 Streamable HTTP:
{
"mcpServers": {
"leadsleuth": {
"url": "https://leads.zalize.com/api/mcp",
"headers": { "Authorization": "Bearer lsk_your_api_key" }
}
}
}
在 Cursor 设置 → MCP 中启用该服务器,然后在聊天/代理模式中使用。
ChatGPT
ChatGPT 在开发者模式下以连接器(connector)形式接入远程 MCP 服务器(Plus/Pro 可用,或由工作区管理员开启):
- 打开 ChatGPT → 设置 → Apps & Connectors(网页版:chatgpt.com → 头像 → Settings),在 Advanced settings 中开启 Developer mode。
- 仍在 Apps & Connectors 页,点击 Create(自定义连接器),命名为 "LeadSleuth",MCP 服务器地址填
https://leads.zalize.com/api/mcp,认证方式保持 OAuth。
- 新建对话,打开输入框旁的 + 菜单 → 在 Developer mode / More 中选择 LeadSleuth。
需要认证时,ChatGPT 会自动完成注册(OAuth 2.1 + 动态客户端注册)并打开 LeadSleuth 授权页——用你的常规账号登录并点击同意即可。无需 API 密钥;授权为只读、仅限你自己的数据。
安全
- 所有工具均为只读 —— 任何工具都无法修改或删除你的数据。
- 每个密钥仅能访问其所有者自己的数据,并可在设置 → API 中即时撤销。
- 速率限制:每密钥每分钟 60 次请求,与 REST API 共享。