Claude Code is Anthropic’s command-line AI tool. It has native MCP support built-in.
Quick Setup
Step 1: Get Your Token
- Go to app.flyweel.co
- Click Settings → API Tokens
- Click Create New Token
- Name it (e.g., “Claude Code CLI”)
- Click Generate and copy it immediately
Your token looks like: fwl_a1b2c3d4...
Step 2: Configure Claude Code
Open or create your Claude Code settings file:
Location:
- macOS/Linux:
~/.claude/settings.json - Windows:
%USERPROFILE%\.claude\settings.json
Add the Flyweel MCP server:
{ "mcpServers": { "flyweel": { "url": "https://api.flyweel.co/mcp-server/mcp", "headers": { "X-API-Key": "fwl_YOUR_TOKEN_HERE" } } }}Replace fwl_YOUR_TOKEN_HERE with your actual token.
Step 3: Restart Claude Code
Close and reopen Claude Code for the configuration to take effect.
Step 4: Test It
Run Claude Code and ask:
What Google Ads accounts do I have connected to Flyweel?If you see your accounts, you’re connected.
Troubleshooting
”Authentication Error”
Your token is invalid or deleted.
Fix: Generate a new token at app.flyweel.co → Settings → API Tokens.
”No accounts found”
You haven’t connected ad accounts to Flyweel.
Fix: Go to Settings → Connections in Flyweel and connect your Google Ads or Meta Ads.
Claude Code doesn’t see Flyweel
The config file is in the wrong location or has a syntax error.
Fix:
- Verify the file is at
~/.claude/settings.json - Check JSON syntax at jsonlint.com
- Restart Claude Code completely