# Cursor MCP setup

> Source: <https://adaptorch.com/integrations/cursor/>
> Published: 2026-11-25 08:34:29+00:00

**Key takeaway:** Add an adaptorch entry to the mcpServers object in ~/.cursor/mcp.json with url https://adaptorch.com/mcp and an Authorization bearer header from ${env:ADAPTORCH_API_KEY}, then confirm with a read-only tools/list call that returns a result.tools array including adaptorch_run before spending plan allo

INTEGRATION · UPDATED

# Connect Cursor to AdaptOrch in mcp.json.

Cursor reads MCP servers from `~/.cursor/mcp.json`. The AdaptOrch entry uses the hosted HTTP endpoint and sends your AdaptOrch key as a bearer token.

§ 01

## Before you start

Create an account at [/app/signup](https://adaptorch.com/app/signup?entrypoint=integration-cursor) and an API key at /app/api-keys. Authenticate with your AdaptOrch API key. No free hosted LLM is bundled; BYOK provider headers are optional when you want model calls. Set the key only in your local environment, never in a shared transcript or committed file.

```
export ADAPTORCH_API_KEY="ado_..."
```

§ 02

## Configure Cursor

Add the `adaptorch` entry inside the existing `mcpServers` object, then review it in Cursor's MCP settings.

```
{
  "mcpServers": {
    "adaptorch": {
      "url": "https://adaptorch.com/mcp",
      "headers": { "Authorization": "Bearer ${env:ADAPTORCH_API_KEY}" }
    }
  }
}
```

This block authenticates AdaptOrch with no bundled free LLM. To attach your own provider account (optional BYOK), also add X-Provider, X-Provider-Model and X-Provider-Key entries to the same `headers` object, with values from your own environment.

§ 03

## Confirm authentication without running a model

This read-only `tools/list` request checks the endpoint and your AdaptOrch key. It does not submit a run or spend plan allowance. A valid key returns a `result.tools` array that includes `adaptorch_run`. Without a key the endpoint answers HTTP 401 with `Missing bearer token`, which still proves it is reachable.

```
curl --fail --silent --show-error https://adaptorch.com/mcp \
  -H "Authorization: Bearer $ADAPTORCH_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
```

§ 04

## Submit one bounded run

Ask Cursor to call `adaptorch_run` once with the single-task payload below. This consumes plan allowance; optional BYOK model tokens are billed by your provider. Do not resubmit it while polling.

```
{
  "payload": {"subtasks": [{"id": "ping", "description": "Reply exactly PONG", "estimated_tokens": 16}]},
  "synthesis_mode": "paper",
  "budget_policy": {"global_timeout_budget_seconds": 20}
}
```

Use the returned `run_id` with `adaptorch_get_run` and `adaptorch_get_artifacts`, or open /app/runs.

§ 05

## What the record shows, and what it does not

The run record shows the inputs, the selected model and outputs, recorded commands and check outcomes when an execution environment is configured, and open review items. A SUCCEEDED run is not a test pass: a repository code check needs a separately configured execution environment, and missing or skipped checks stay unverified.

AdaptOrch documents the Cursor configuration format above, but this connection has not been tested by AdaptOrch end to end in Cursor. Read the [claim boundary](https://adaptorch.com/claim-boundary) before relying on run records in a review process, and see the [AI PR review guide](https://adaptorch.com/ai-pr-review/) for what to inspect.

§ 06

## Cursor integration FAQ

## Q.01Where does Cursor configure MCP servers?

In ~/.cursor/mcp.json under the mcpServers object. AdaptOrch is an entry with url https://adaptorch.com/mcp and an Authorization header.

## Q.02Is the Cursor block enough to run a model?

The block authenticates the AdaptOrch service for routing and run records with no bundled free LLM. Add optional BYOK provider headers when you want model calls.

## Q.03Does a SUCCEEDED run mean my tests passed?

No. A completed run is not a test pass. A repository code check needs a separately configured execution environment, and only a record that shows the check actually ran counts as verification.

## Q.04Has AdaptOrch tested this client?

AdaptOrch documents this configuration format, but the connection has not been tested by AdaptOrch end to end in this client. Confirm it with the read-only tools/list request on this page.

NEXT

## Other clients

See all [AdaptOrch integrations](https://adaptorch.com/integrations/), or the full [MCP documentation](https://adaptorch.com/mcp-docs) for Gemini CLI, VS Code and Windsurf configuration formats.

Pro is $39 a month for 200 admitted runs and 5 workspace users. Team is $149 a month for 1,000 admitted runs and 15 workspace users. Both start with a 3-day free trial. No free hosted LLM is bundled; bringing your own API key and endpoint (BYOK) is optional. [Compare plans](https://adaptorch.com/#pricing) · [Start a 3-day free trial](https://adaptorch.com/app/signup?entrypoint=integration-cursor)
