Connect with Claude Code
Connect Lead Distro AI to Claude Code, the command-line tool for developers. Install Claude Code, run one command to add the connector, then approve it in your browser with one-click sign-in. Includes prerequisites.
This path is for people who are comfortable using a terminal. If that is not you, use the Claude.ai or desktop app guide instead. It does the same thing with no install and no terminal.
Claude Code is Anthropic's command-line tool. If you already use it, connecting Lead Distro AI takes one command and a browser approval.
Step 1 — Install Claude Code
A terminal is a text window where you type commands. Every computer already has one built in — no extra download needed.
On a Mac or Linux computer:
Open the Terminal app. On a Mac: press Command + Space, type Terminal, and press Enter.
curl -fsSL https://claude.ai/install.sh | bashOn a Windows computer:
Open PowerShell. Press the Windows key, type PowerShell, and press Enter. Note: Windows also needs WSL (Windows Subsystem for Linux) or Git for Windows installed. If you see errors after running the command, check Anthropic's Claude Code setup guide.
irm https://claude.ai/install.ps1 | iexPrefer npm? If you already have Node.js 18 or later, you can also run: npm install -g @anthropic-ai/claude-code
After installing, check that it worked by running:
claude doctorIf Claude Code prompts you to install Git or Node.js and you would rather not, the native installer above avoids both. Or just use the Claude.ai or desktop app path, which needs nothing installed.
Step 2 — Connect Lead Distro AI
Run this command to add the connector. No API key needed — you sign in through your browser.
claude mcp add --transport http leaddistro https://mcp.leaddistro.ai/mcpAfter running that command, open Claude Code and type /mcp. You will see a Lead Distro AI entry — click Authorize and sign in through your browser. If your account has more than one organization, pick which one the assistant should manage. You will not need to authorize again unless you disconnect.
Step 3 — Confirm it works
Restart Claude Code so the new tools load, then type this and press Enter:
List my Lead Distro campaigns and tell me what I can do.Want to use an API key instead of browser sign-in (for example, on a server with no browser)? See Connect with an API key.
Frequently Asked Questions
What is a terminal?
How do I know if the install worked?
claude doctor and press Enter. If it prints a version number and a green checkmark, you are good. If you see an error, the most common fix is to close the terminal, open a new one, and try again.Do I have to install Node.js?
What does /mcp do?
I'm not a developer. Should I use this?
Related Articles
If you have any questions, send us an email at support@leaddistro.ai