VSCode Internal Command

•
63
•

Transforms VSCode into a Model Context Protocol server, enabling external clients to remotely execute internal commands and query workspace information.

The VSCode Internal Command tool empowers developers to programmatically interact with their VSCode environment. By converting VSCode into a Model Context Protocol (MCP) server, it facilitates remote execution of internal VSCode commands and retrieval of workspace data through HTTP Streaming and Server-Sent Events. Built on the high-performance FastMCP framework, this extension offers secure and efficient integration, allowing external applications, including AI agents or other development tools, to automate and control the IDE's core functionalities.

主な機能

01HTTP Streaming and Server-Sent Events (SSE) support for real-time communication
02Remote execution of any VSCode internal command with configurable arguments
03Query current VSCode workspace status and active file information
04Enhanced security through a configurable command whitelist mechanism
05Full compliance with the Model Context Protocol (MCP) specification
065 GitHub stars

ユースケース

01Automating repetitive VSCode tasks from external scripts or applications
02Integrating VSCode's capabilities with AI agents or other development tools for enhanced control
03Programmatically querying workspace information and status for custom workflows