Loading...

This VS Code extension exposes workspace file system and editing capabilities to MCP clients, enabling AI agents to interact with codebases directly.
Boost this tool
Subscribe to listing upgrades or segmented pushes.
This VS Code extension exposes workspace file system and editing capabilities to MCP clients, enabling AI agents to interact with codebases directly.
This extension offers convenient code interaction but carries moderate risk due to shell command execution and lack of authentication. It's safest when used with trusted MCP clients and with shell command execution disabled.
Performance depends on the size of the workspace and the complexity of the operations. File system operations can be slow for large workspaces.
No direct cost, but excessive use of file system operations can impact performance.
{
"mcpServers": {
"vscode-mcp-server": {
"command": "npx",
"args": ["mcp-remote@next", "http://localhost:3000/mcp"]
}
}
}list_files_codeLists files and directories within a specified path in the workspace.
Read-only operation, no modification of the file system.
read_file_codeReads the content of a file within the workspace.
Read-only operation, no modification of the file system.
move_file_codeMoves a file or directory to a new location within the workspace.
Can cause data loss if target is overwritten or move fails.
rename_file_codeRenames a file or directory within the workspace.
Can cause data loss if target is overwritten or rename fails.
copy_file_codeCopies a file to a new location within the workspace.
Can overwrite existing files if overwrite is enabled.
create_file_codeCreates a new file within the workspace.
Can overwrite existing files if overwrite is enabled.
replace_lines_codeReplaces specific lines in a file with new content.
Incorrect replacement can corrupt the file.
get_diagnostics_codeChecks for warnings and errors in the workspace.
Read-only operation, no modification of the file system.
search_symbols_codeSearches for symbols across the workspace.
Read-only operation, no modification of the file system.
get_symbol_definition_codeGets definition information for a symbol in a file.
Read-only operation, no modification of the file system.
get_document_symbols_codeGets an outline of all symbols in a file.
Read-only operation, no modification of the file system.
execute_shell_command_codeExecutes a shell command in the VS Code integrated terminal.
Allows arbitrary code execution with the user's privileges.
None
cloud
This extension offers convenient code interaction but carries moderate risk due to shell command execution and lack of authentication. It's safest when used with trusted MCP clients and with shell command execution disabled.
Autonomy is highly dependent on the configuration of enabled tools. Exercise caution when enabling destructive tools.
Production Tip
Disable shell command execution in production environments.
An MCP (Model Context Protocol) server allows AI models to interact with a specific environment, like a VS Code workspace.
The main risks are unauthenticated access and the ability to execute shell commands. Disable shell commands and limit network exposure.
Configure the `vscode-mcp-server.enabledTools` setting to exclude the 'shell' category.
No, authentication is not currently implemented.
Yes, you can configure Claude Desktop to use this extension as an MCP server.
The default port is 3000.
It is not recommended to use this extension remotely due to security concerns. It is designed for local use only.