Connections & Capabilities
Connects To
Capabilities
Quickstart
Config
{
"mcpServers": {
"vscode-mcp-server": {
"command": "npx",
"args": ["mcp-remote@next", "http://localhost:3000/mcp"]
}
}
}Exposed MCP Tools (12)
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.
Safety Assessment
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.
- Selective tool configuration allows disabling risky tools.
- Operates locally, minimizing external network exposure.
- Requires explicit user action to enable the server.
- Uses VS Code's built-in capabilities for file system operations.
- Allows execution of shell commands, posing a significant risk.
- Lacks authentication, making it vulnerable if exposed.
- File system write operations can lead to data loss or corruption.
- Potential for malicious code injection via MCP client.
