DeepCopilot 是 AI Skill Hub 本期精选MCP工具之一。综合评分 7.5 分,整体质量较高。我们推荐使用将其纳入你的 AI 工具库,帮助提升工作效率。
DeepCopilot 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
DeepCopilot 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/ZhouChaunge/DeepCopilot
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"deepcopilot": {
"command": "npx",
"args": ["-y", "deepcopilot"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 DeepCopilot 执行以下任务... Claude: [自动调用 DeepCopilot MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"deepcopilot": {
"command": "npx",
"args": ["-y", "deepcopilot"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
<p align="center"> <img src="imgs/main_logo.png" alt="Deep Copilot" width="100%"/> </p>
<p align="center"> <b>嵌入 VS Code 的 AI 编程助手 · 由 DeepSeek V4 驱动</b><br/> <sub>An AI coding agent embedded in VS Code, powered by DeepSeek V4</sub> </p>
<p align="center"> <a href="https://code.visualstudio.com/"><img src="https://img.shields.io/badge/VS%20Code-%E2%89%A51.95.0-blue" alt="VS Code"/></a> <a href="https://github.com/ZhouChaunge/DeepCopilot/releases"><img src="https://img.shields.io/github/v/release/ZhouChaunge/DeepCopilot?label=version&color=success" alt="Version"/></a> <a href="https://github.com/ZhouChaunge/DeepCopilot/stargazers"><img src="https://img.shields.io/github/stars/ZhouChaunge/DeepCopilot?style=flat&color=yellow" alt="GitHub stars"/></a> <a href="https://marketplace.visualstudio.com/items?itemName=ZhouChaunge.deep-copilot"><img src="https://img.shields.io/visual-studio-marketplace/i/ZhouChaunge.deep-copilot?label=installs&color=brightgreen" alt="VS Marketplace Installs"/></a> <a href="./LICENSE"><img src="https://img.shields.io/badge/license-MIT-green" alt="License"/></a> </p>
Deep Copilot 是一个把 Copilot 风格的 AI Agent 直接搬进 VS Code 的扩展。它通过 DeepSeek API(OpenAI 兼容协议)与模型对话,调用工具读写文件、搜索代码、执行 Shell 命令,并把整个过程实时呈现在侧边栏中。无需后端、无需 Docker、无需 Rust,纯 Node.js / 浏览器 API 实现。 Deep Copilot brings a Copilot-style AI agent directly into VS Code. It talks to DeepSeek (OpenAI-compatible) and lets the model call tools to read/write files, search code, and run shell commands — streamed live into the sidebar. No backend, no Docker, no Rust — pure Node.js + browser APIs.
---
| English | 中文 |
|---|---|
| **Agentic loop** with multi-turn tool calling on DeepSeek V4 (Pro / Flash / Reasoner) | 与 DeepSeek V4(Pro / Flash / Reasoner)多轮**tool-calling 循环** |
| **File tools**: read, write, str-replace, apply_patch, list dir, find files, ripgrep search | **文件工具**:读 / 写 / 精准替换 / apply_patch / 列目录 / 查找 / 全文搜索 |
| **Shell tool** with configurable approval policy | **终端工具**,按审批策略弹窗确认 |
| **Web search** via Tavily (optional API key) | **网络搜索**(Tavily,可选 Key) |
| **Plan & Todos** panel — agent maintains a structured plan you can watch tick off | **Plan & Todos** 面板,Agent 自维护结构化任务并实时勾选 |
| **Revert last turn** — one-click rollback of all file edits in the current agent turn | **一键回滚**当前 Agent 轮次对文件的所有修改 |
**User memory** (~/.deepcopilot/memory.md) — cross-project preferences in every system prompt | **用户记忆**(~/.deepcopilot/memory.md),跨项目偏好自动注入系统提示词 |
**MCP client** — connect any MCP-compatible tool server via deepseekAgent.mcp.servers | **MCP 客户端**,通过 deepseekAgent.mcp.servers 连接任意 MCP 工具服务器 |
| **Post-tool hooks** — run scripts after any tool call; output injected into model context | **工具后置钩子**,工具调用后自动执行脚本,输出注入模型上下文 |
| **Post-edit LSP diagnostics** appended to every edit so the model can self-verify | 每次编辑后自动附加**LSP 诊断**,模型可自行校验 |
| **Per-workspace session history** with search, rename, delete | 每工作区独立的**会话历史**,可搜索 / 重命名 / 删除 |
| **Parallel sessions** — switch away from a running task and start another; live replay on return | **多会话并行**:任务跑着可以切走开新对话,回来自动回放进度 |
| **Streaming output** with reasoning expander, blinking cursor, top progress bar | **流式输出**:思维链可展开、闪烁光标、顶部进度条 |
| **HTML rendering** — model responses render full Markdown + HTML; math via KaTeX | **HTML 渲染**:响应支持完整 Markdown + HTML + KaTeX 数学公式 |
| **Account balance** display in footer (click to refresh) | **账户余额**实时显示在底栏(点击刷新) |
| **Auto-grow input** — textarea grows with content, GH Copilot style | **自适应输入框**:随内容自动增高,对齐 GH Copilot 体验 |
| **Approval modes**: Manual / Auto-Edit / Autopilot / Read-Only | **审批模式**:手动 / 自动编辑 / 全自动 / 只读 |
| **Cost telemetry** in CNY shown in the footer | 底栏显示**token 数与人民币成本** |
**Slash commands** (/explain, /fix, /tests …), **@ file refs** and **# context refs** — pick #file, #selection, #editor, #problems, #changes, #terminal, #symbol:Foo, #fetch:URL from the input | **斜杠命令** + **@ 文件引用** + **# 上下文引用**(在输入框键入 # 即可挑选文件 / 选区 / 编辑器 / 诊断 / Git 改动 / 终端 / 符号 / 抓取 URL) |
| **Smart code-block actions**: Run in terminal · Insert · Copy · Fold long blocks | **代码块操作**:在终端运行 / 插入 / 复制 / 长代码折叠 |
| **Bilingual UI + locale-aware fonts**: auto follows VS Code locale (zh-cn / en) — Chinese font stack for CJK, Latin font stack for EN | **中英双语 UI + 语言感知字体**:跟随 VS Code 语言自动切换界面文案与字体(中文环境使用微软雅黑/苹方,英文环境使用 Segoe UI/Inter) |
**Skills system** — define reusable SKILL.md packs in ~/.deepcopilot/skills (or ~/.claude/skills, ~/.copilot/skills); YAML frontmatter for workspace gating, invoke via /skill or the model's skill_invoke tool | **技能系统**:在 ~/.deepcopilot/skills 等目录放置 SKILL.md 技能包,支持 YAML 元数据与工作区门控,/skill 命令或 skill_invoke 工具均可唤起 |
**Inline FIM completions** — DeepSeek ghost-text suggestions as you type; Tab to accept; off by default (deepCopilot.inlineCompletion.enable) | **行内 FIM 补全**:基于 DeepSeek 的编辑器幽灵文字建议,Tab 接受;默认关闭,开关:deepCopilot.inlineCompletion.enable |
| **Plan mode** — read-only investigation mode; agent can read/search but never write or run shell commands | **Plan 只读模式**:仅允许读文件/搜索,拒绝任何写操作,适合调查代码结构时使用 |
**Ecosystem AI-rule discovery** — auto-injects DEEPCOPILOT.md, .github/copilot-instructions.md, AGENTS.md, .cursor/rules/*.mdc, CLAUDE.md | **项目规则自动发现**:自动注入工作区下的主流 AI 规则文件(GitHub Copilot / Cursor / Claude 等),让模型了解项目约定 |
---
开始使用前只需准备以下 Key(最少只需第一个): You only need the following keys to get started — at minimum just the first one:
| # | API Key | 用途 · Purpose | 获取地址 · Get it here | 是否必须 · Required |
|---|---|---|---|---|
| 1 | **DeepSeek API Key** | 驱动 AI 对话与 Agent 工具调用 · Powers all AI chat & agent tool calls | [platform.deepseek.com/api_keys](https://platform.deepseek.com/api_keys) | ✅ 必须 · Required |
| 2 | **Tavily API Key** | 启用联网搜索工具 web_search · Enables the web_search tool | [app.tavily.com](https://app.tavily.com) | ⚙️ 可选 · Optional |
| Tool | Version | Note |
|---|---|---|
| **Node.js** | ≥ 18 | esbuild + vsce |
| **npm** | ≥ 9 | comes with Node |
| **VS Code** | ≥ 1.95 | extension host |
| **Git** | any | optional, to clone |
npm install
```bash
npm run build
code --install-extension deep-copilot-0.32.7.vsix --force ```
```bash git clone https://github.com/ZhouChaunge/DeepCopilot.git cd DeepCopilot npm install code .
run_shell 拥有完整的操作系统访问能力,并给出 Windows Start-Process / macOS open / Linux xdg-open 的调起范例,禁止 Agent 以“无法启动桌面应用”为由拒绝任务;修复 autopilot 下“打开某某软件”请求被静默拒绝的问题。run_shell has full OS-level access, with platform-specific launchers (Start-Process, open, xdg-open). Fixes the regression where the agent refused to attempt launching desktop apps in autopilot mode (tool_calls=0).---
All settings live under the deepseekAgent.* namespace in settings.json. 所有设置都在 settings.json 的 deepseekAgent.* 命名空间下。
| Setting | Default | EN | 中文 |
|---|---|---|---|
deepseekAgent.defaultModel | deepseek-v4-pro | Default model | 默认模型(deepseek-v4-pro / deepseek-v4-flash / deepseek-reasoner) |
deepseekAgent.apiBaseUrl | *(empty → api.deepseek.com)* | API endpoint | API 入口(国内可填 https://api.deepseeki.com) |
deepseekAgent.approvalMode | manual | Tool-call approval policy | 工具调用审批策略 |
deepseekAgent.interactionMode | agent | agent / ask | 交互模式(Agent 可调工具,Ask 纯聊天) |
deepseekAgent.autoApproveTools | [] | Tool names to always allow | 始终自动允许的工具名 |
deepseekAgent.denyTools | [] | Tool names to always deny | 始终拒绝的工具名 |
deepseekAgent.maxIterations | 15 | Hard ceiling on tool-call rounds | 单次发送的工具调用迭代上限 |
deepseekAgent.compactBudgetTokens | 600000 | Token budget before auto-compaction | 自动压缩历史前的 token 预算 |
deepseekAgent.postEditDiagnostics | true | Append LSP diagnostics after every file edit | 每次编辑后追加 LSP 诊断结果 |
deepseekAgent.mcp.servers | [] | MCP server list (see MCP section below) | MCP 工具服务器列表(见下方 MCP 小节) |
deepseekAgent.enableDebugLog | true | Log thought / tool / API events to .deep-copilot/logs/ | 写思维链 / 工具 / API 事件日志 |
- 🇬🇧 One-click access to all API keys: clicking the 🔑 button now opens a unified QuickPick panel with three items — DeepSeek API Key (required), Tavily API Key (optional), and Base URL — each showing live status, masked key preview, and inline help. The Tavily key, previously only accessible via the command palette, is now visible in the UI. 🇨🇳 一键访问所有 API 配置:点击 🔑 按钮现会弹出统一的 QuickPick 面板,包含三项设置——DeepSeek API Key(必填)、Tavily API Key(可选)、Base URL,每项都显示实时状态、脱敏后的 Key 预览与说明。Tavily Key 之前只能通过命令面板访问,现在在 UI 中可见。 - 🇬🇧 Status indicators: codicon icons (pass-filled / circle-large-outline) show at a glance which keys are configured. 🇨🇳 状态图标:使用 codicon 图标(pass-filled / circle-large-outline)一眼看出哪些 Key 已配置。 - 🇬🇧 Looped UI: after configuring one item, the panel returns automatically so users can set multiple keys without reopening. 🇨🇳 循环面板:设置完一项后面板自动返回列表,可连续配置多项无需重新点击。 - 🇬🇧 README: added a “API Keys Required” section near the top to help new users get set up faster. 🇨🇳 README 更新:顶部新增「API Keys Required」章节,帮助新用户更快上手。
# 弹出上下文引用选择器,可一键附加:#file(工作区文件)/ #selection(当前选区)/ #editor(当前整文件)/ #problems(诊断信息)/ #changes(git diff 未提交改动)/ #terminal(终端选中文本)/ #symbol:Foo(工作区符号)/ #fetch:URL(抓取链接内容)。所有引用以 <attachment path="…"> 块形式注入模型上下文;带参引用支持空格自动转 chip,未提交的 #ref:arg 在发送时由扩展端原子解析后随消息一并下发,避免异步竞态。#fetch 复用 web-fetch.js 的 SSRF 拦截;#file / #editor 严格校验路径在工作区内。# in the chat input opens a context-reference picker. One-click attach: #file (any workspace file), #selection (active selection), #editor (active file), #problems (diagnostics), #changes (unstaged git diff), #terminal (selected terminal text), #symbol:Foo (workspace symbols), #fetch:URL (web fetch). All refs ride as <attachment path="…"> blocks with synthetic paths (<problems>, <git-changes>, <symbol:Foo>, <fetch:URL>) so the model can tell them apart from real files. Inline #ref:arg tokens are resolved race-free on the extension side before the agent loop runs. SSRF blocklist enforced for #fetch; workspace-containment check for #file / #editor.npm run package
1. Open VS Code → Extensions (Ctrl/Cmd+Shift+X) → Search Deep Copilot → Install. 打开 VS Code → 扩展面板(Ctrl/Cmd+Shift+X)→ 搜索 Deep Copilot → 安装。
```
```
| Symptom · 症状 | English Fix | 中文解决 |
|---|---|---|
请先设置 API Key toast | Click 🔑 in the bottom-right of the panel | 点面板右下角 🔑 粘贴 Key |
| 401 / 403 errors | Key invalid or revoked — regenerate at platform.deepseek.com | Key 失效,到 platform.deepseek.com 重新生成 |
| 402 errors | Account out of balance — top up | 账户余额不足,请充值 |
| 429 errors | Rate-limited; retry button is shown on the error card | 触发限流,点错误卡上的 🔄 重试 |
| Connection timeouts in mainland China | Switch base URL to https://api.deepseeki.com | 切到 https://api.deepseeki.com |
| UI still shows "思考中" | Old VSIX still installed — install the new one with --force | 装新版用 --force 覆盖旧版 |
| Tools not being called | You may be in Ask mode — switch to Agent in the header | 当前是 Ask 模式,切到 Agent |
| Hangs mid-task | Click ⏹ Stop or press Esc; check Debug Log | 点 ⏹ 或按 Esc 停止;查看调试日志 |
| Status bar "Deep Copilot" missing | Right-click the status bar → enable "Deep Copilot" | 右键状态栏 → 勾选 "Deep Copilot" |
---
Deep Copilot 是一个嵌入在 VS Code 中的 AI 编程助手,使用 DeepSeek V4 驱动。它提供了一个智能的编程体验,帮助开发者更高效地编写代码。
Deep Copilot 的亮点包括:与 DeepSeek V4 的多轮工具调用循环、文件工具(读取、写入、字符串替换等)以及智能的代码完成等功能。
开始使用 Deep Copilot,需要配置以下 API Key:DeepSeek API Key、用于驱动 AI 对话和 Agent 工具调用。环境依赖包括 Node.js、npm、VS Code 和 Git 等。
安装 Deep Copilot 可以通过以下方式:安装预构建的 VSIX、从源码构建或使用 Docker 等方式。具体步骤包括:克隆代码仓库、安装依赖项、构建扩展等。
使用 Deep Copilot,可以通过以下步骤:启动扩展开发宿主、配置 API Key、启动 Agent 等。具体使用教程包括:如何使用 Agent、如何配置 API Key 等。
Deep Copilot 的配置包括:设置 API Key、配置 Agent 参数等。具体配置说明包括:MCP、环境变量和关键参数等。
Deep Copilot 的 API 包括:# Context-Reference Picker 等功能。具体 API 说明包括:如何使用 # 符号等。
Deep Copilot 的工作流包括:从源码构建、打包 VSIX 等。具体工作流说明包括:如何构建扩展等。
Deep Copilot 的常见问题包括:如何配置 API Key、如何解决 401/403 错误等。具体故障排查包括:如何解决 toast 错误等。
DeepCopilot是一个Copilot-style AI编码代理,基于DeepSeek V4,具有很好的潜力,但仍需要进一步开发和优化
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
经综合评估,DeepCopilot 在MCP工具赛道中表现稳健,质量良好。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | DeepCopilot |
| 原始描述 | 开源MCP工具:Copilot-style AI coding agent for VS Code, powered by DeepSeek V4. 。⭐10 · TypeScript |
| Topics | mcpagentic-aiai-agentai-coding-assistantchatgpt-alternativecode-assistanttypescript |
| GitHub | https://github.com/ZhouChaunge/DeepCopilot |
| License | MIT |
| 语言 | TypeScript |
收录时间:2026-05-17 · 更新时间:2026-05-18 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端