ClaudeWave
huangserva
huangserva

claude-code-cli

View on GitHub

这是 Claude Code 的 CLI 客户端主体(src/ 目录),即整个终端交互层的源码。具体包含: 1. CLI 入口与命令解析 — main.tsx(4684行)、entrypoints/(CLI 模式、SDK 模式、MCP 模式) 2. 终端 UI 渲染 — components/(144 个组件,用 React + Ink 渲染终端界面) 3. 工具系统 — tools/(43 个工具,Bash、文件读写编辑、Grep、Glob、Web 搜索等) 4. API 通信层 — services/api/(与 Anthropic 后端通信) 5. MCP 协议 6. 多 Agent/Team 协作 l 7. 认证与策略 8. 辅助服务 等

Tools551 stars1.3k forksTypeScriptUpdated 14d ago
ClaudeWave Trust Score
64/100
· OK
Passed
  • Actively maintained (<30d)
  • Healthy fork ratio
  • Clear description
Flags
  • !No license declared
Last scanned: 4/14/2026
Install in Claude Desktop
Method detected: Manual
{
  "mcpServers": {
    "claude-code-cli": {
      "command": "node",
      "args": ["/path/to/claude-code-cli/dist/index.js"]
    }
  }
}
1. Copy the snippet above.
2. Paste into ~/Library/Application Support/Claude/claude_desktop_config.json (Mac) or %APPDATA%\Claude\claude_desktop_config.json (Windows).
3. Replace any <placeholder> values with your API keys or paths.
4. Restart Claude Desktop. The MCP server appears automatically.
💡 Clone https://github.com/huangserva/claude-code-cli and follow its README for install instructions.

Tools overview

README preview not available. Visit the repo on GitHub for full documentation.

More Tools