Skip to content
Documentation hero background

JetBrains AI Assistant

To connect Flyweel MCP to JetBrains AI Assistant (IntelliJ IDEA, PyCharm, WebStorm, Rider, GoLand, and the rest of the 2025.3+ IDE family), open Settings, then Tools, then AI Assistant, then Model Context Protocol, and add Flyweel as an HTTP MCP server with https://api.flyweel.co/mcp-server/mcp and an X-API-Key header.


Requirements

  • JetBrains IDE version 2025.3 or later (earlier versions do not support MCP)
  • AI Assistant plugin installed and signed in

Step 1: Get your API token

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

Step 2: Open MCP settings

  1. Open Settings (cmd+, on macOS, ctrl+alt+s on Windows/Linux)
  2. Navigate to Tools, then AI Assistant, then Model Context Protocol
  3. Click Add (the + button)

Step 3: Configure Flyweel

FieldValue
NameFlyweel
TypeHTTP (streamable)
URLhttps://api.flyweel.co/mcp-server/mcp
Header nameX-API-Key
Header valuefwl_YOUR_TOKEN_HERE

Click OK, then Apply.


Step 4: Restart AI Assistant

Close and reopen the AI Assistant tool window to pick up the new server.


Step 5: Test it

In the AI Assistant chat, ask:

What Google Ads accounts do I have connected to Flyweel?

Troubleshooting

”Model Context Protocol” option is missing

Your IDE or AI Assistant plugin is too old.

Fix: Update the IDE to 2025.3 or later and update AI Assistant to the latest plugin version.

401 unauthorized

API key is wrong or the header name is mistyped.

Fix: Header name must be exactly X-API-Key (case-sensitive). Regenerate the token if needed.

Server connects but tools do not appear

AI Assistant caches tool lists per project.

Fix: Close and reopen the project, or restart the IDE.


Next Steps

Ready to get started?

Start optimizing your ad spend today with Flyweel.