ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

MCP VS Code

โดย flujo-appรุ่น 0.2.2i★ –iรันบนเครื่อง
ชื่อใน registryio.github.mario-andreschak/mcp-vscode

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

A self-hosted VS Code workbench embedded as an interactive MCP App.

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: เครื่องมือนักพัฒนา
  • ต้องใส่ค่าเหล่านี้: MCP_VSCODE_WORKSPACE

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

  • ผลตรวจเบื้องต้น: ผ่าน 0 จาก 1 ข้อ
  • รันในเครื่องคุณด้วยสิทธิ์ของผู้ใช้คุณ (ไฟล์ อินเทอร์เน็ต แอปต่าง ๆ)
  • ค่าที่คุณต้องใส่เอง: MCP_VSCODE_WORKSPACE, MCP_VSCODE_RENDER_MODE, MCP_VSCODE_STREAM_BROWSER, MCP_VSCODE_STREAM_NO_SANDBOX

ต้องเตรียมก่อน

  • npmติดตั้ง Node.js (มีคำสั่ง npx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "vscode": {
      "command": "npx",
      "args": [
        "-y",
        "@mario.andreschak/mcp-vscode",
        "--stdio",
        "ใส่ค่าของคุณ"
      ],
      "env": {
        "MCP_VSCODE_WORKSPACE": "ใส่ค่าของคุณ",
        "MCP_VSCODE_RENDER_MODE": "ใส่ค่าของคุณ",
        "MCP_VSCODE_STREAM_BROWSER": "ใส่ค่าของคุณ",
        "MCP_VSCODE_STREAM_NO_SANDBOX": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add vscode --env MCP_VSCODE_WORKSPACE='ใส่ค่าของคุณ' --env MCP_VSCODE_RENDER_MODE='ใส่ค่าของคุณ' --env MCP_VSCODE_STREAM_BROWSER='ใส่ค่าของคุณ' --env MCP_VSCODE_STREAM_NO_SANDBOX='ใส่ค่าของคุณ' -- npx -y @mario.andreschak/mcp-vscode --stdio 'ใส่ค่าของคุณ'

เติมค่าที่เว้นว่างไว้ก่อนรัน

ตัวนี้ต้องใส่ค่าในคำสั่งเปิดเอง ให้คัดลอกค่าตั้งแล้วเติมค่า

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "vscode": {
      "command": "npx",
      "args": [
        "-y",
        "@mario.andreschak/mcp-vscode",
        "--stdio",
        "ใส่ค่าของคุณ"
      ],
      "env": {
        "MCP_VSCODE_WORKSPACE": "ใส่ค่าของคุณ",
        "MCP_VSCODE_RENDER_MODE": "ใส่ค่าของคุณ",
        "MCP_VSCODE_STREAM_BROWSER": "ใส่ค่าของคุณ",
        "MCP_VSCODE_STREAM_NO_SANDBOX": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้ต้องใส่ค่าในคำสั่งเปิดเอง ให้คัดลอกค่าตั้งแล้วเติมค่า

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "vscode": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@mario.andreschak/mcp-vscode",
        "--stdio",
        "ใส่ค่าของคุณ"
      ],
      "env": {
        "MCP_VSCODE_WORKSPACE": "ใส่ค่าของคุณ",
        "MCP_VSCODE_RENDER_MODE": "ใส่ค่าของคุณ",
        "MCP_VSCODE_STREAM_BROWSER": "ใส่ค่าของคุณ",
        "MCP_VSCODE_STREAM_NO_SANDBOX": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • MCP_VSCODE_WORKSPACE จำเป็น env
    Absolute path to the workspace directory exposed through VS Code and MCP tools.
  • MCP_VSCODE_RENDER_MODE env
    Set to 'stream' to opt into experimental genuine-workbench pixel streaming; omit for normal iframe/browser behavior.
  • MCP_VSCODE_STREAM_BROWSER env
    Optional absolute path to an installed Edge, Chrome, or Chromium executable used by experimental streaming.
  • MCP_VSCODE_STREAM_NO_SANDBOX env
    Unsafe container-only escape hatch: set to 1 to launch streaming Chromium without its process sandbox.

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 8 พ.ย. 2569

  • ! ควรระวัง

    ตัวตนผู้ทำตรงกับ repo

    ผู้ลงทะเบียน (mario-andreschak) ไม่ใช่เจ้าของ repo (flujo-app) อาจเป็นคนอื่นที่นำมาลงต่อ

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด เครื่องมือนักพัฒนาi

  • ดาวมากกว่า 0% ของอีก 4917 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 33% ของอีก 4917 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 15% ของอีก 4917 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

MCP VS Code ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 0 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: MCP_VSCODE_WORKSPACE

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.2.2) เข้า registry 3 เดือนที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี GitHub, Desktop Commander, Cloudflare MCP

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

GitHub

โดย github

server ทางการของ GitHub ให้ AI อ่านและจัดการโค้ด issue และ pull request ในบัญชีของคุณได้ ใช้ผ่านคลาวด์ของ GitHub หรือรันในเครื่องด้วย Docker ก็ได้

บนเครื่องหรือคลาวด์★ 34,245MITอัปเดต 4 วันที่ผ่านมา
ติดตั้ง

Desktop Commander

โดย wonderwhy-er

MCP server for terminal commands, file operations, and process management

รันบนเครื่อง★ 10,225MITอัปเดต 17 วันที่ผ่านมา
ติดตั้ง

Cloudflare MCP

โดย cloudflare

Cloudflare MCP servers

รันบนคลาวด์★ 4,446Apache-2.0อัปเดต 14 เดือนที่ผ่านมา
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

MCP VS Code

MCP VS Code runs a self-hosted Code OSS/OpenVSCode workbench beside an MCP server so the human and the model operate the same workspace, open editors, diagnostics, commands, extensions, and terminal sessions. This is not remote control of a separately installed desktop VS Code. Supported distributions carry their own OpenVSCode runtime and bridge extension. Microsoft-hosted vscode.dev is not used because it disallows framing.

The caveman picture

There are four pieces:

  1. The MCP host—for example FLUJO or Claude Desktop—owns the outer sandbox and its security policy.
  2. The small MCP App document asks the host for permission to reach and, in default mode, frame the workbench origin.
  3. The mcp-vscode gateway exposes only the routes needed to reach the private runtime.
  4. The OpenVSCode process runs on the MCP server machine, binds to loopback, opens the configured workspace, and connects its bridge extension back to the MCP server.
flowchart LR

H["MCP host"] <-->|"stdio or Streamable HTTPS"| S["mcp-vscode server"] H --> A["sandboxed MCP App"]

A -->|"default: allowed frameDomains"| I["OpenVSCode iframe"] A <-->|"opt-in: authenticated /stream WebSocket"| C["pixel canvas"] A -->|"honest fallback: openLink"| X["separate browser tab"]

I --> G["browser-reachable gateway origin"] X --> G C <-->|"JPEG frames + input"| B["server-side system Chromium"] B --> O["loopback OpenVSCode"] G --> O O <-->|"authenticated /bridge WebSocket"| S S --> W["confined workspace and PTYs"] O --> W

The default iframe and browser-tab paths deliver OpenVSCode directly. Experimental streaming launches an existing Edge, Chrome, or Chromium on the server, points it at that same OpenVSCode runtime, and transports its pixels and user input. The canvas is a remote display, not another editor implementation.

Rendering modes

ModeSelectionRequired host capabilityWhat the user sees
embeddedDefault when the host approves the declared workbench origin and the liveness probe succeedsframeDomains for the nested documentGenuine OpenVSCode inside the MCP App
streamOnly when MCP_VSCODE_RENDER_MODE=streamA reachable WebSocket allowed by connectDomains; no nested-frame grantGenuine OpenVSCode rendered by server-side Chromium and drawn as pixels in the MCP App
browserHonest fallback when the requested inline mode is denied, unreachable, or unavailableHost-supported openLink, or a normal link in the debug pageThe same genuine OpenVSCode workbench in a separate tab

probing is a temporary UI state, not a renderer.

Default behavior: iframe or browser

With no render-mode environment variable, the App:

  1. waits for the bundled OpenVSCode runtime;
  2. compares the workbench origin with the effective frameDomains reported by the host when that information is available;
  3. skips iframe navigation immediately when the host explicitly denied the origin;
  4. otherwise navigates the iframe and waits for the injected mcp-vscode:workbench-alive message;
  5. commits embedded only after that positive signal; or
  6. shows the browser card with the exact policy, network, or runtime reason.

A CSP-blocked iframe can emit neither a useful load nor error event, so a plain iframe event is not treated as success. The liveness timeout prevents a permanent blank view.

An MCP server's CSP declaration is a permission request, not a way to overrule the host. A host may approve it, restrict it, or deny it. CORS headers on mcp-vscode cannot repair a frame-src decision made by the outer host.

Experimental streaming

Set:

MCP_VSCODE_RENDER_MODE=stream

Streaming deliberately replaces the iframe decision for that process; it is not an automatic fallback. If streaming cannot start, the App reports the failure and moves to the honest browser option rather than silently selecting a different editor.

The server:

  • discovers an existing Microsoft Edge, Google Chrome, or Chromium installation, or uses MCP_VSCODE_STREAM_BROWSER;
  • launches it headlessly with a dedicated ephemeral user-data directory;
  • when the POSIX server runs as root with Chromium's sandbox enabled, reads the fixed node account from /etc/passwd, transfers ownership of that private profile, and drops only the Chromium child to its non-zero uid/gid;
  • points Chromium's working directory, HOME, TMPDIR, and XDG directories into that same ephemeral profile instead of inheriting the server account's paths;
  • binds its Chrome DevTools Protocol listener to 127.0.0.1 only;
  • navigates to a server-selected internal OpenVSCode URL—the App cannot navigate Chromium or issue arbitrary DevTools commands;
  • emits JPEG screencast frames at up to 12 frames per second;
  • accepts bounded resize, pointer, wheel, keyboard, and text-input messages; and
  • permits one active viewer.

The /stream WebSocket uses its own random 256-bit bearer token. Both the tokenized stream URL and the high-entropy /ide/ URL are excluded from model-visible tool text and structuredContent; they are delivered to the MCP App through tool-result _meta only. Logs do not contain the stream token.

Streaming is useful when a host grants connectDomains but refuses frameDomains, which is the behavior observed with locally configured Claude Desktop stdio connectors in the test documented in the upstream report draft.

Streaming remains experimental:

  • JPEG frames consume more CPU and bandwidth and feel less immediate than a direct iframe.
  • There is no audio and only one viewer.
  • Basic mouse, keyboard, wheel, and paste input work; clipboard copy and complex IME composition are incomplete.
  • A system Chromium-family browser is an additional prerequisite. The project does not download or bundle one for this mode.
  • The gateway WebSocket must be browser-reachable. Streaming does not make a private Fly Machine port magically reachable.
Failure means failure

All three displayed outcomes refer to the real OpenVSCode runtime. If that runtime is missing or failed, there is no editor UI to show. File, Git, and terminal MCP tools may still operate where applicable, but editor/diagnostics/command/extension tools that require the live bridge fail explicitly.

There is no special macOS editor fallback: without an OpenVSCode Server runtime, neither embedding, streaming, nor the external-browser view can provide the workbench.

Configuration

User-facing environment variables
VariableDefaultPurpose
MCP_VSCODE_WORKSPACEProcess working directoryAbsolute workspace root. Prefer setting this explicitly. --workspace takes precedence.
MCP_VSCODE_OPENVSCODE_ROOTPlatform runtime package or bundled runtimeOverride the OpenVSCode runtime directory. --openvscode-root takes precedence.
MCP_VSCODE_RENDER_MODEdefaultSet exactly stream to enable experimental genuine-workbench pixel streaming. default, empty, or unset uses iframe/browser behavior. Other values fail startup.
MCP_VSCODE_STREAM_BROWSERAuto-discoveryAbsolute path to Edge, Chrome, or Chromium for streaming.
MCP_VSCODE_STREAM_NO_SANDBOX0Set 1 or true only as an explicit last resort when a locked-down container cannot run Chromium's own sandbox. On POSIX, a root mcp-vscode process instead drops only Chromium to a safe node account by default.

FLUJO-managed hosted children may also receive FLUJO_MCP_APP_RUNTIME_REGISTER_URL and FLUJO_MCP_APP_RUNTIME_REGISTER_TOKEN. Those are short-lived internal broker capabilities, not user settings. mcp-vscode proves possession, registers an allowlisted route manifest, clears both variables before OpenVSCode starts, and never exposes the bearer to the workbench.

Claude Desktop example

Default mode honestly falls back to a browser when the tested Claude Desktop host declines the local loopback frameDomains request:

{

"mcpServers": { "vscode": { "command": "npx", "args": ["-y", "@mario.andreschak/mcp-vscode@0.2.4", "--stdio"], "env": { "MCP_VSCODE_WORKSPACE": "C:\\path\\to\\repository" } } } }

To test genuine inline streaming instead:

{

"mcpServers": { "vscode": { "command": "npx", "args": ["-y", "@mario.andreschak/mcp-vscode@0.2.4", "--stdio"], "env": { "MCP_VSCODE_WORKSPACE": "C:\\path\\to\\repository", "MCP_VSCODE_RENDER_MODE": "stream", "MCP_VSCODE_STREAM_BROWSER": "C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe" } } } }

<!-- x-release-please-end -->

The browser-path override is optional when discovery finds an installed browser. Host behavior changes over time; re-run the manual matrix against the exact Claude Desktop version rather than treating the current observation as permanent.

FLUJO and Fly.io deployment

A user can visit one human-facing site such as try.flujo.com.co, while the browser uses additional security origins behind the scenes. A sandboxed MCP App and its nested workbench cannot safely be collapsed into one literal browser origin merely to make deployment look simpler.

For a FLUJO-managed stdio child, the runtime-broker handshake solves the private-port problem:

  1. FLUJO gives the child a one-use loopback registration capability.
  2. mcp-vscode proves possession of that capability and registers only its random /ide/ prefix, including the workbench's HTTP and WebSocket traffic.
  3. When streaming is enabled, it additionally registers only the exact /stream WebSocket route.
  4. The broker returns a browser-reachable per-App HTTPS origin. mcp-vscode uses that origin in MCP App CSP metadata and App-only result metadata instead of advertising 127.0.0.1 to the visitor.
  5. The external proxy keeps /mcp, /bridge, /healthz, /app, /session.json, and the temporary proof route private.

The hosted deployment still needs:

  • wildcard DNS and TLS for its per-App origin scheme;
  • HTTP and WebSocket proxying for the random OpenVSCode prefix;
  • WebSocket proxying for /stream when experimental streaming is enabled;
  • preserved Upgrade, Host, Origin, and Referer behavior expected by the sandbox and workbench; and
  • a browser-reachable https: origin so the corresponding stream URL is wss:.

For streaming on Fly, install Edge, Chrome, or Chromium in the Machine image. Prefer running the whole container unprivileged. If FLUJO must run mcp-vscode as root, the image must contain exactly one node account with a non-zero uid and gid and a safe shared /tmp (root-owned, traversable, and sticky when group/world-writable); mcp-vscode creates the high-entropy profile under that ancestor, chowns only the profile, and spawns only the browser under node with the sandbox intact. Missing or unsafe account/temp-directory data produces a visible streaming-unavailable error. It never silently adds --no-sandbox. MCP_VSCODE_STREAM_NO_SANDBOX=1 remains an explicit last-resort security tradeoff, not ordinary deployment configuration.

If mcp-vscode is deployed remotely without FLUJO's broker, --public-url must name an equivalent browser-reachable gateway origin and the reverse proxy must carry the same workbench HTTP/WebSocket and optional /stream WebSocket traffic. CORS settings alone cannot replace routing.

Gateway HTTP surface

The local gateway serves:

RouteAuthentication/exposurePurpose
GET /healthzLocal deployment policyLiveness and OpenVSCode/bridge state

| GET /session.json | ?token= when `--auth-to

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx