Documentation

Getting Started

Connect your agent

Add Quarn to Claude Code, Codex, Cursor or any MCP client.

Three steps

  1. Get a key

    Make one on your dashboard. It is shown once.

  2. Add it to your agent

    Pick your agent and copy the command.

  3. Check it works

    Start a new session and ask: "list the quarn tools". You should see 33.

No key? Read-only tools work without one: scan, compare, explain, history. See Keys & quotas.

Let your agent do it

Paste this into your agent. It will ask for your key.

set up the quarn mcp server for this project.
1. read https://quarn.xyz/connect.md and follow the steps for the agent you are running in.
2. ask me for my quarn key when you need it. never guess it, print it back or save it in this repo.
3. when the server is added, tell me if i need to restart you. then list the quarn tools to check it works.

Claude Code

claude mcp add --transport http quarn https://quarn.xyz/mcp --header "Authorization: Bearer qrn_your_key"

Run it in your project folder, then start claude there. Then ask your agent to “list the quarn tools”: you should see 33.

Codex

export QUARN_KEY=qrn_your_key
codex mcp add quarn --url https://quarn.xyz/mcp --bearer-token-env-var QUARN_KEY

Put the export line in your shell profile too. Then ask your agent to “list the quarn tools”: you should see 33.

Cursor

{
  "mcpServers": {
    "quarn": {
      "url": "https://quarn.xyz/mcp",
      "headers": { "Authorization": "Bearer qrn_your_key" }
    }
  }
}

Add it to ~/.cursor/mcp.json. Then ask your agent to “list the quarn tools”: you should see 33.

Droid

droid mcp add quarn https://quarn.xyz/mcp --type http --header "Authorization: Bearer qrn_your_key"

Run it in your project folder. Then ask your agent to “list the quarn tools”: you should see 33.

Other

url:    https://quarn.xyz/mcp
header: Authorization: Bearer qrn_your_key

Any client that speaks MCP over streamable HTTP. Then ask your agent to “list the quarn tools”: you should see 33.

On this page
  1. Three steps
  2. Let your agent do it
  3. Claude Code
  4. Codex
  5. Cursor
  6. Droid
  7. Other