Skip to content
Documentation hero background

Cursor

Cursor is an AI-powered code editor with built-in MCP support.


Quick Setup

Step 1: Get Your Token

  1. Go to app.flyweel.co
  2. Click SettingsAPI Tokens
  3. Click Create New Token
  4. Name it (e.g., “Cursor - Work”)
  5. Click Generate and copy it immediately

Your token looks like: fwl_a1b2c3d4...


Step 2: Configure Cursor

Option A: Via Settings UI

  1. Open Cursor
  2. Go to Settings (gear icon) → MCP
  3. Click Add Server
  4. Enter:
    • Name: Flyweel
    • URL: https://api.flyweel.co/mcp-server/mcp
    • Headers: Add X-API-Key: fwl_YOUR_TOKEN_HERE
  5. Click Save

Option B: Via Config File

Open or create ~/.cursor/mcp.json:

{
"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 Cursor

Close and reopen Cursor for the configuration to take effect.


Step 4: Test It

In Cursor’s AI chat, 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.

Cursor doesn’t see Flyweel

The MCP server isn’t configured correctly.

Fix:

  1. Go to Settings → MCP and verify Flyweel is listed
  2. Check the URL is exactly: https://api.flyweel.co/mcp-server/mcp
  3. Verify your token is correct
  4. Restart Cursor completely

Next Steps

Ready to get started?

Start optimizing your ad spend today with Flyweel.