Skip to content

Connect Cursor to Flecha

Cursor’s agent can use Flecha through MCP to look at your running app the way you do: in your browser, with your tabs and sign-ins.

  1. Turn on the bridge in Settings › Developer › Coding Agents, as described in The MCP bridge.

  2. Next to Other MCP clients, click Copy Config. You get JSON like this, with your own port and token:

    {
    "mcpServers": {
    "flecha": {
    "type": "http",
    "url": "http://127.0.0.1:7390/mcp",
    "headers": { "Authorization": "Bearer <token>" }
    }
    }
    }
  3. Put it in Cursor’s MCP config:

    • ~/.cursor/mcp.json to use Flecha in every project, or
    • .cursor/mcp.json in a project to use it there only.

    If the file already has an mcpServers object, add the flecha entry to it rather than replacing it.

  4. Open Cursor’s settings › MCP (Tools & Integrations in recent versions) and check that flecha is enabled and lists its tools.

The same JSON works in other MCP clients that support Streamable HTTP servers with headers, such as Windsurf (~/.codeium/windsurf/mcp_config.json). Check your client’s docs for where its MCP config lives.

  • “Open my dev server in Flecha and check the console for errors.”
  • “Click through sign-up on localhost:5173 and tell me where it breaks.”
  • “Screenshot the current tab and compare the spacing with the Figma frame.”

See all the tools and Troubleshooting.