This project provides tools that expose Language Server Protocol (LSP) functionality as MCP (Model Context Protocol) tools
Overview
What is VSC-MCP?
VSC-MCP is a project that provides tools to expose Language Server Protocol (LSP) functionality as Model Context Protocol (MCP) tools, enabling AI agents to analyze and edit TypeScript/JavaScript code programmatically.
How to use VSC-MCP?
To use VSC-MCP, clone the repository, install the dependencies using Bun, and configure the server settings in the Claude Desktop config file.
Key features of VSC-MCP?
- Supports single-file and project mode with tsconfig.json detection.
- Language-agnostic code manipulation through LSP APIs.
- Fully compatible with the Model Context Protocol (MCP) SDK.
- Security features to restrict file operations to specific directories.
Use cases of VSC-MCP?
- Programmatically editing TypeScript/JavaScript code.
- Integrating AI agents for code analysis and manipulation.
- Enhancing development workflows with automated code editing tools.
FAQ from VSC-MCP?
- What programming languages does VSC-MCP support?
VSC-MCP is designed for TypeScript and JavaScript but can be adapted for other languages through LSP APIs.
- Is VSC-MCP secure?
Yes, it includes security features to restrict file operations to specified directories, preventing unauthorized access.
- How do I install VSC-MCP?
Clone the repository and run 'bun install' to set up the project.