# @unitsvc/cc-helper

> Multi-provider, MCP servers & channels toolkit for Claude Code, CodeBuddy and Codex CLI (by next-bin)

Latest version **1.7.10** (published 2026-08-26) · AGPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install @unitsvc/cc-helper
pnpm add @unitsvc/cc-helper
yarn add @unitsvc/cc-helper
bun add @unitsvc/cc-helper
```

Provides the command `cc-helper`.

## Health

**Score 55/100 (C)** — status: active.

Positive: no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads; no types; no esm support.

## Facts

| | |
|---|---|
| Version | 1.7.10 |
| Published | 2026-08-26 |
| First published | 2026-03-07 |
| Weekly downloads | 0 |
| License | AGPL-3.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=14.0.0 |
| Dependencies | 0 |
| Unpacked size | 93.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 33 |
| Author | next-bin |
| Maintainers | unitsvc |
| Keywords | claude-code, codex, codebuddy, mcp, multi-provider, ai-proxy, wechat, weixin, cli |

## Links

- npm: https://www.npmjs.com/package/@unitsvc/cc-helper
- Repository: https://github.com/next-bin/cc-helper
- Homepage: https://github.com/next-bin/cc-helper#readme
- Issues: https://github.com/next-bin/cc-helper/issues
- npm.io page: https://npm.io/package/@unitsvc/cc-helper

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 1.7.10 (latest) — 2026-08-26
- 1.7.9 — 2026-08-20
- 1.7.8 — 2026-07-15
- 1.7.7 — 2026-07-05
- 1.7.6 — 2026-06-28
- 1.7.5 — 2026-06-27
- 1.7.3 — 2026-06-26
- 1.7.2 — 2026-06-23
- 1.6.26 — 2026-06-23
- 1.6.21 — 2026-06-12
- 1.6.20 — 2026-06-11
- 1.6.18 — 2026-06-09
- 1.6.14 — 2026-06-09
- 1.6.12 — 2026-06-08
- 1.6.11 — 2026-06-08
- … 70 more at https://npm.io/package/@unitsvc/cc-helper/versions

## README

<div align="center">

# CC-Helper

### The All-in-One Assistant & Provider Manager for Claude Code, CodeBuddy & Codex

[![npm version](https://img.shields.io/npm/v/@unitsvc/cc-helper.svg?color=blue&label=version)](https://www.npmjs.com/package/@unitsvc/cc-helper)
[![npm downloads](https://img.shields.io/npm/dt/@unitsvc/cc-helper.svg?color=green&label=downloads)](https://www.npmjs.com/package/@unitsvc/cc-helper)
[![Platform](https://img.shields.io/badge/platform-macOS%20%7C%20Linux%20%7C%20Windows-orange.svg)](https://github.com/next-bin/cc-helper)
[![License](https://img.shields.io/badge/License-AGPL%203.0-blue.svg)](https://github.com/next-bin/cc-helper/blob/master/LICENSE)

English | [简体中文](README-zh.md)

</div>

Multi-provider management, MCP servers, channels, and AI provider proxy toolkit for Claude Code, CodeBuddy & Codex CLI.

> [!TIP]
> **Key features**
>
> - One-command setup with `cc-helper claude setup`
> - Multi-provider support with vault-encrypted API keys
> - Built-in MCP servers (WeChat, MiniMax, Xiaomi TTS)
> - AI provider proxy with request logging and analytics
> - Environment isolation and git-based config sync
> - Zero runtime dependencies

---

- [Prerequisites](#prerequisites)
- [Installation](#installation)
- [Quick Start](#quick-start)
- [Channels & MCP](#channels--mcp)
- [Agentic](#agentic)
- [Knowledge Base](#knowledge-base)
- [Common Commands](#common-commands)
- [Documentation](#documentation)
- [License](#license)
- [Security](#security)
- [Disclaimer](#disclaimer)

## Prerequisites

cc-helper configures and manages these coding agent CLIs. Install the ones you plan to use:

```bash
# Claude Code (pinned version recommended)
npm install -g @anthropic-ai/claude-code@v2.1.112

# Codex CLI
npm install -g @openai/codex@latest

# CodeBuddy
npm install -g @tencent-ai/codebuddy-code@latest
```

> [!TIP]
> For faster installs, append `--registry=https://registry.npmmirror.com` to the command.

## Installation

```bash
npm install -g @unitsvc/cc-helper@latest
```

> [!NOTE]
> Requires Node.js >= 14.0.0. Install at least one supported CLI: Claude Code v2.1.71+, CodeBuddy, or Codex 0.80.0+.

### Update & Proxy

