vscode-refactor-mcp
Verified Safeby ramblingenzyme
Overview
A VSCode extension hosting an IPC server to enable external MCP (Model Context Protocol) servers to proxy VSCode API calls for refactoring and code manipulation.
Installation
npm start -w packages/serverEnvironment Variables
- VSCODE_MCP_SOCKET_PATH
Security Notes
The system utilizes local Inter-Process Communication (Unix Domain Sockets/Named Pipes) for communication between the VSCode extension and the MCP server, limiting external network exposure. Socket paths are dynamically generated per workspace, enhancing isolation. Data is exchanged as JSON strings, which are parsed by the extension. While standard, if a malicious MCP server were to connect and send malformed JSON, it could potentially lead to unexpected behavior or crashes. The primary security boundary relies on the MCP server being a trusted component of the system, as it instructs the extension to perform sensitive VSCode API calls like file renames and symbol renames. No 'eval' or obvious hardcoded secrets were found.
Similar Servers
XcodeBuildMCP
Provides an MCP (Model Context Protocol) server for AI agents and other clients to programmatically build, test, run, and debug iOS and macOS applications, manage simulators/devices, and capture logs.
spec-workflow-mcp
Facilitates structured, specification-driven software development by providing a workflow engine, real-time dashboards, and tools for task management, approvals, and detailed implementation logging, integrated with AI agents and VSCode.
cclsp
Integrate LLM-based coding agents with Language Server Protocol (LSP) servers to enable robust code navigation, symbol resolution, and refactoring across various programming languages.
language-server-mcp
Provides language support features like hover information, code completion, and diagnostics for code editing through the Model Context Protocol (MCP).