> ## Documentation Index
> Fetch the complete documentation index at: https://docs.salesgraph.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect Cursor

> Add the Salesgraph MCP server to Cursor.

Cursor supports remote MCP servers over HTTP. Add Salesgraph in its MCP settings.

## Add the server

<Steps>
  <Step title="Open MCP settings">
    In Cursor, go to **Settings → MCP** (or **Tools & Integrations → MCP**) and choose
    **Add new MCP server**.
  </Step>

  <Step title="Edit mcp.json">
    Cursor stores servers in `~/.cursor/mcp.json` (global) or `.cursor/mcp.json` (per-project).
    Add a `salesgraph` entry:

    ```json theme={null}
    {
      "mcpServers": {
        "salesgraph": {
          "url": "https://salesgraph.com/api/mcp",
          "headers": {
            "Authorization": "Bearer sg_live_xxxxxxxxxxxx"
          }
        }
      }
    }
    ```
  </Step>

  <Step title="Enable it">
    Back in MCP settings, confirm `salesgraph` shows a green status and its tools are listed.
    Toggle it on.
  </Step>
</Steps>

## Use it

In Cursor's Agent mode, reference Salesgraph in your prompt — for example, *"Use the Salesgraph
research tool to brief me on Linear."* The agent will pick the right tool and return a markdown
brief.

<Tip>
  Keep project keys out of source control. Prefer the global `~/.cursor/mcp.json`, or add
  `.cursor/mcp.json` to your `.gitignore`.
</Tip>
