# Kilo Code — AI Coding Assistant + CLI > An AI coding assistant for VS Code with an optional CLI. The repo documents an npm-installable CLI and mentions MCP server discovery as an extension path. ## Install Copy the content below into your project: ## Quick Use 1. Install / run: ```bash npm install -g @kilocode/cli ``` 2. Start / smoke test: ```bash npx @kilocode/cli ``` 3. Verify: - Run the CLI in an empty folder to confirm it launches, then try it in a small repo and validate it reads files as expected. ## Intro An AI coding assistant for VS Code with an optional CLI. The repo documents an npm-installable CLI and mentions MCP server discovery as an extension path. - **Best for:** Developers who want an IDE-first assistant, but also need a CLI entrypoint for quick tasks and automation - **Works with:** VS Code + optional Node.js CLI (per README) - **Setup time:** 10 minutes ## How to Use It Well - Setup time ~10 minutes (npm install + first run) - GitHub stars + forks (verified): see Source & Thanks - CLI is runnable via `npx` for a zero-install trial A practical way to pilot Kilo Code is to treat the CLI as your smoke test: verify file read/write behavior, command execution, and guardrails on a small repo, then graduate to the IDE flow where it can sit in your daily loop. ### FAQ **Q: Is it only an IDE extension?** A: The README describes both a VS Code extension and a separately installable CLI. **Q: Does it support MCP?** A: The README mentions MCP server discovery as an extension path; confirm the exact client-side setup in their docs. **Q: How do I evaluate it quickly?** A: Use `npx @kilocode/cli` first, then install the VS Code extension if you like the workflow. ## Source & Thanks > Source: https://github.com/Kilo-Org/kilocode > License: MIT > GitHub stars: 19,172 · forks: 2,522 --- ## 快速使用 1. 安装 / 运行: ```bash npm install -g @kilocode/cli ``` 2. 启动 / 冒烟测试: ```bash npx @kilocode/cli ``` 3. 验证: - Run the CLI in an empty folder to confirm it launches, then try it in a small repo and validate it reads files as expected. ## 简介 面向 VS Code 的 AI 编程助手,同时提供可选 CLI;README 给出 npm 安装方式,并提到可通过 MCP server 做能力扩展与发现(以 README 为准),便于快速试用。 - **适合谁:** 以 IDE 为主使用 AI 辅助编码,同时希望在命令行里也能快速执行任务与自动化的开发者 - **可搭配:** VS Code + 可选 Node.js CLI(以 README 为准) - **准备时间:** 10 分钟 ## 实战建议 - 跑通约 10 分钟(npm 安装 + 首次运行) - GitHub stars + forks(已核验):见「来源与感谢」 - 支持 `npx` 直接试用(免安装) 建议把 CLI 当作“冒烟测试”:在小仓库里先验证读写文件、执行命令与安全护栏是否符合预期;确认后再进入 IDE 场景,把它放进日常开发循环。 ### FAQ **它只是 IDE 插件吗?** A: README 同时描述了 VS Code 扩展与可单独安装的 CLI。 **支持 MCP 吗?** A: README 提到可通过 MCP server 扩展能力;具体客户端配置请以官方文档为准。 **怎么最快评估?** A: 先用 `npx @kilocode/cli` 试用,再决定是否安装 VS Code 扩展。 ## 来源与感谢 > Source: https://github.com/Kilo-Org/kilocode > License: MIT > GitHub stars: 19,172 · forks: 2,522 --- Source: https://tokrepo.com/en/workflows/kilo-code-ai-coding-assistant-cli Author: Script Depot