```bash
# Update to latest version
cc-helper update

# Enable download proxy (if npm install fails)
cc-helper update --dl-proxy

# Use custom proxy
cc-helper update --dl-proxy https://your-proxy.com
```

## Quick Start

```bash
# 1. Setup Claude Code
cc-helper claude setup

# 2. Configure provider
cc-helper plan add -p bailian -k YOUR_API_KEY
cc-helper plan switch -p bailian

# 3. Check status
cc-helper claude status

# 4. Setup Codex (optional)
cc-helper codex setup

# 5. Backup config to Git (optional)
cc-helper sync login -r https://github.com/user/repo -t ghp_xxx
cc-helper sync export
```

> [!NOTE]
> You can also use `cc-helper claude patch` to enable additional hidden features like `/loop`, `/btw`, `/keybindings`, and more.

**Supported Providers:**

| Provider    | Description          |
| ----------- | -------------------- |
| `bailian`   | (CN) Aliyun          |
| `minimaxi`  | (CN) MiniMax         |
| `ark`       | (CN) Ark Coding Plan |
| `ark-agent` | (CN) Ark Agent Plan  |
| `xiaomi`    | (CN) Xiaomi MiMo     |
| `deepseek`  | DeepSeek             |
| ~~`glm`~~   | ~~(CN) Zhipu~~       |
| ~~`zai`~~   | ~~(EN) Zhipu~~       |

> [!TIP]
> Each provider supports multiple model profiles. Use `cc-helper plan list` to view available profiles.

For detailed provider configuration, see [Provider Guide](docs/references/providers.md).

## Channels & MCP

### Built-in MCP Servers

```bash
# List available MCP servers
cc-helper mcp list

# Install MCP servers
cc-helper mcp install weixin     # WeChat channel
cc-helper mcp install minimaxi   # MiniMax AI
cc-helper mcp install xiaomi     # Xiaomi TTS
```

### WeChat Channel

Access Claude Code through WeChat messaging.

```bash
# Install WeChat MCP
cc-helper mcp install weixin

# Login (scan QR code)
cc-helper weixin login
```

### AI Provider Proxy

Gateway server with request logging, analytics, and key management.

```bash
# Add proxy service
cc-helper svc add proxy

# Fallback: run proxy MCP as HTTP server directly (if svc add proxy fails)
cc-helper proxy mcp --serve

# View endpoints
cc-helper proxy endpoints

# Query proxy stats
cc-helper proxy stats
```

## Agentic

Query provider usage data and access AI services.

```bash
# Ark usage query
cc-helper ark query

# MiniMax usage query
cc-helper minimaxi query

# DeepSeek usage query
cc-helper deepseek query

# Xiaomi TTS
cc-helper xiaomi tts "Hello world"

# Ark image generation
cc-helper ark image "A beautiful sunset"

# Ark video generation
cc-helper ark video "A cat playing"
```

## Knowledge Base

Persistent storage backend for AI agents. SQLite-based knowledge base with GraphQL queries and vector similarity search.

```bash
# Start Knowledge MCP server
cc-helper sqlite3 mcp

# Execute GraphQL query
cc-helper sqlite3 query "{ documents { id title } }"

# Show schema
cc-helper sqlite3 schema
```

## Common Commands

```bash
# Claude Code management
cc-helper claude check                    # Verify configuration
cc-helper claude status                   # Check feature status
cc-helper claude vscode                   # Configure VS Code

# Provider management
cc-helper plan list                       # List providers
cc-helper plan verify -p ark -k KEY       # Verify credentials

# Vault - Secure API key storage
cc-helper vault set bailian default -k "KEY"
cc-helper vault get bailian default

# Environment - Isolated configurations
cc-helper env create work
cc-helper env switch work

# Sync - Git-based config backup
cc-helper sync export
cc-helper sync import
```

## Documentation

- [Provider Guide](docs/references/providers.md) - Detailed provider configuration and model profiles
- [Features](docs/references/features.md) - `/loop`, `/btw`, `/context1m`, and more
- [Environment Variables](docs/references/env-vars.md) - Complete environment variable reference
- [Commands](docs/references/commands.md) - Full command reference

## License

AGPL-3.0 - see [LICENSE](./LICENSE)

## Security

### Reporting Vulnerabilities

If you discover a security vulnerability in @unitsvc/cc-helper, please report it responsibly:

1. **Do not** open a public issue
2. Send an email to the maintainer with details
3. Allow reasonable time for the issue to be addressed before public disclosure

We take security seriously and will respond to reports as quickly as possible.

## Disclaimer

Zhipu (glm/zai) company and its associated products are prohibited from using this software.

---
_Source: https://npm.io/package/@unitsvc/cc-helper · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
