---
title: Cursor
description: Install the AdCrunch MCP server in Cursor and authorize your organization.
---

:::tip

AdCrunch is a **remote MCP server** — there's nothing to install locally. You just point Cursor at the AdCrunch URL and complete an OAuth flow.

:::

## Install

1. **Open your MCP configuration**

    In Cursor, choose **Settings → Cursor Settings → MCP** and click **Add new
    MCP server** — or edit the config file directly.

    **Global (all projects)**

    Edit `~/.cursor/mcp.json`:

    ```json
    {
      "mcpServers": {
        "adcrunch": {
          "url": "https://mcp.adcrunch.dev/mcp"
        }
      }
    }
    ```

    **Per project**

    Create `.cursor/mcp.json` in the project root:

    ```json
    {
      "mcpServers": {
        "adcrunch": {
          "url": "https://mcp.adcrunch.dev/mcp"
        }
      }
    }
    ```

2. **Authorize**

    Back in **Settings → MCP**, the `adcrunch` server appears with a login
    prompt. Click it — Cursor opens AdCrunch's OAuth consent in your browser.
    Sign in and pick the organization you want to expose to this client.

3. **Check the tools are listed**

    The server row turns green and lists tools like `list_advertisers` and
    `query_insights`.

## Try it

Open the chat in Agent mode and ask: _"List my advertisers."_ Cursor calls `list_advertisers` and reads back the result.

If that works, go to the [Quickstart](/quickstart#ten-minutes-start-to-finish) for a first question and a first change.

## Troubleshooting

:::warning[Server shows an error / no tools]

Confirm the JSON is valid and the URL is exactly `https://mcp.adcrunch.dev/mcp`. Then toggle the server off and on in **Settings → MCP** to force a reconnect.

:::
