Vscode Automation MCP Server

vscode-automation-mcp npm v1.0.0

Published by sukarth — no publish provenance, so origin is unverified, but the source is public: the repository link below is self-declared yet readable, so you can inspect the code before adopting it.

An MCP server that enables AI agents to automate VSCode by allowing them to interact with the UI, execute commands, inspect the DOM, and control the editor programmatically

Trust grade
B
87/100
Last scanned get badge →
Trust
B · 87/100
Adoption risk for you: the threat score, then adjusted down for blast radius, publisher verification and how much the scan could see. Deterministic; every point is auditable.
Capability
High
Blast radius if it went rogue — what the server’s tools could reach. Independent of trust.
Coverage
Source
How much the scan could actually inspect. Shallow coverage is stated, never hidden.
Share this Trust Score
𝕏 Share LinkedIn Reddit
B Why this grade threat 94 − adoption risk = 87/100

The grade answers one question — how safe is this server for you to adopt — so it is computed in two auditable stages. Nothing below is an opinion or an LLM's guess; every line is a real term the deterministic engine applied, and the same input always yields the same number.

1. Threat score — 100 − 6.3 = 94. What the published surface and source actually contain:

PointsWhat was foundCategory
−6.3 Untrusted input concatenated into a command sink MTC-SRC-009 injection

2. Client adoption risk — 94 − 7 = 87. Three small, subtract-only factors that reflect your risk in adopting it — a clean scan proves less on a powerful, unverified or barely-inspectable package, so the grade says so plainly:

PointsAdoption-risk factor
−6 capability blast radius (high) — client exposure if the model is manipulated
−1 publisher verification (public source) — no provenance, but the source is public and inspectable

Capability observations and info notes are shown under Findings but never scored. Open any row's finding below for the file, line and evidence behind a deduction.

Findings 5

high Sensitive-source and external-sink co-existMTC-FLOW-004

Tools that read sensitive data ([vscode_dump_dom_to_file]) and tools that can send data out ([vscode_execute_command]) are exposed together. An agent can move private data to the sink.

Evidence: sources [vscode_dump_dom_to_file] → sinks [vscode_execute_command]

Fix: Keep secret-reading and egress capabilities on separate, separately-approved servers.

Location: flow vscode_dump_dom_to_file → vscode_execute_command

high Tool "vscode_execute_command" exposes command/code executionMTC-CAP-001

Tool "vscode_execute_command" appears to run shell commands or evaluate code (keyword "execute command" in tool name). Arbitrary execution driven by model input is one of the most dangerous MCP capabilities; combined with any untrusted input it becomes RCE.

Fix: Sandbox execution, allowlist commands/arguments, and never pass model output to a shell unescaped.

Location: tool vscode_execute_command

high Shell/command execution in server code (dist/vscode-driver.js)MTC-SRC-002

In the server's implementation (`dist/vscode-driver.js:356`): Spawning a shell/process is command-execution capability; with unsanitized tool input it is command injection / RCE. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: cSync } = await import('child_process'); try { // Use WMIC to find and kill processe

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server dist/vscode-driver.js

medium Untrusted input concatenated into a command sink (dist/vscode-driver.js)MTC-SRC-009

In the server's implementation (`dist/vscode-driver.js:360`): A shell/process command assembled from concatenated or interpolated values is command injection when any part is attacker-influenced — the OWASP canonical RCE flow. Verify what reaches the interpolated value. This is read from the code itself — not from the tool description — so a poisoned server cannot hide it behind honest-looking metadata.

