# Claude Code > Connect Claude Code to your Holistics workspace via MCP. [Claude Code](https://claude.ai/code) supports both a CLI command and a JSON config. Replace `` with your [connection URL](/docs/ai/mcp-server/setup#oauth). **Option 1 — CLI command** (quickest): ```bash # With OAuth claude mcp add holistics- --transport http # With API Key claude mcp add holistics- --transport http --header "X-Holistics-Key:" ``` **Option 2 — JSON config** — add to your [Claude Code MCP config](https://docs.anthropic.com/en/docs/claude-code/mcp#add-mcp-servers-from-json-configuration): ```json { "mcpServers": { "holistics": { "url": "", "headers": { "X-Holistics-Key": "" } } } } ``` For OAuth, omit the `headers` field — the client handles authentication automatically. Note: No spaces between `X-Holistics-Key:` and your API key.