MCP.so
登录

vsc-mcp - VSCode MCP Server

@0xh3x

基本信息

分类

开发工具

许可证

MIT

传输方式

stdio

作者

0xh3x

关于 vsc-mcp - VSCode MCP Server

MCP server for interacting with VSCode and forks (Cursor, Windsurf and others)

vsc-mcp - VSCode MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "vsc-mcp": {
      "url": "http://localhost:3344/sse"
    }
  }
}

vsc-mcp - VSCode MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,直接连接服务器端点实时获取工具列表。

概览

What is vsc-mcp - VSCode MCP Server?

An MCP server that enables interaction with VSCode and its forks (Cursor, Windsurf, and others). It provides tools for managing open files and themes, allowing external MCP clients to control the editor programmatically.

How to use vsc-mcp - VSCode MCP Server?

Install the extension from the VSCode marketplace; the server starts automatically when VSCode launches. Configure an MCP client to connect to http://localhost:3344/sse. You can manually start or stop the server using the VSCode commands Start MCP Server and Stop MCP Server.

Key features of vsc-mcp - VSCode MCP Server

  • Retrieve a list of currently opened files in VSCode.
  • Close files by providing their labels.
  • List all available VSCode themes.
  • Get the currently active theme.
  • Change the current theme by display name.

Use cases of vsc-mcp - VSCode MCP Server

  • Automate file management tasks from external tools or AI assistants.
  • Switch editor themes programmatically based on context or time of day.
  • Integrate VSCode with custom MCP-compatible pipelines or workflows.
  • Control multiple editor instances through a unified MCP interface.

常见问题

1

What transport does the server use?

The server listens on `http://localhost:3344/sse` using SSE (Server-Sent Events).

2

How do I install the server?

Install the “vsc-mcp” extension from the VSCode marketplace. The server starts automatically on VSCode launch; you can also start or stop it manually via the `Start MCP Server` and `Stop MCP Server` commands.

3

What is the configuration URL for MCP clients?

The server endpoint is `http://localhost:3344/sse`. An example configuration for Cursor is provided in `~/.cursor/mcp.json`.

4

Does the server support VSCode forks?

Yes, the server is explicitly designed to work with VSCode and forks including Cursor, Windsurf, and others.

5

What tools are currently supported?

There are five tools: `getOpenedFiles`, `closeFiles`, `listAvailableThemes`, `getCurrentTheme`, and `setThemeByDisplayName`.

评论

开发工具 分类下的更多 MCP 服务器