V

vscode-mcp-server将 vscode 内编辑功能暴露给 LLM,实现 AI 编码

(0)
Daniel Nikulshyn审阅者 Daniel Nikulshyn·更新 2026年7月

概览

VS Code MCP 服务器是 Visual Studio Code 扩展,暴露 VS Code 编辑功能给 MCP 客户端,如 Claude,支持 AI 编码。该扩展允许客户端与 VS Code 工作区交互,启用象符号搜索和文档结构视图等功能,而无需创建新的工具。该扩展使用流式 HTTP API,且可以执行 shell 命令,因此在使用时应谨慎。目前该扩展尚未实现验证,但欢迎提交Pull Request。可以从 Marktplace 安装该扩展或从仓库编译。

主要功能

  • 符号搜索
  • 文档结构视图
  • 执行 shell 命令
  • 流式 HTTP API集成

价格

模型
Free
评分
暂无评价

使用场景

与 Claude 搭配进行 AI 编码

使用 VS Code MCP 服务器与 Claude Desktop 搭配,能够在 VS Code 中启用 AI 编码,允许 Claude 与工作区交互,执行代码编辑和诊断等任务。

扩展编码代理

将 VS Code MCP 服务器与现有的编码代理集成,能够为他们提供 vscode 特定的功能,增强其能力而无需创建新的工具。

优点 & 缺点

优点

  • 可以将 vscode 特定的功能扩展到现有的编码代理中
  • 支持使用符号搜索和文档结构视图等功能的 AI 编码
  • 允许执行 shell 命令,增强交互功能

缺点

  • 执行 shell 命令可能导致安全风险
  • 目前尚未验证,需要信任 MCP 客户端并确保端口不暴露

评测

登录以留下评测。

暂无评测。来当第一个吧!

问答

Is authentication supported for the MCP server?

No, authentication is not yet implemented because the MCP authentication spec is still evolving; PRs are welcome to add this feature.

Asked by Ivana Novak · Nov 11, 2025

Which VS Code features are exposed to an MCP client?

The server provides symbol search, document outlines, file listings and the ability to execute shell commands via a streamable HTTP API, enabling advanced AI coding interactions.

Asked by Cristina Moreno · Nov 7, 2025

What security concerns should I be aware of with this extension?

The extension can execute shell commands and currently has no authentication. Ensure the MCP client is trusted and that the server port is not exposed to the public network.

Asked by Farah Rahimi · Oct 24, 2025

How do I install vscode-mcp-server for use with Claude?

Install the extension from the VS Code Marketplace or clone the repo, run `npm install` and `npm run compile`. Then configure Claude Desktop with the provided JSON snippet to point to the local MCP server.

Asked by Willa Thompson · Sep 15, 2025

提问

服务配缩器 的替代品