π A unified CLI tool to manage your Claude Code - from installation to configuration, marketplace to MCP servers.
npm install -g @shi_zhen/code-helper- π Authorization Management - Support for Claude API, GLM AI, Kimi AI and custom API keys
- π¦ Plugin Marketplace - Browse, install, and update plugins from configured marketplaces
- π MCP Server Management - Manage and configure MCP (Model Context Protocol) servers
- βοΈ Configuration Management - Centralized management of .claude.json and related settings
- ποΈ Uninstall Utility - Complete removal of Claude CLI and all configurations
- π Web UI Integration - Launch Claude Code UI with a single command
- π Profile Management - Save and switch between multiple API configurations
# Launch the interactive menu
code-helper
# Or use the short alias
ch- Authorization Configuration - Set up your API keys and authentication
- Plugin Marketplace - Browse and install plugins
- MCP Server Management - Configure MCP servers
- Configuration Management - View and edit settings
- Uninstall - Remove Claude CLI and configurations
Supported authentication methods:
- Claude API (Recommended) - Official Anthropic API
- GLM AI - Zhipu AI platform
- Kimi AI - Moonshot AI platform
- Custom API - Manual API key input with custom base URL
- Visit Anthropic Console
- Create or copy your API key
- Run
code-helperand select "Authorization Configuration" - Choose "Claude API" and paste your key
- Browse plugins from configured marketplace sources
- Install and update plugins with a single command
- View installed plugins and their versions
- Configuration: Edit
config/markets.jsonto add your own marketplaces
Example markets.json:
{
"version": "1.0.0",
"markets": [
{
"name": "my-marketplace",
"source": "https://github.com/org/marketplace.git",
"description": "My custom plugin marketplace",
"category": "custom",
"recommended": true
}
]
}- Browse recommended MCP servers
- One-click installation for common MCP servers
- Manage installed MCP server configurations
- Configuration: Edit
config/mcpServers.jsonto add custom servers
Example mcpServers.json:
{
"version": "1.0.0",
"mcpServers": [
{
"id": "my-server",
"name": "My MCP Server",
"description": "Custom MCP server",
"transport": "http",
"url": "https://my-server.com/mcp",
"category": "custom"
}
]
}- View current Claude configuration
- Edit
.claude.jsonsettings - Manage multiple API profiles
- Switch between different configurations
Launch the Claude Code UI interface:
npx @siteboon/claude-code-uiOr select "Launch Web UI" from the main menu.
Complete removal of Claude CLI and all associated files:
- Claude CLI binary
- Configuration files (
~/.claude.json) - Cache and data directories
- Plugin marketplaces and installations
code-helper/
βββ src/
β βββ cli/ # CLI implementation
β β βββ config/ # Configuration and constants
β β βββ menus/ # Interactive menus
β β βββ services/ # Business logic services
β β βββ types/ # TypeScript type definitions
β β βββ ui/ # UI components and themes
β β βββ utils/ # Utility functions
β βββ index.ts # Entry point
βββ config/
β βββ markets.json # Marketplace configuration
β βββ mcpServers.json # MCP servers configuration
βββ bin/
βββ code-helper.js # Executable script
# Install dependencies
npm install
# Development mode with hot reload
npm run dev
# Build for production
npm run build
# Run linter
npm run lint
# Run tests
npm test# Clone the repository
git clone https://github.com/shirenchuang/code-helper.git
cd code-helper
# Install dependencies
npm install
# Build the project
npm run build
# Link for local testing
npm linkDefine your plugin marketplaces. Each marketplace should be a Git repository containing a .claude-plugin/marketplace.json file.
Define available MCP servers. Supports both HTTP and STDIO transport types.
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
MIT Β© shirenchuang
- Built with Claude by Anthropic
- Inspired by the Claude Code community
- Thanks to all contributors
Note: This tool is not officially affiliated with Anthropic. It's a community project to help manage Claude Code installations and configurations.