The LeadMagic MCP server uses Streamable HTTP transport (MCP 2025 spec) at
https://mcp.leadmagic.io/mcp. Your API key is passed via the x-leadmagic-key header on every request and is never stored server-side.Prerequisites
Get your API key
Sign up or log in at app.leadmagic.io and copy your API key from Settings > API.
Client Setup
- Cursor
- VS Code
- Claude Desktop
- Claude Code
- Windsurf
Cursor
Add the LeadMagic server to your Cursor MCP configuration.File:.cursor/mcp.json (project-level) or ~/.cursor/mcp.json (global)More Clients
The LeadMagic MCP server works with any client that supports Streamable HTTP transport. Here are setup instructions for 8 additional clients.Zed
Zed
Zed uses Or use Agent Panel > Settings > Add Custom Server and paste the command.
mcp-remote to connect to remote HTTP servers with custom headers.File: ~/.config/zed/settings.jsonRequires Node.js 18+ for
npx. Check the green indicator dot in the Agent Panel to confirm the server is active.Cline
Cline
File:
cline_mcp_settings.json (in VS Code extension storage)Open the MCP Servers icon in Cline, then click Configure.Roo Code
Roo Code
File: Project-level config (
.roo/mcp.json (project) or ~/.roo/mcp_settings.json (global).roo/mcp.json) takes precedence over global.OpenCode
OpenCode
File:
opencode.json (project) or ~/.config/opencode/config.json (global)Gemini CLI
Gemini CLI
Option 1 — CLI command:Then edit
~/.gemini/settings.json to add the header:Option 2 — Edit settings directly:File: ~/.gemini/settings.jsonGemini CLI uses
httpUrl (not url) for Streamable HTTP servers.JetBrains IDEs
JetBrains IDEs
IntelliJ IDEA, WebStorm, PyCharm, and other JetBrains IDEs (2025.1+) support MCP via the AI Assistant.
- Go to Settings > AI Assistant > MCP
- Click + to add a new server
- Select HTTP transport
- Enter the URL:
https://mcp.leadmagic.io/mcp - Add header:
x-leadmagic-key=YOUR_API_KEY - Restart the IDE
Amazon Q
Amazon Q
File:
.amazonq/default.json (project) or ~/.aws/amazonq/default.json (global)- Open the Q Developer Chat panel
- Click the tools icon to open MCP configuration
- Click + and select the scope (global or local)
- Select
httpas the transport protocol - Enter the URL:
https://mcp.leadmagic.io/mcp - Add header:
x-leadmagic-key=YOUR_API_KEY - Save and configure tool permissions
Copilot Coding Agent (GitHub)
Copilot Coding Agent (GitHub)
Configure MCP for the GitHub Copilot coding agent at the repository level.
- Go to your GitHub repo Settings > Copilot > Coding agent
- Add the MCP configuration:
Verify the Connection
After setup, test the connection by asking your AI assistant:“Check my LeadMagic credit balance”If the server is connected, the AI will call the
check_credits tool and return your balance. This tool is free and confirms that authentication is working.