Skip to main content

Claude Code

Claude Code supports both a CLI command and a JSON config. Replace <MCP_SERVER_ADDRESS> with your connection URL.

Option 1 — CLI command (quickest):

# With OAuth
claude mcp add holistics-<ENV> <MCP_SERVER_ADDRESS> --transport http

# With API Key
claude mcp add holistics-<ENV> <MCP_SERVER_ADDRESS> --transport http --header "X-Holistics-Key:<YOUR_HOLISTICS_API_KEY>"

Option 2 — JSON config — add to your Claude Code MCP config:

{
"mcpServers": {
"holistics": {
"url": "<MCP_SERVER_ADDRESS>",
"headers": {
"X-Holistics-Key": "<YOUR_HOLISTICS_API_KEY>"
}
}
}
}

For OAuth, omit the headers field — the client handles authentication automatically.

Note: No spaces between X-Holistics-Key: and your API key.


Open Markdown
Let us know what you think about this document :)