# Connect Cursor

> Add the f1ow MCP server to Cursor with one mcp.json entry and query live crypto market data from the editor's agent.

Source: https://www.f1ow.com/docs/connect/cursor

Cursor reads MCP servers from `mcp.json`. Add f1ow with your API key.

## Configure

1. Create an API key in the [dashboard](https://www.f1ow.com/dashboard).
2. Open **.cursor/mcp.json — or your user-level mcp.json**.
3. Add the f1ow entry below, replacing `<your-key>`.

`~/.cursor/mcp.json`:

```json
{
  "mcpServers": {
    "f1ow": {
      "url": "https://mcp.f1ow.com/",
      "type": "http",
      "headers": {
        "Authorization": "Bearer <your-key>"
      }
    }
  }
}
```

Already have an `mcpServers` object? Copy just the inner `f1ow` entry into it.

4. Open Cursor's MCP settings and check that f1ow is enabled and lists its tools.

## Try it

Ask the agent while you build:

> Pull 4h perp candles for BTC for the last week and the funding history, then write a backtest that goes long when funding is negative.

> What does the order book for ETH look like, and how much would a $100k market buy cost?

The agent can call the tools, then use the structured `data` to write and check code against real numbers.

> Get your API key: https://www.f1ow.com/dashboard
