claude-code-cli
by huangserva · TypeScript · ★ 568
这是 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 Claude Desktop config
Add this to your claude_desktop_config.json:
{
"mcpServers": {
"claude-code-cli": {
"command": "npx",
"args": [
"-y",
"github:huangserva/claude-code-cli"
]
}
}
} From the README
💡 Need a managed MCP host?
Try Claude Pro for the smoothest MCP experience, or browse our cloud-hosted servers.
Related ai & ml servers
n8n
n8n-io
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.
ai-engineering-hub
patchy631
In-depth tutorials on LLMs, RAGs and real-world AI agent applications.
openfang
RightNow-AI
Open-source Agent Operating System
awesome-ai-apps
Arindam200
A collection of projects showcasing RAG, agents, workflows, and other AI use cases
kreuzberg
kreuzberg-dev
A polyglot document intelligence framework with a Rust core. Extract text, metadata, images, and structured information from PDFs, Office documents, images, and 97+ formats. Available for Rust, Python, Ruby, Java, Go, PHP, Elixir, C#, R, C, TypeScript (Node/Bun/Wasm/Deno)- or use via CLI, REST API, or MCP server.
yao
YaoApp
✨ Build AI agents and web apps — with a single binary.