juehang avatar

VS Code

juehang/vscode-mcp-server

The VS Code MCP Server extension enables Claude and other MCP clients to interact with and edit code directly within Visual Studio Code by exposing VS Code's native capabilities through the Model Context Protocol. It provides tools for file management, symbol searching, document outlining, diagnostic checking, and shell command execution, allowing AI coding agents to leverage VS Code's built-in features without duplicating functionality. This solves the problem of extending existing coding agents with IDE-specific capabilities while maintaining integration with their existing toolsets.

GitHub stars
363
tools
12
last updated
Mar 8, 2026

Tools

12 tools

Public tool metadata for what this MCP can expose to an agent.

list_files_codeLists files and directories in your workspace

Lists files and directories in your workspace

No parameter schema in public metadata yet.

read_file_codeReads file contents

Reads file contents

No parameter schema in public metadata yet.

move_file_codeMoves a file or directory to a new location using VS Code's WorkspaceEdit API

Moves a file or directory to a new location using VS Code's WorkspaceEdit API

No parameter schema in public metadata yet.

rename_file_codeRenames a file or directory using VS Code's WorkspaceEdit API

Renames a file or directory using VS Code's WorkspaceEdit API

No parameter schema in public metadata yet.

copy_file_codeCopies a file to a new location using VS Code's file system API

Copies a file to a new location using VS Code's file system API

No parameter schema in public metadata yet.

create_file_codeCreates a new file using VS Code's WorkspaceEdit API

Creates a new file using VS Code's WorkspaceEdit API

No parameter schema in public metadata yet.

replace_lines_codeReplaces specific lines in a file

Replaces specific lines in a file

No parameter schema in public metadata yet.

get_diagnostics_codeChecks for warnings and errors in your workspace

Checks for warnings and errors in your workspace

No parameter schema in public metadata yet.

search_symbols_codeSearches for symbols across the workspace

Searches for symbols across the workspace

No parameter schema in public metadata yet.

get_symbol_definition_codeGets definition information for a symbol in a file

Gets definition information for a symbol in a file

No parameter schema in public metadata yet.

get_document_symbols_codeGets an outline of all symbols in a file, showing the hierarchical structure

Gets an outline of all symbols in a file, showing the hierarchical structure

No parameter schema in public metadata yet.

execute_shell_command_codeExecutes a shell command in the VS Code integrated terminal with shell integration

Executes a shell command in the VS Code integrated terminal with shell integration

No parameter schema in public metadata yet.

Sponsors

Readme

VS Code MCP Server

A Visual Studio Code extension (available on the Marketplace) that allows Claude and other MCP clients to code directly in VS Code! Inspired by Serena, but using VS Code's built-in capabilities. Perfect for extending existing coding agents like Claude Code with VS Code-specific capabilities (symbol search, document outlines) without duplicating tools they already have. Note that this extension uses the streamable HTTP API, not the SSE API.

This extension can allow for execution of shell commands. This means that there is a potential security risk, so use with caution, and ensure that you trust the MCP client that you are using and that the port is not exposed to anything. Authentication would help, but as the MCP authentication spec is still in flux, this has not been implemented for now.

PRs are welcome!

Demo Video

https://github.com/user-attachments/assets/20b87dfb-fc39-4710-a910-b9481dde1e90

Installation


View the full README on GitHub

Details

Repository
github.com/juehang/vscode-mcp-server
Categories
AI & LLM Tools, Developer Tools

Related AI & LLM Tools MCP servers

View all
1fosdickio avatarBinary Ninjafosdickio/binary_ninja_mcpA Binary Ninja plugin containing an MCP server that enables seamless integration with your favorite LLM/MCP client.351stars
2ttommyth avatarinteractivettommyth/interactive-mcpVibe coding should have human in the loop! interactive-mcp: Local, cross-platform MCP server for interact with your AI Agent345stars
3chemiguel23 avatarMemoryMeshchemiguel23/memorymeshA knowledge graph server that uses the Model Context Protocol (MCP) to provide structured memory persistence for AI models.342stars
4faviovazquez avatarshowtimefaviovazquez/showtimeLocal video studio for your coding agent: scenes, voice, music and captions, on your machine.321stars
5joenorton avatarComfyUIjoenorton/comfyui-mcp-serverA lightweight Python-based MCP server that interfaces with a local ComfyUI instance to generate images via AI agent requests.313stars
6guaardvark avatarGuaardvarkguaardvark/guaardvarkLocal AI studio on your GPU: images, video, music, voice, RAG. Needs the Guaardvark app installed.300stars