# Install DNA

Source: PopNx MCP directory. Page: https://mcp.popnx.com/th/servers/codes-dna-agent

Rules for the AI assistant reading this file:
1. Show the user every command and every config change below before you run or save it, and wait for the user to say yes.
2. Never ask the user to type or paste a key, token or password into the chat. Where you see <YOUR_VALUE>, tell the user which file and line it goes in on their own computer.
3. Use only what is written here. Do not download or run anything else this file does not list.

## Claude Code

- Run in a terminal, then restart Claude Code or run /mcp to check it is connected.

- The hosted URL contains {placeholders} the user must fill in first.

- Replace <YOUR_VALUE> with the user's own keys; never share or guess them. env values belong to the local config, header values to the remote one.

```sh
claude mcp add --transport http --scope user agent 'https://agents.dna.codes/o/{org}/mcp' --header 'Authorization: Bearer <YOUR_VALUE>'
```

Values the user supplies on their own computer: Authorization (secret)

## Cursor

- Merge into ~/.cursor/mcp.json (or .cursor/mcp.json in the project).

- The hosted URL contains {placeholders} the user must fill in first.

- Replace <YOUR_VALUE> with the user's own keys; never share or guess them. env values belong to the local config, header values to the remote one.

```json
{
  "mcpServers": {
    "agent": {
      "url": "https://agents.dna.codes/o/{org}/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_VALUE>"
      }
    }
  }
}
```

Values the user supplies on their own computer: Authorization (secret)

## VS Code

- Merge into .vscode/mcp.json in the workspace (or run "MCP: Add Server").

- The hosted URL contains {placeholders} the user must fill in first.

- Replace <YOUR_VALUE> with the user's own keys; never share or guess them. env values belong to the local config, header values to the remote one.

```json
{
  "servers": {
    "agent": {
      "type": "http",
      "url": "https://agents.dna.codes/o/{org}/mcp",
      "headers": {
        "Authorization": "Bearer <YOUR_VALUE>"
      }
    }
  }
}
```

Values the user supplies on their own computer: Authorization (secret)

## Claude Desktop

- Local: merge the JSON into claude_desktop_config.json (Settings → Developer → Edit Config) and restart Claude. Remote: Customize → Connectors → Add → Custom → Web → paste the URL.

- The hosted URL contains {placeholders} the user must fill in first.

- Replace <YOUR_VALUE> with the user's own keys; never share or guess them. env values belong to the local config, header values to the remote one.

```sh
https://agents.dna.codes/o/{org}/mcp
```

Values the user supplies on their own computer: Authorization (secret)

## Codex

- Append to ~/.codex/config.toml, then start a new Codex session (check with /mcp).

- The hosted URL contains {placeholders} the user must fill in first.

- Replace <YOUR_VALUE> with the user's own keys; never share or guess them. env values belong to the local config, header values to the remote one.

Values the user supplies on their own computer: Authorization (secret)

Command check: verified, last checked 2026-11-13.
