vscode-as-mcp-server
If you are the rightful owner of vscode-as-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.
A VSCode extension that turns your VSCode into an MCP server, enabling advanced coding assistance from MCP clients like Claude Desktop.
VSCode as MCP Server is a powerful extension that transforms your Visual Studio Code environment into a Model Context Protocol (MCP) server. This allows for seamless integration with MCP clients, providing advanced coding assistance and automation features. The extension supports real-time code editing, terminal operations, and URL previews directly within VSCode. It also offers multi-instance switching and experimental relay functionality to expose built-in MCP servers externally. This tool is designed to be an affordable, self-hosted alternative to metered coding tools, offering a range of built-in tools for executing commands, managing debug sessions, and more.
Features
- Code Editing Support: Review and manage code changes with real-time diagnostics.
- Terminal Operations: Execute commands with support for background/foreground execution.
- Preview Tools: Preview URLs within VSCode’s built-in browser.
- Multi-instance Switching: Switch between multiple VSCode windows easily.
- Relay Functionality: Expose built-in MCP servers externally for broader access.
Tools
execute_command
Execute commands in VSCode's integrated terminal
code_checker
Retrieve diagnostic information for the current code
focus_editor
Focus on specific locations in the file
list_debug_sessions
Manage debugging sessions
text_editor
File operations (view, replace, create, insert, undo)
list_directory
List directory contents in tree format
get_terminal_output
Get output from the specified terminal
list_vscode_commands
List and execute any VSCode commands
preview_url
Open URL in VSCode's integrated browser