URL: /mcp/install/claude-code

---
title: Claude Code
description: Connect DomainGenius MCP to Claude Code (CLI).
---

The endpoint is `https://mcp.domaingenius.com.au/mcp`.

## OAuth (recommended)

```bash
claude mcp add --transport http domaingenius https://mcp.domaingenius.com.au/mcp
```

The first call opens a browser tab for the OAuth handshake. Pick your org, approve the scopes.

## API key

```bash
claude mcp add --transport http domaingenius https://mcp.domaingenius.com.au/mcp \
  --header "Authorization=Bearer dg_live_..."
```

## Verify

```bash
claude mcp list
```

Then in a chat: "list my DomainGenius orgs" — Claude Code should call `whoami`.
