VSCode Internal Command icon

VSCode Internal Command

15

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.

主要功能

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

使用案例

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

Advertisement