VSC icon

VSC

Exposes Language Server Protocol (LSP) functionality as Model Context Protocol (MCP) tools, enabling AI agents to analyze and edit TypeScript/JavaScript code programmatically.

About

VSC empowers AI agents to interact with and modify TypeScript and JavaScript code through standardized Model Context Protocol (MCP) tool calls. By leveraging the Language Server Protocol (LSP), it provides a language-agnostic interface for code manipulation, working in both single-file and project-based modes (with tsconfig.json detection). Its security features, including path restrictions, ensure controlled access to files, preventing unauthorized operations. VSC enables functionalities such as symbol editing, reading, file I/O, and search/replace operations, making it a versatile tool for AI-driven code analysis and modification.

Key Features

  • Provides language-agnostic code manipulation through LSP APIs.
  • Offers tools for symbol editing, reading, file I/O, and search/replace operations.
  • Exposes LSP functionality as MCP tools.
  • 6 GitHub stars
  • Supports single-file and project modes (tsconfig.json detection).
  • Includes security features for restricting file operations to specified directories.

Use Cases

  • Integrating code manipulation capabilities into AI agents and workflows.
  • AI-driven code analysis.
  • Automated code modification and refactoring.
Craft Better Prompts with AnyPrompt