Skip to content
Documentation hero background

Zed

To connect Flyweel MCP to Zed, add a flyweel 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 token

  1. Go to app.flyweel.co
  2. Click Settings, then API Tokens
  3. Click Create New Token, name it “Zed”
  4. Click Generate and copy the fwl_… token

Step 2: Open Zed settings.json

~/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 server

{
"context_servers": {
"flyweel": {
"url": "https://api.flyweel.co/mcp-server/mcp",
"headers": { "X-API-Key": "fwl_YOUR_TOKEN_HERE" }
}
}
}

Replace fwl_YOUR_TOKEN_HERE with your token.


Step 4: Reload Zed

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 it

In Zed’s agent panel, ask:

What Google Ads accounts do I have connected to Flyweel?

Troubleshooting

401 with X-API-Key

Key is malformed or revoked.

Fix: Generate a new token at app.flyweel.co, then Settings, then API Tokens.

Server does not appear in the agent panel

Zed did not re-read settings.

Fix: cmd+shift+p, then Reload Window. Confirm settings.json is valid JSON with jq . < settings.json.


Next Steps

Ready to get started?

Start optimizing your ad spend today with Flyweel.