vscode-context-mcp
6
VSCode Context MCP is a server designed to enhance the interaction between AI assistants and the VSCode environment. It provides expanded capabilities like accessing current context and running filesystem operations to assist developers effectively. The server supports sophisticated integrations with AI models to boost productivity and facilitate complex coding tasks.
VSCode Context MCP
VSCode Context MCP creates a bridge between AI assistants and your VSCode environment. It enables AI models to:
- Access the current VSCode context (active files, tabs, terminal output)
- Perform filesystem operations with controls
- Execute shell commands in a controlled environment
Features
VSCode Context Access
- Get current project path
- Retrieve active file contents and metadata
- List open editor tabs
- Access diagnostic problems (warnings/errors)
- Retrieve terminal output
- Access files attached to the workspace
Filesystem Operations
- Read/write files
- Edit files with line-based changes
- Create directories
- List directory contents
- Generate directory trees
- Search for files
- Get file metadata
- Move/rename files
Command Execution
- Run shell commands with output capture
- Controlled execution environment
Integration with AI Assistants
- Understand your code context
- Make informed suggestions
- Provide relevant examples
- Help debug issues
Installation
- Install the VSCode Extension
- Set up and run the MCP server
- Test the connection
- Add files to Claude context