---
title: JetBrains AI Assistant | Flyweel Docs
description: Connect Flyweel MCP to JetBrains AI Assistant in IntelliJ, PyCharm, WebStorm or Rider (2025.3+) as an HTTP MCP server with an API key header.
url: "https://www.flyweel.co/docs/mcp/jetbrains"
type: static
generatedAt: "2026-10-07T04:41:33.553Z"
---

![Documentation hero background](https://astro-flyweel-docs.vercel.app/vision-hero.webp)
# 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/functions/v1/mcp-server/mcp` and an `X-API-Key` header.

---

## Requirements[Link to this section](#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[Link to this section](#step-1-get-your-api-token)

 1. Go to [app.flyweel.co](https://app.flyweel.co)
 1. Open **Settings → API & MCP**
 1. Under **Advanced: use an API key instead**, click **Generate API key** (or **Create Token** to name your own)
 1. Copy the `fwl_…` key once — it won’t be shown again

---

## Step 2: Open MCP settings[Link to this section](#step-2-open-mcp-settings)

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

---

## Step 3: Configure Flyweel[Link to this section](#step-3-configure-flyweel)

| Field | Value |
| --- | --- |
| **Name** | Flyweel |
| **Type** | HTTP (streamable) |
| **URL** | `https://api.flyweel.co/functions/v1/mcp-server/mcp` |
| **Header name** | `X-API-Key` |
| **Header value** | `fwl_YOUR_TOKEN_HERE` |

Click **OK**, then **Apply**.

---

## Step 4: Restart AI Assistant[Link to this section](#step-4-restart-ai-assistant)

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

---

## Step 5: Test it[Link to this section](#step-5-test-it)

In the AI Assistant chat, ask:


**

```
What Google Ads accounts do I have connected to Flyweel?
```

---

## Troubleshooting[Link to this section](#troubleshooting)

### ”Model Context Protocol” option is missing[Link to this section](#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[Link to this section](#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[Link to this section](#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[Link to this section](#next-steps)

 - [What can you ask?](/docs/mcp/setup#what-can-you-ask)
 - [Other MCP Clients](/docs/mcp/other)

### Ready to get started?

Start optimizing your ad spend today with Flyweel.
  [Start Free](https://signup.flyweel.co/?variant=control)