sales-leadmagic
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseLeadMagic Platform Help
LeadMagic平台帮助
Help the user with LeadMagic platform questions — from email/mobile finding and company enrichment through ads intelligence, job tracking, API integration, and MCP server setup for AI agents.
为用户解决LeadMagic平台相关问题,覆盖邮箱/手机号查找、公司信息富集、广告情报、职位跟踪、API集成以及面向AI agents的MCP服务器搭建等场景。
Step 1 — Gather context
步骤1 — 收集上下文
Ask the user:
-
What area of LeadMagic do you need help with?
- A) Email Finder — finding verified work emails from name + company
- B) Email Validation — verifying emails, catch-all detection, deliverability scoring
- C) Mobile Finder — finding direct dial phone numbers
- D) Profile Search — enriching contacts from LinkedIn/B2B profile URLs
- E) Company Intelligence — company search, funding, technographics, competitors
- F) Employee/Role Finder — discovering employees or specific roles at companies
- G) Job Change Detector — tracking contacts changing jobs
- H) Ads Intelligence — Google, Meta, B2B ad research
- I) API Integration — REST API setup, authentication, endpoints
- J) MCP Server — setting up LeadMagic tools in Claude, Cursor, Windsurf, VS Code
- K) CLI — command-line usage
- L) Credits & Billing — credit costs, plan optimization
- M) Something else — describe it
-
What's your role?
- A) Sales rep / AE / BDR
- B) RevOps / GTM Ops / GTM Engineer
- C) Developer / Engineer
- D) Marketing / Growth
- E) Founder / solo seller
- F) Agency
- G) Other
-
What are you trying to accomplish? (describe your specific goal or question)
If the user's request already provides most of this context, skip directly to the relevant step. Lead with your best-effort answer using reasonable assumptions (stated explicitly), then ask only the most critical 1-2 clarifying questions at the end — don't gate your response behind gathering complete context.
询问用户以下信息:
-
你需要LeadMagic哪个功能模块的帮助?
- A) 邮箱查找 — 通过姓名+公司查找经过验证的工作邮箱
- B) 邮箱验证 — 验证邮箱可达性、全域邮箱检测、送达率评分
- C) 手机号查找 — 查找直拨手机号码
- D) 资料搜索 — 通过LinkedIn/B2B资料URL补充联系人信息
- E) 公司情报 — 公司搜索、融资信息、技术栈、竞品信息
- F) 员工/职位查找 — 查找目标公司的员工或特定岗位人员
- G) 职位变动检测 — 跟踪联系人的跳槽动态
- H) 广告情报 — Google、Meta、B2B广告调研
- I) API集成 — REST API搭建、鉴权、端点使用
- J) MCP Server — 在Claude、Cursor、Windsurf、VS Code中配置LeadMagic工具
- K) CLI — 命令行使用
- L) 额度与计费 — 点数消耗、套餐优化
- M) 其他问题 — 请描述
-
你的角色是什么?
- A) 销售代表/AE/BDR
- B) RevOps/GTM Ops/GTM工程师
- C) 开发/工程师
- D) 营销/增长
- E) 创始人/独立销售
- F) 代理商
- G) 其他
-
你想要实现什么目标?(请描述具体的目标或问题)
**如果用户的请求已经提供了大部分上下文,可以直接跳转到对应的步骤。**优先基于合理假设(需明确说明)给出尽可能完善的回答,最后仅补充1-2个最关键的澄清问题,不要等到收集完所有信息才给出回复。
Step 2 — Route or answer directly
步骤2 — 分流或直接解答
If the request maps to a specialized skill, route:
- Enrichment strategy / provider comparison →
/sales-enrich - Prospect list building strategy →
/sales-prospect-list - Intent signal strategy / prioritization →
/sales-intent - Competitive intelligence strategy →
/sales-compete - Email deliverability strategy →
/sales-deliverability - Tool integration architecture →
/sales-integration
Otherwise, answer directly using the platform reference below.
如果请求对应专门的技能模块,请跳转:
- 数据富集策略/服务商对比 →
/sales-enrich - 潜客列表搭建策略 →
/sales-prospect-list - 意向信号策略/优先级排序 →
/sales-intent - 竞品情报策略 →
/sales-compete - 邮箱送达率策略 →
/sales-deliverability - 工具集成架构 →
/sales-integration
否则,请参考下方平台说明直接解答。
Step 3 — LeadMagic platform reference
步骤3 — LeadMagic平台参考说明
Core concepts
核心概念
| Concept | What it is |
|---|---|
| Credit | Currency for API calls. Different endpoints cost different amounts. You only pay for valid results — not_found results are free. |
| API Key | Authentication token passed as |
| MCP Server | Model Context Protocol server that exposes all 19 LeadMagic tools to AI agents (Claude, Cursor, Windsurf, VS Code). |
| CLI | Command-line interface for running LeadMagic lookups from terminal. |
| 概念 | 说明 |
|---|---|
| Credit(点数) | API调用的计费货币,不同端点消耗的点数不同。仅有效结果计费,查找不到的结果免费。 |
| API Key | 鉴权令牌,通过 |
| MCP Server | 模型上下文协议服务器,可将全部19个LeadMagic工具开放给AI agents(Claude、Cursor、Windsurf、VS Code)使用。 |
| CLI | 命令行界面,可在终端中运行LeadMagic查询。 |
Endpoints by category
按分类列出的端点
People Data (10 endpoints)
人员数据(10个端点)
| Endpoint | Path | Credits | What it does |
|---|---|---|---|
| Email Finder | | 1 | Name + domain → verified work email. 97% accuracy. |
| Email Validation | | 0.25 | Verify email deliverability. Returns |
| Mobile Finder | | 5 | Find direct dial mobile numbers for decision-makers. |
| Profile Search | | 1 | Enrich from LinkedIn/B2B profile URL — work history, education, skills. 300 req/min rate limit. |
| Email to Profile | | 10 | Work email → B2B profile URL and details. |
| Profile to Email | | 1-2 | B2B profile URL → work email. |
| Personal Email Finder | | 1-2 | Find personal email addresses from B2B profiles. |
| Role Finder | | 1-2 | Find specific roles at a company (e.g., "VP Sales at Acme"). |
| Employee Finder | | 0.05 | Discover employees at target companies. Low-cost bulk discovery. |
| Job Change Detector | | 3 | Track when contacts change jobs. |
| 端点 | 路径 | 点数消耗 | 功能 |
|---|---|---|---|
| 邮箱查找 | | 1 | 姓名+域名 → 经过验证的工作邮箱,准确率97%。 |
| 邮箱验证 | | 0.25 | 验证邮箱可达性,返回 |
| 手机号查找 | | 5 | 查找决策人的直拨手机号码。 |
| 资料搜索 | | 1 | 通过LinkedIn/B2B资料URL补充信息:工作经历、教育背景、技能,速率限制300次/分钟。 |
| 邮箱转资料 | | 10 | 工作邮箱 → B2B资料URL及详情。 |
| 资料转邮箱 | | 1-2 | B2B资料URL → 工作邮箱。 |
| 私人邮箱查找 | | 1-2 | 通过B2B资料查找私人邮箱地址。 |
| 职位查找 | | 1-2 | 查找公司的特定岗位人员(例如"Acme公司的销售副总裁")。 |
| 员工查找 | | 0.05 | 查找目标公司的员工,低成本批量查询。 |
| 职位变动检测 | | 3 | 跟踪联系人的跳槽动态。 |
Company Data (4 endpoints)
公司数据(4个端点)
| Endpoint | Path | Credits | What it does |
|---|---|---|---|
| Company Search | | 1-2 | Firmographics by domain, name, or LinkedIn URL — industry, size, revenue, location. |
| Company Funding | | 4 | Funding rounds, investors, amounts, dates. |
| Technographics | via Company Search | incl. | Tech stack identification — what tools/technologies a company uses. |
| Competitors Search | via Company Search | incl. | Discover competitor companies in the same space. |
| 端点 | 路径 | 点数消耗 | 功能 |
|---|---|---|---|
| 公司搜索 | | 1-2 | 通过域名、名称或LinkedInURL获取企业统计信息:行业、规模、营收、地址。 |
| 公司融资 | | 4 | 融资轮次、投资方、融资金额、融资日期。 |
| 技术栈信息 | 附属于公司搜索接口 | 包含在内 | 识别公司使用的技术栈/工具。 |
| 竞品搜索 | 附属于公司搜索接口 | 包含在内 | 查找同领域的竞品公司。 |
Jobs & Ads (4 endpoints)
招聘与广告(4个端点)
| Endpoint | Path | Credits | What it does |
|---|---|---|---|
| Jobs Finder | | 1/result | Search job listings across industries. Filter by country, type, keywords. |
| Google Ads Search | | 1/ad | Analyze competitor Google search ads — ad copy, keywords, landing pages. |
| Meta Ads Search | | 1/ad | Research Facebook/Instagram ads — creative, targeting, engagement. |
| B2B Ads Search | | 1/ad | B2B advertising intelligence — display and social campaigns. |
| 端点 | 路径 | 点数消耗 | 功能 |
|---|---|---|---|
| 招聘信息查找 | | 1/条结果 | 搜索全行业招聘信息,支持按国家、类型、关键词筛选。 |
| Google广告搜索 | | 1/条广告 | 分析竞品的Google搜索广告:广告文案、关键词、落地页。 |
| Meta广告搜索 | | 1/条广告 | 调研Facebook/Instagram广告:创意素材、定向策略、互动数据。 |
| B2B广告搜索 | | 1/条广告 | B2B广告情报:展示广告和社媒投放活动。 |
Utility
工具类接口
| Endpoint | Path | Credits | What it does |
|---|---|---|---|
| Get Credits | | 0 | Check current credit balance. |
| Job Countries | | 0 | List available countries for job search. |
| Job Types | | 0 | List available job type filters. |
| 端点 | 路径 | 点数消耗 | 功能 |
|---|---|---|---|
| 查询点数余额 | | 0 | 查看当前点数余额。 |
| 招聘覆盖国家 | | 0 | 列出招聘搜索支持的国家。 |
| 招聘类型列表 | | 0 | 列出招聘搜索可用的类型筛选项。 |
API quick reference
API快速参考
bash
undefinedbash
undefinedBase URL
基础URL
Authentication — X-API-Key header
鉴权 — X-API-Key请求头
curl -X POST "https://api.leadmagic.io/v1/people/email-finder"
-H "X-API-Key: your_api_key"
-H "Content-Type: application/json"
-d '{"first_name": "Jane", "last_name": "Doe", "company_name": "acme.com"}'
-H "X-API-Key: your_api_key"
-H "Content-Type: application/json"
-d '{"first_name": "Jane", "last_name": "Doe", "company_name": "acme.com"}'
curl -X POST "https://api.leadmagic.io/v1/people/email-finder"
-H "X-API-Key: your_api_key"
-H "Content-Type: application/json"
-d '{"first_name": "Jane", "last_name": "Doe", "company_name": "acme.com"}'
-H "X-API-Key: your_api_key"
-H "Content-Type: application/json"
-d '{"first_name": "Jane", "last_name": "Doe", "company_name": "acme.com"}'
Check credit balance
查看点数余额
curl "https://api.leadmagic.io/v1/credits"
-H "X-API-Key: your_api_key"
-H "X-API-Key: your_api_key"
- **Response format**: JSON, mix of snake_case and camelCase depending on endpoint
- **Response times**: <200ms average, <100ms for many endpoints
- **Uptime**: 99.9%
- **Failed lookups**: Return `null` — no credits chargedcurl "https://api.leadmagic.io/v1/credits"
-H "X-API-Key: your_api_key"
-H "X-API-Key: your_api_key"
- **响应格式**:JSON,不同端点混合使用snake_case和camelCase命名
- **响应时间**:平均<200ms,很多端点<100ms
- **可用性**:99.9%
- **查询失败**:返回`null` — 不扣点数MCP Server setup
MCP Server搭建
LeadMagic provides an official MCP server with 19 tools for AI agents:
bash
undefinedLeadMagic提供官方MCP服务器,包含19个面向AI agents的工具:
bash
undefinedInstall
安装
npx leadmagic-mcp
npx leadmagic-mcp
Or add to Claude Code MCP config
或添加到Claude Code MCP配置
Settings > MCP Servers > Add:
设置 > MCP Servers > 添加:
Name: leadmagic
名称: leadmagic
Command: npx leadmagic-mcp
命令: npx leadmagic-mcp
Env: LEADMAGIC_API_KEY=your_key
环境变量: LEADMAGIC_API_KEY=your_key
**Supported clients**: Claude Code, Cursor, Windsurf, VS Code, Continue.dev, ChatGPT
**支持的客户端**:Claude Code、Cursor、Windsurf、VS Code、Continue.dev、ChatGPTPricing & credits (as of April 2026 — verify current pricing)
定价与点数(2026年4月数据 — 请以当前定价为准)
| Plan | Price | Credits/mo | Per credit | Rollover |
|---|---|---|---|---|
| Trial | $0 | 100 | Free | No |
| Basic | $59.99/mo | 2,500 | ~$0.024 | No |
| Essential | $99.99/mo | 10,000 | ~$0.010 | Yes |
| Growth | $179.99/mo | 20,000 | ~$0.009 | Yes |
| Advanced | $259.99/mo | 30,000 | ~$0.008 | Yes |
- Pay only for valid results — not_found results cost 0 credits
- Credit rollover on Essential plan and above (up to plan limit)
- All plans include all 19 endpoints, API + CLI + MCP access, unlimited team members
| 套餐 | 价格 | 每月点数 | 单点点数成本 | 点数结转 |
|---|---|---|---|---|
| 试用版 | $0 | 100 | 免费 | 不支持 |
| 基础版 | $59.99/月 | 2,500 | ~$0.024 | 不支持 |
| 核心版 | $99.99/月 | 10,000 | ~$0.010 | 支持 |
| 增长版 | $179.99/月 | 20,000 | ~$0.009 | 支持 |
| 高级版 | $259.99/月 | 30,000 | ~$0.008 | 支持 |
- 仅有效结果计费 — 查找不到的结果不扣点数
- 核心版及以上套餐支持点数结转(最高不超过套餐额度)
- 所有套餐包含全部19个端点、API+CLI+MCP访问权限、无限团队成员
Integrations
集成
Data platforms: Clay (native), Apollo, ZoomInfo, Databar
Outbound tools: Instantly, Smartlead
CRM: Salesforce
Automation: Zapier, Make, n8n
AI agents: Claude (MCP), Cursor (MCP), Windsurf (MCP), VS Code (MCP), ChatGPT
CLI: Direct command-line access
数据平台:Clay(原生集成)、Apollo、ZoomInfo、Databar
外拓工具:Instantly、Smartlead
CRM:Salesforce
自动化工具:Zapier、Make、n8n
AI agents:Claude(MCP)、Cursor(MCP)、Windsurf(MCP)、VS Code(MCP)、ChatGPT
CLI:直接命令行访问
Step 4 — Actionable guidance
步骤4 — 可落地的指导建议
When answering, always:
- Include credit costs — every endpoint has different credit costs. Help users budget (e.g., "Finding emails for 1,000 leads = ~1,000 credits via Email Finder").
- Emphasize free failed lookups — users only pay when data is found. This changes the ROI calculation vs flat-rate providers.
- Recommend the right endpoint — Email Finder vs Profile to Email vs Personal Email Finder serve different use cases. Guide users to the cheapest path.
- Consider MCP for AI workflows — if the user works in Claude, Cursor, or Windsurf, the MCP server gives them all 19 tools without writing code.
- Suggest Clay integration — for waterfall enrichment, LeadMagic is one of Clay's 150+ providers. Users can combine LeadMagic with other providers for max coverage.
解答问题时,请始终遵循以下原则:
- 说明点数消耗 — 每个端点的点数成本不同,帮助用户做好预算(例如「通过邮箱查找为1000条线索找邮箱≈消耗1000点数」)。
- 强调失败查询免费 — 用户仅为查到的数据付费,和固定费率的服务商相比ROI计算逻辑完全不同。
- 推荐合适的端点 — 邮箱查找、资料转邮箱、私人邮箱查找适用于不同场景,引导用户选择成本最低的方案。
- AI工作流推荐MCP — 如果用户使用Claude、Cursor或Windsurf,MCP服务器无需写代码即可使用全部19个工具。
- 建议Clay集成 — 作为层级数据富集方案,LeadMagic是Clay的150+内置服务商之一,用户可结合其他服务商获得最高的数据覆盖率。
Gotchas
注意事项
Best-effort from research — review these, especially items about plan-gated features and integration gotchas that may be outdated.
-
Mobile Finder costs 5x more than Email Finder. At 5 credits per valid mobile number, mobile enrichment burns credits fast. Budget separately — 1,000 mobile lookups = 5,000 credits (assuming 100% hit rate; less in practice since failed lookups are free).
-
Email to Profile is the most expensive endpoint at 10 credits. Reverse lookups (email → B2B profile) are costly. If you already have LinkedIn URLs, use Profile Search (1 credit) instead.
-
Basic plan credits don't roll over. Only Essential ($99.99/mo) and above get rollover. If you're on Basic and don't use all 2,500 credits, they expire at month end.
-
Field naming is inconsistent — mix of snake_case and camelCase. Different endpoints return fields in different conventions. When parsing responses programmatically, don't assume consistent naming. Check the OpenAPI spec or test each endpoint.
-
Rate limit on Profile Search is 300 req/min. Most endpoints don't document rate limits publicly, but Profile Search is capped at 300 requests per minute. For bulk enrichment, throttle accordingly or use the Employee Finder endpoint for discovery.
基于调研的最佳实践 — 请仔细核对,尤其是套餐限制功能、集成相关的内容可能过时。
-
手机号查找成本是邮箱查找的5倍:每个有效手机号消耗5点数,手机号富集消耗点数非常快,请单独做预算,1000次手机号查询=5000点数(假设100%命中率,实际更低,因为失败查询免费)。
-
邮箱转资料是成本最高的端点,每次消耗10点数:反向查询(邮箱→B2B资料)成本很高,如果你已经有LinkedIn URL,请改用资料搜索(1点数)。
-
基础版点数不支持结转:仅核心版($99.99/月)及以上套餐支持结转,如果你使用基础版,当月未用完的2500点数月底会清零。
-
字段命名不统一,混合使用snake_case和camelCase:不同端点返回的字段命名规则不同,代码解析响应时不要假设命名统一,请参考OpenAPI规范或单独测试每个端点。
-
资料搜索的速率限制是300次/分钟:大部分端点没有公开速率限制,但资料搜索上限是每分钟300次请求。批量富集时请控制速率,或者使用员工查找端点做批量查询。
Step 5 — Related skills
步骤5 — 相关技能
- — Enrichment strategy across all tools (for choosing providers, comparing approaches)
/sales-enrich - — Building targeted prospect lists (for list strategy beyond LeadMagic)
/sales-prospect-list - — Buying signals and account prioritization (for signal strategy using Job Change Detector)
/sales-intent - — Competitive intelligence (for competitive strategy using ads intelligence)
/sales-compete - — Email deliverability (for validation strategy beyond LeadMagic)
/sales-deliverability - — Connecting tools with webhooks, Zapier, APIs
/sales-integration - — Clay platform help (LeadMagic is a native Clay provider for waterfall enrichment)
/sales-clay - — Not sure which skill to use? The router matches any sales objective to the right skill. Install:
/sales-donpx skills add sales-skills/sales --skills sales-do
- — 跨工具的数据富集策略(用于选择服务商、对比方案)
/sales-enrich - — 搭建精准潜客列表(用于LeadMagic之外的列表策略)
/sales-prospect-list - — 购买信号和客户优先级排序(用于使用职位变动检测的信号策略)
/sales-intent - — 竞品情报(用于使用广告情报的竞品策略)
/sales-compete - — 邮箱送达率(用于LeadMagic之外的验证策略)
/sales-deliverability - — 通过Webhook、Zapier、API连接工具
/sales-integration - — Clay平台帮助(LeadMagic是Clay的原生服务商,可用于层级数据富集)
/sales-clay - — 不确定用哪个技能?路由会将任何销售目标匹配到合适的技能。安装命令:
/sales-donpx skills add sales-skills/sales --skills sales-do
Examples
示例
Example 1: Finding work emails for a prospect list
示例1:为潜客列表查找工作邮箱
User says: "I have 2,000 leads with names and company domains. How do I find their work emails with LeadMagic?"
Skill does: Recommends Email Finder endpoint (), shows curl example with first_name + last_name + company_name, calculates credit budget (~2,000 credits max, likely less since failed lookups are free), and suggests Essential plan ($99.99/mo, 10,000 credits) for headroom.
Result: API integration guide with credit budget and plan recommendation.
POST /v1/people/email-finder用户提问:「我有2000条线索的姓名和公司域名,怎么用LeadMagic找他们的工作邮箱?」
技能响应:推荐使用邮箱查找端点(),展示携带first_name + last_name + company_name参数的curl示例,计算点数预算(最多约2000点数,实际更低因为失败查询免费),建议选择核心版套餐($99.99/月,10000点数)预留额度。
结果:API集成指南,包含点数预算和套餐推荐。
POST /v1/people/email-finderExample 2: Setting up MCP server for Claude Code
示例2:为Claude Code搭建MCP服务器
User says: "I want to use LeadMagic tools directly in Claude Code for prospect research."
Skill does: Walks through MCP server setup — install via , configure API key, shows example usage of find_email and search_company tools within Claude. Notes all 19 tools available.
Result: Working MCP setup with usage examples.
npx leadmagic-mcp用户提问:「我想直接在Claude Code里用LeadMagic工具做潜客调研。」
技能响应:一步步指导MCP服务器搭建——通过安装,配置API key,展示在Claude中使用find_email和search_company工具的示例,说明全部19个工具都可使用。
结果:可用的MCP配置方案和使用示例。
npx leadmagic-mcpExample 3: LeadMagic vs Apollo for enrichment
示例3:LeadMagic和Apollo的数据富集对比
User says: "Should I use LeadMagic or Apollo for email finding? We do about 5,000 lookups a month."
Skill does: Compares LeadMagic's pay-per-result model (5,000 lookups @ ~$0.01 = ~$50-100/mo on Essential) vs Apollo's subscription model ($49/user/mo with credit limits). Notes LeadMagic's advantage in pay-only-for-found and API-first approach. Recommends LeadMagic for API/automation workflows, Apollo for teams wanting prospecting + outbound in one tool.
Result: Clear comparison with cost analysis and recommendation.
用户提问:「我应该用LeadMagic还是Apollo找邮箱?我们每月大概要查5000次。」
技能响应:对比LeadMagic的按结果付费模式(5000次查询@~$0.01 = 核心版套餐每月约$50-100)和Apollo的订阅模式($49/用户/月,有点数限制),说明LeadMagic在按有效结果付费、API优先架构上的优势,推荐API/自动化工作流用LeadMagic,想要集线索挖掘+外拓功能的团队用Apollo。
结果:清晰的对比分析,包含成本测算和推荐建议。
Troubleshooting
故障排查
Email Finder returning null for many lookups
邮箱查找返回大量null
Symptom: Email Finder returns null (not_found) for 40%+ of lookups.
Cause: Input data quality issues — misspelled names, wrong company domains, people no longer at that company.
Solution: Validate company domains first with Company Search. Use LinkedIn URLs with Profile to Email for higher hit rates. For stale lists, run Job Change Detector first to identify who's moved. Combine with other providers (via Clay waterfall) for maximum coverage.
症状:邮箱查找返回null(未找到)的比例超过40%。
原因:输入数据质量问题——姓名拼写错误、公司域名错误、人员已离职。
解决方案:先用公司搜索验证公司域名,搭配LinkedIn URL使用资料转邮箱获得更高命中率。对于过时的列表,先运行职位变动检测识别已跳槽的人员。通过Clay的层级富集结合其他服务商获得最高覆盖率。
Credits running out faster than expected
点数消耗比预期快
Symptom: Credit balance depleting before the billing cycle ends.
Cause: High-cost endpoints (Mobile Finder at 5 credits, Email to Profile at 10 credits) or ad search returning many results (1 credit per ad).
Solution: Audit endpoint usage in your dashboard. Favor low-cost endpoints (Email Finder at 1 credit, Employee Finder at 0.05 credits) where possible. Upgrade to Essential+ for credit rollover. Use Email Validation (0.25 credits) to pre-filter before running expensive lookups.
症状:点数余额在计费周期结束前就用完了。
原因:使用了高成本端点(手机号查找5点数/次、邮箱转资料10点数/次)或者广告搜索返回大量结果(每条广告1点数)。
解决方案:在控制台审计端点使用情况,尽可能优先使用低成本端点(邮箱查找1点数/次、员工查找0.05点数/次)。升级到核心版及以上套餐获得点数结转权限。运行高成本查询前先用邮箱验证(0.25点数/次)做预筛选。
MCP server not connecting
MCP服务器连接失败
Symptom: LeadMagic tools not appearing in Claude Code or Cursor after MCP setup.
Cause: API key not set in environment, or MCP config syntax error.
Solution: Verify is set in your environment or MCP config. Test the API key with — should return your balance. Check MCP config JSON syntax. Restart your editor after config changes.
LEADMAGIC_API_KEYcurl https://api.leadmagic.io/v1/credits -H "X-API-Key: your_key"症状:MCP配置完成后,Claude Code或Cursor中没有出现LeadMagic工具。
原因:环境变量中没有设置API key,或者MCP配置语法错误。
解决方案:确认环境变量或MCP配置中已设置,用命令测试API key,应该返回余额信息。检查MCP配置的JSON语法,修改配置后重启编辑器。
LEADMAGIC_API_KEYcurl https://api.leadmagic.io/v1/credits -H "X-API-Key: your_key"