Troubleshooting
Fix LeadMagic MCP connection problems, OAuth authentication errors, stale tool metadata, and client-specific issues in Cursor, Claude, and more.
Quick Diagnostics
Ask your AI assistant: "Check my LeadMagic credit balance."
If it returns your balance, your connection and authentication work. If not, use the sections below.
After a LeadMagic MCP update
LeadMagic ships improvements to the hosted MCP server at https://mcp.leadmagic.io/mcp. When we release fixes, you do not need to install a new npm package, bump a CLI version, or change your client config.
To pick up the latest server, reload the LeadMagic connector in your AI app's MCP settings (not a browser tab), then start a new chat: some clients cache tool lists and server instructions on the old conversation.
How to reload LeadMagic MCP
How to reload LeadMagic MCP
| Client | What to do |
|---|---|
| Cursor | Settings → MCP → turn LeadMagic off and on, or restart Cursor after saving .cursor/mcp.json. Then open a new chat. |
| VS Code / Copilot | Command Palette → Developer: Reload Window, then start a new agent chat that uses LeadMagic. |
| Claude Code | Run /mcp, select LeadMagic and reconnect (or remove and re-add it); start a new conversation. |
| Claude.ai / Claude Desktop (connector) | Customize → Connectors → LeadMagic → disconnect and reconnect; start a new chat. |
| ChatGPT (plugin) | chatgpt.com/plugins → LeadMagic → reconnect; start a new chat. |
If reload alone does not show updated tools, open the client's MCP / Connectors / Plugins settings → LeadMagic → sign in again. See Setup.
How do I know an update applied?
How do I know an update applied?
Ask: "Check my LeadMagic credit balance" (should work even at 0 credits). For bulk lists, prefer a staged file URL or the CSV upload widget: do not paste a giant CSV into a tool argument.
Confirm the hosted server version (support / operators):
You should see "ok": true and a current "version" (for example 2.12.21 or newer).
Connector listings in the Claude or ChatGPT app stores can lag behind the live server. Remote MCP at mcp.leadmagic.io updates as soon as we deploy; reloading the LeadMagic connector (then a new chat) is what matters for day-to-day use.
Connection Issues
Server not found or tools not appearing
Server not found or tools not appearing
Symptoms: AI assistant doesn't recognize LeadMagic tools, "no tools available," or server appears disconnected.
Solutions:
- Verify the URL in the setup guide. Claude apps and Claude Code use
https://mcp.leadmagic.io/mcp/anthropic. Other supported clients usehttps://mcp.leadmagic.io/mcpfor the full catalog or the URL for their focused connection. - Restart your client: most MCP clients require a restart after config changes:
- Cursor: Restart the application
- VS Code: Run
Developer: Reload Window - Claude Desktop: Fully quit and reopen
- Devin Desktop (Windsurf): Restart the application
- Check JSON syntax: a missing comma or bracket in your config file will silently fail. Validate your JSON at jsonlint.com.
- Check the config file location: make sure you're editing the right file for your client (see setup guide).
Connection timeout or slow responses
Connection timeout or slow responses
Symptoms: Tools take a long time to respond or time out entirely.
Solutions:
- Check your internet connection: the MCP server runs at
mcp.leadmagic.ioand requires internet access. - Try the health endpoint: run this in your terminal to verify the server is reachable:
You should see {"ok":true,"service":"lm-mcp",...}.
- Rate limits: the LeadMagic API has rate limits. If you're making many rapid requests, you may be temporarily throttled.
Tool input mistakes
find_jobs: person name instead of company
find_jobs: person name instead of company
Symptoms: Error like "Jurgen van Gael looks like a person's name, not a company" or empty job results when you meant a contact from people search.
Fix: Pass the employer in company_domain, such as "stripe.com" or the company you were researching. Do not pass a person's name or an MCP interface label such as "People Search".
Example: "Find open jobs at stripe.com"
For table-specific issues, including missing table tools, unavailable workspaces, stale row or column IDs, run approvals, and delayed enrichment results, see LeadMagic Tables workflows and the table tool reference.
Authentication Errors
401 Unauthorized
401 Unauthorized
Cause: Not signed in, expired OAuth session, or missing Authorization: Bearer on hosted MCP.
Solutions:
- Reconnect OAuth: MCP settings → LeadMagic → disconnect and sign in again (setup).
- Remove API key headers: hosted
mcp.leadmagic.iodoes not usex-leadmagic-key; use URL-only config + OAuth. - New chat: Claude.ai and ChatGPT connectors cache metadata per thread.
- Claude.ai "Couldn't reach server": see authentication and connection issues below.
403 insufficient_scope
403 insufficient_scope
The current OAuth grant is missing a required permission for LeadMagic MCP access or workspace selection. In your client's MCP or connector settings, disconnect LeadMagic and reconnect it. Complete browser sign-in, approve access, and choose your workspace if prompted.
In Claude, open Customize → Connectors → LeadMagic to reconnect. In Claude Code, use /mcp → LeadMagic. Start a new chat and ask, "Check my LeadMagic credit balance."
Out of credits
Out of credits
Cause: The workspace has no remaining credits. The tool reports that the workspace is out of credits.
Solutions:
- Check your balance at app.leadmagic.io.
- Purchase credits or set up auto top-up.
- See Credits & Pricing for plan options.
Client-Specific Issues
- Cursor
- VS Code
- Claude.ai / Desktop
- Claude Code
- Devin Desktop (Windsurf)
- Cline
Cursor
Config not picked up:
- Ensure the file is at
.cursor/mcp.json(project) or~/.cursor/mcp.json(global). - Restart Cursor after any config change.
Multiple configs:
- Project-level config (
.cursor/mcp.json) takes priority over global (~/.cursor/mcp.json). - If you have both, the project-level config wins.
Tool Errors
Tool returns an error response
Tool returns an error response
MCP tool errors are returned as isError: true with a message. Common causes:
- Missing required parameters: check the tool reference for required fields.
- Invalid parameter format: emails must be valid format, B2B profile URLs must be full HTTPS URLs (e.g.,
https://www.linkedin.com/in/username). - API rate limit: wait a moment and try again.
No data found
No data found
A not_found result means LeadMagic doesn't have data for that query. This is free: no credits are charged.
Tips to improve results:
- Use
domaininstead ofcompany_namefor company lookups. - Use B2B profile URLs when available: they're the most reliable identifier.
- For
find_work_email, provide both first and last name plus the company domain.
FAQ
Do I need an API key for MCP?
Do I need an API key for MCP?
No. Hosted MCP does not use API keys. The server uses OAuth: you sign in once in your AI client, and each tool call uses a short-lived server credential. See authentication.
Can multiple team members use LeadMagic MCP?
Can multiple team members use LeadMagic MCP?
Yes: each person signs in with their own LeadMagic account via OAuth. Credits are consumed from the signed-in account, so team members on a shared organization account draw from the shared balance.
What's the difference between MCP and the REST API?
What's the difference between MCP and the REST API?
They use the same underlying API. The MCP server wraps each API endpoint as an MCP tool so AI assistants can call them directly. Credit costs are identical. If you need programmatic access from your own code, use the REST API directly.
Does the MCP server support SSE transport?
Does the MCP server support SSE transport?
No. The server uses Streamable HTTP transport only. There is no SSE endpoint. Some clients need the transport set explicitly: Cline needs "type": "streamableHttp", Gemini CLI needs httpUrl (not url), and VS Code needs "type": "http". See the setup guide or open the LeadMagic MCP setup guide.
Can I use this with ChatGPT?
Can I use this with ChatGPT?
Yes. Open LeadMagic in the ChatGPT Plugin Directory, click Install plugin, and sign in with LeadMagic. Start a new chat, select LeadMagic with @, and ask it to check your credit balance for free.
If Messages on iPhone shows Couldn't load connector, copy the directory link above and open it directly in Safari. The setup guide also covers optional custom MCP setup.
Still Need Help?
Was this page helpful?
We value your feedback.