VS Code Server
Createdjuehang
Exposes Visual Studio Code editing features to an LLM for AI-assisted coding.
About
VS Code Server provides an Model Context Protocol (MCP) compliant server that allows AI models and other MCP clients to interact directly with your VS Code workspace, enabling AI assistants to list files, read file contents, search for symbols, create new files, make line replacements, check for diagnostics, and execute shell commands through a standardized protocol.
Key Features
- Supports searching for symbols and getting symbol definitions.
- Provides diagnostic information (errors/warnings) for code quality checks.
- Enables AI models to list files and directories within VS Code workspace.
- Allows reading file contents with encoding support and size limits.
- Facilitates the creation of new files and line replacements.
- 56 GitHub stars
Use Cases
- Automating code modifications and refactoring tasks using AI models.
- Integrating AI assistants with VS Code for intelligent code completion.
- Enabling remote access to VS Code's editing capabilities for AI-powered tools.