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

# Connect Cursor

> Add ApexGenius to Cursor with its native MCP configuration, authorize your account, and verify a safe read.

Cursor connects directly to the hosted ApexGenius streamable HTTP server. No local wrapper is required.

## Choose the configuration scope

* Use `~/.cursor/mcp.json` to make ApexGenius available to your Cursor user across projects.
* Use `.cursor/mcp.json` in a project to share the server declaration with that project.

Project configuration takes priority when the same server name exists in both locations.

## Add the server

Create or update the chosen `mcp.json` file:

```json theme={"system"}
{
  "mcpServers": {
    "apexgenius": {
      "url": "https://server.autom8.pro/mcp"
    }
  }
}
```

Save the file, open Cursor's MCP settings, and find ApexGenius. Complete the browser authorization when Cursor requests it, then confirm the server is enabled and its tools are available.

<Warning>
  The top-level key is `mcpServers`. Do not copy the VS Code `servers` shape into Cursor. Do not add account credentials or a hand-written authorization header to this file.
</Warning>

## Verify the connection

Open an Agent conversation with ApexGenius available and ask:

```text theme={"system"}
Which active Flows touch Opportunity?
```

Confirm the response uses the intended Salesforce project and production org or sandbox. If Cursor shows an authorization or connection error, reopen MCP settings and retry the browser sign-in before changing the endpoint.

## Sharing project configuration

The project file can be committed so teammates receive the same server declaration. Each teammate should complete their own ApexGenius authorization. Review any MCP configuration before trusting and enabling it in a repository.

For current file locations, remote server syntax, and transport support, see [Cursor's MCP documentation](https://cursor.com/docs/mcp).
