claude-code-cli
by huangserva · TypeScript · ★ 612
这是 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. 辅助服务 等
Install
npx -y github:huangserva/claude-code-cli Auto-generated from the repo's primary language — check the repo's own README for its exact install instructions.
Claude Desktop config
A starting point for your claude_desktop_config.json
(auto-generated — the repo's README may specify a published package name or required env vars):
{
"mcpServers": {
"claude-code-cli": {
"command": "npx",
"args": [
"-y",
"github:huangserva/claude-code-cli"
]
}
}
} From the README
Related ai & ml servers
gemini-cli
google-gemini
An open-source AI agent that brings the power of Gemini directly into your terminal.
ruflo
ruvnet
🌊 The leading agent meta-harness for Claude. Deploy intelligent multi-agent swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning swarm intelligence, RAG integration, and native Claude Code / Codex Integration
context7
upstash
Context7 Platform -- Up-to-date code documentation for LLMs and AI code editors
JeecgBoot
jeecgboot
AI 低代码平台「低代码 + 零代码」双驱动!低代码可一键生成前后端代码;零代码可 5 分钟搭建系统;AI Skills 一句话画流程、设计表单、生成整套系统。内置 AI聊天、知识库、流程编排、MCP插件等,兼容主流大模型。引领「AI 生成 → 在线配置 → 代码生成 → 手工合并->AI修改」开发模式,消除 Java 项目 80% 的重复工作,提效而不失灵活。
UI-TARS-desktop
bytedance
The Open-Source Multimodal AI Agent Stack: Connecting Cutting-Edge AI Models and Agent Infra
gpt-researcher
assafelovic
An autonomous agent that conducts deep research on any data using any LLM providers