To connect Flyweel MCP to Zed, add a flyweel-mcp-server entry under context_servers in your Zed settings.json with the X-API-Key header pointing at your fwl_ token. Restart Zed; Flyweel’s tools show up in the assistant panel.
Step 1: Get an API tokenLink to this section
- Go to app.flyweel.co
- Click Settings → API & MCP
- Under Advanced: use an API key instead, click Generate API key (or Create Token to name your own)
- Copy the
fwl_…token once — it won’t be shown again
Step 2: Open Zed settings.jsonLink to this section
~/Library/Application Support/Zed/settings.json
~/.config/zed/settings.json
%APPDATA%\Zed\settings.json
Or open it via cmd+, (macOS) / ctrl+, (Linux/Windows).
Step 3: Add the Flyweel context serverLink to this section
{ "context_servers": { "flyweel-mcp-server": { "url": "https://api.flyweel.co/functions/v1/mcp-server/mcp", "headers": { "X-API-Key": "fwl_YOUR_TOKEN_HERE" } } }}Replace fwl_YOUR_TOKEN_HERE with your token.
Step 4: Reload ZedLink to this section
Zed picks up settings changes live, but the first time you add a server you may want to reload the window (cmd+shift+p, then Reload Window).
Step 5: Test itLink to this section
In Zed’s agent panel, ask:
What Google Ads accounts do I have connected to Flyweel?TroubleshootingLink to this section
401 with X-API-KeyLink to this section
Key is malformed or revoked.
Fix: Generate a new token at app.flyweel.co, then Settings → API & MCP.
Server does not appear in the agent panelLink to this section
Zed did not re-read settings.
Fix: cmd+shift+p, then Reload Window. Confirm settings.json is valid JSON with jq . < settings.json.