CC MAX Site Integration
This site is a Claude Code-exclusive relay. It only supports access via the Claude Code CLI or the official VS Code extension. Other clients (web, direct SDK, third-party chat apps, etc.) are not supported.
1. Supported Scope
| Item | Description |
|---|---|
| Clients | Claude Code CLI / Claude Code for VS Code (official extension) |
| Known Supported Versions | 2.1.140 ~ 2.1.160 |
| Protocol | Anthropic Messages API |
Version Note
Versions 2.1.140 ~ 2.1.159 are the verified compatible range. Versions outside this range may work but are untested and could have compatibility issues due to header or protocol differences. If you experience issues, switch to a version within this range first.
Check & Install a Specific Version
# Check current version
claude --version
# Install a specific version in the known range (e.g. 2.1.159)
npm install -g @anthropic-ai/claude-code@2.1.1592. Basic Information
Prepare the following before connecting (obtain from the site admin):
| Name | Description | Example |
|---|---|---|
| API Address (Base URL) | Site relay address | https://hboom.ai |
| API Token (API Key) | Key assigned by the site | sk-xxxxxxxxxxxxxxxx |
3. NewAPI Extra Configuration
If this site is built on NewAPI, you need to configure the following three items in the NewAPI channel settings to ensure Claude Code request headers are correctly forwarded.
1. Parameter Override
Paste the following into the channel's Parameter Override field. It enables pass_headers to forward Claude Code's critical request headers while preserving original values (keep_origin: true).
{
"operations": [
{
"mode": "pass_headers",
"value": [
"X-Stainless-Arch",
"X-Stainless-Lang",
"X-Stainless-Os",
"X-Stainless-Package-Version",
"X-Stainless-Retry-Count",
"X-Stainless-Runtime",
"X-Stainless-Runtime-Version",
"X-Stainless-Timeout",
"User-Agent",
"X-App",
"Anthropic-Beta",
"Anthropic-Dangerous-Direct-Browser-Access",
"Anthropic-Version"
],
"keep_origin": true
}
]
}2. Header Override
Paste the following into the channel's Header Override field. "*": false means no headers will be overridden — the original headers from Claude Code are used as-is.
{
"*": false
}3. Enable Pass-through Request Body
In the channel's Extra Settings, find and enable the Pass-through Request Body option.
Important
This must be enabled. Without it, NewAPI re-serializes Claude Code's request body, causing key fields to be lost or reformatted, which results in upstream rejections.
Configuration Summary
- Pass-through Request Body must be on to ensure the raw request body is forwarded unchanged.
- Parameter Override headers are Claude Code's (Stainless SDK) identity and protocol headers that must be forwarded as-is.
- Header Override set to
{"*": false}prevents NewAPI from replacing these critical headers with its own defaults. - All three settings must be active simultaneously — missing any one may cause request failures.
4. Claude Code Connection Methods
Set environment variables to point Claude Code at this site.
Method A: Temporary (current terminal session only)
$env:ANTHROPIC_BASE_URL = "https://hboom.ai"
$env:ANTHROPIC_AUTH_TOKEN = "sk-xxxxxxxxxxxxxxxx"
claudeset ANTHROPIC_BASE_URL=https://hboom.ai
set ANTHROPIC_AUTH_TOKEN=sk-xxxxxxxxxxxxxxxx
claudeexport ANTHROPIC_BASE_URL="https://hboom.ai"
export ANTHROPIC_AUTH_TOKEN="sk-xxxxxxxxxxxxxxxx"
claudeMethod B: Persistent (Recommended)
Edit ~/.claude/settings.json (Windows: C:\Users\<username>\.claude\settings.json):
{
"env": {
"ANTHROPIC_BASE_URL": "https://hboom.ai",
"ANTHROPIC_AUTH_TOKEN": "sk-xxxxxxxxxxxxxxxx"
}
}Restart Claude Code to apply.
Note
ANTHROPIC_AUTH_TOKEN carries the token as Bearer. If the site requires ANTHROPIC_API_KEY, replace accordingly as instructed by the admin.
Verify Connection
claude
# Send any message in the interactive session — a normal response means success5. VS Code Extension Connection
The Claude Code for VS Code extension shares the same configuration as the CLI.
1. Install the Extension
Search for Claude Code (publisher: Anthropic) in the VS Code Extension Marketplace and install it. The extension requires the local Claude Code CLI to be installed and within the supported version range (see Section 1).
2. Configure Site Address & Token (choose one)
Method A: Reuse settings.json (Recommended)
The extension reads the same config file as the CLI (~/.claude/settings.json). If you already configured env in Section 4 Method B, the extension will use it automatically:
{
"env": {
"ANTHROPIC_BASE_URL": "https://hboom.ai",
"ANTHROPIC_AUTH_TOKEN": "sk-xxxxxxxxxxxxxxxx"
}
}Method B: Launch VS Code with Environment Variables
To limit the config to a specific project, launch VS Code from a terminal with the variables already set:
export ANTHROPIC_BASE_URL="https://hboom.ai"
export ANTHROPIC_AUTH_TOKEN="sk-xxxxxxxxxxxxxxxx"
code .$env:ANTHROPIC_BASE_URL = "https://hboom.ai"
$env:ANTHROPIC_AUTH_TOKEN = "sk-xxxxxxxxxxxxxxxx"
code .3. Verify Connection
Open the Claude Code panel in the VS Code sidebar and send a message. A normal response confirms the connection is working.
Note
The extension uses the same Anthropic Messages API as the CLI, so the NewAPI channel configuration (Section 3) applies equally — no extra setup needed.
6. FAQ
Q1: Version not supported / request rejected?
This site is verified for versions 2.1.140 ~ 2.1.159. If you are using a version outside this range and encounter issues, switch to a version within the range first. Also verify that the NewAPI channel has both overrides configured correctly.
Q2: Can I use the web UI, Cherry Studio, SDK, etc.?
No. This site only supports the Claude Code CLI and the official VS Code extension.
Q3: Environment variable set but still connecting to the official address?
Check for conflicts between system-level and config-file-level variables. The env field in settings.json has higher priority — consolidate your config in one place.
If you encounter issues during setup, contact the site admin and provide the output of claude --version along with the specific error message.