Evidence: '); execSync(`wmic process where "ExecutablePath like '%${path.basename(path.dirname(normalizedPath)

Fix: Review this call path: confirm it never receives unsanitized tool input, constrain it, or remove it. Treat a server whose code reaches these sinks as high-capability regardless of what its tools claim.

Location: server dist/vscode-driver.js

low Mutating tool "vscode_execute_command" declares no destructiveHintMTC-CAP-005

Tool "vscode_execute_command" can mutate/egress but declares no destructiveHint. Clients that don't default to spec-safe behavior may not prompt before running it.

Fix: Declare accurate annotations, and gate destructive tools on user confirmation regardless.

Location: tool vscode_execute_command

Tools 61

Each tool and what it can reach — statically extracted from the published source.

  • vscode_dump_dom_to_filereads sensitive data
  • vscode_execute_commandruns code / shell
  • vscode_assert_textno sensitive capability
  • vscode_check_file_openno sensitive capability
  • vscode_clear_consoleno sensitive capability
  • vscode_click_elementno sensitive capability
  • vscode_click_menu_itemno sensitive capability
  • vscode_dismiss_notificationno sensitive capability
  • vscode_drag_dropno sensitive capability
  • vscode_execute_scriptno sensitive capability
Show 51 more tools ↓
  • vscode_find_interactive_elementsno sensitive capability
  • vscode_focus_elementno sensitive capability
  • vscode_get_accessibility_treeno sensitive capability
  • vscode_get_completion_itemsno sensitive capability
  • vscode_get_console_logsno sensitive capability
  • vscode_get_devtools_infono sensitive capability
  • vscode_get_diagnosticsno sensitive capability
  • vscode_get_domno sensitive capability
  • vscode_get_editor_contentno sensitive capability
  • vscode_get_elementno sensitive capability
  • vscode_get_element_by_idno sensitive capability
  • vscode_get_element_childrenno sensitive capability
  • vscode_get_element_parentsno sensitive capability
  • vscode_get_element_siblingsno sensitive capability
  • vscode_get_elements_by_classno sensitive capability
  • vscode_get_elements_by_tagno sensitive capability
  • vscode_get_extension_logsno sensitive capability
  • vscode_get_menu_itemsno sensitive capability
  • vscode_get_notificationsno sensitive capability
  • vscode_get_output_channel_contentno sensitive capability
  • vscode_get_output_channelsno sensitive capability
  • vscode_get_performance_metricsno sensitive capability
  • vscode_get_problems_panelno sensitive capability
  • vscode_get_quick_pick_itemsno sensitive capability
  • vscode_get_statusno sensitive capability
  • vscode_get_tooltipno sensitive capability
  • vscode_get_ui_structureno sensitive capability
  • vscode_go_to_definitionno sensitive capability
  • vscode_handle_dialogno sensitive capability
  • vscode_hoverno sensitive capability
  • vscode_initializeno sensitive capability
  • vscode_list_commandsno sensitive capability
  • vscode_open_context_menuno sensitive capability
  • vscode_open_fileno sensitive capability
  • vscode_open_webviewno sensitive capability
  • vscode_press_keysno sensitive capability
  • vscode_query_elementsno sensitive capability
  • vscode_query_selectorno sensitive capability
  • vscode_scrollno sensitive capability
  • vscode_search_domno sensitive capability
  • vscode_select_completion_itemno sensitive capability
  • vscode_select_quick_pick_itemno sensitive capability
  • vscode_take_screenshotno sensitive capability
  • vscode_trigger_completionno sensitive capability
  • vscode_trigger_hoverno sensitive capability
  • vscode_trigger_signature_helpno sensitive capability
  • vscode_type_textno sensitive capability
  • vscode_verify_elementno sensitive capability
  • vscode_wait_for_elementno sensitive capability
  • vscode_wait_for_idleno sensitive capability
  • vscode_wait_for_textno sensitive capability

Toxic flows 1

Cross-tool combinations that form a data-exfiltration primitive (untrusted input → sensitive source → external sink).

What this scan could not see

Versions 1

Scan history per published version. The engine is deterministic — the same version always yields the same score, so a changed score means the package itself changed.

VersionScoreFindingsEngineScanned
v1.0.0 latest B 87/100 5 1.13.0 2026-09-07

Embed this score

Show this server's live Trust Score in your README, docs or website. The badge is served straight from the registry and updates automatically after every rescan — no API key needed. It links back to this page, so anyone who sees the grade can also read the findings behind it instead of taking a number on faith.

MCP Trust Score: B · 87/100
Markdown (GitHub README)
[![MCP Trust Score](https://mcptrustchecker.com/registry/vscode-automation-mcp/badge.svg)](https://mcptrustchecker.com/registry/vscode-automation-mcp)
HTML
<a href="https://mcptrustchecker.com/registry/vscode-automation-mcp"><img src="https://mcptrustchecker.com/registry/vscode-automation-mcp/badge.svg" alt="MCP Trust Score" height="20"></a>
Prefer shields.io styling? Point it at https://mcptrustchecker.com/registry/vscode-automation-mcp/badge.json via https://img.shields.io/endpoint?url=…

Verify this score yourself

The score above is reproducible: the same package version always yields the same result. Run it locally or over the free API — no account, no LLM, fully deterministic.

npx mcptrustchecker scan vscode-automation-mcp --online

Use the free API → How scoring works

More in Developer Tools