Skip to content

WSL Gateway cannot host Windows-only stdio MCP servers; Windows node exposes no MCP execution capability #1943

Open

Description

@larroy

Summary

With a WSL Gateway and the Windows Companion, there is no supported way to run a Windows-only stdio MCP server. Photoshop MCP is one example. The same MCP server works when launched directly on Windows. The Gateway can only start stdio MCP commands inside the WSL distro, where Windows COM and other Windows-only backends are unavailable. The Windows node does not advertise any MCP execution capability.

This is a host/topology gap. It is not a Photoshop or MCP server crash.

Environment

  • RTX Spark N1X, Windows ARM64
  • Gateway 2026.9.7 (c074824) in the OpenClawGateway WSL distro
  • Windows Companion 2026.9.5 (diagnostic build)
  • Photoshop 2026, running on Windows
  • alisaitteke/photoshop-mcp 1.7.25 (commit fc7c9d6c), stdio transport, Node.js 22 on Windows ARM64

Steps to reproduce

  1. Set up a local WSL Gateway with the Windows Companion paired as a node.
  2. Build photoshop-mcp on Windows and confirm it works directly. initialize and tools/list succeed (125 tools), photoshop_ping returns "Successfully connected to Photoshop", and photoshop_get_state returns the open document.
  3. Try to register it with OpenClaw using openclaw mcp add.

Expected

A supported registration path launches the Windows stdio MCP on the Windows host and routes tool calls to it, with approval controls and a tool allowlist. At minimum, OpenClaw should state which topology is supported and give an actionable message when a Windows-only MCP cannot be hosted.

Actual

  • openclaw mcp add accepts only a Gateway-local stdio command or an HTTP URL. There is no option to run the command on a Windows node.
  • The Gateway distro's /etc/wsl.conf disables automount and interop (enabled=false, appendWindowsPath=false), so the Gateway cannot launch Windows executables.
  • openclaw nodes status --json shows the Windows node connected with canvas, device, screen, stt, system and tts capabilities. It has no MCP capability, no mcp.tools.call.v1 command, sessionHost=false and nodePluginTools=[].
  • The MCP's executor supports only Windows and macOS. A Linux process cannot use Windows COM, and the MCP's loopback UXP bridge is not an HTTP MCP endpoint.

Notes

The native Windows Gateway may remove this limitation because stdio MCP commands would run on the Windows host. That has not been validated for this scenario. Related but separate: #1717 covers Gateway cleanup and restarts after removing an unavailable MCP server.

Note: tracked internally as NVBug 6850792.

Activity

  1. added
    clawsweeper:intake:feature
    P2
    clawsweeper:needs-product-decision
    clawsweeper:no-new-fix-pr
    clawsweeper:source-repro
    impact:other
    issue-rating: 🦞 diamond lobster
    and removed
    clawsweeper:intake:feature
    on Oct 30, 2026
  2. clawsweeper commented on Oct 30, 2026

    @clawsweeper

    Codex review: this still needs some work.

    Summary
    Keep open: Companion still lacks third-party MCP hosting, and the reported working headless-host alternative leaves duplicate nodes and update paths; this collaborator-authored request needs an explicit maintainer topology decision.

    Reproducibility: Current source establishes the missing Companion hosting path; the latest discussion reports working headless Windows hosting, but no live reproduction or tests were run during this read-only review.

    Maintainer decision needed

    • Question: Should Companion host third-party MCP servers under its existing node identity, or should Windows MCP hosting remain a separate headless-node deployment?
    • Recommendation: Integrate the existing node-host contract: Scope Companion support around upstream server configuration, tool publication, filtering, approvals, and lifecycle ownership, with one Windows node identity.
    • Why: The discussion supplies practical evidence for headless Windows hosting, but current Companion source and recorded decisions do not settle the requested single-node experience.

    Next step
    Choose whether Companion should adopt upstream MCP hosting under one node identity, then define supported versions, configuration ownership, approvals, and lifecycle proof before implementation.

    Review details

    Best possible solution:

    Provide one supported Windows MCP hosting path with clear setup guidance, preferably integrating the existing upstream node-host contract into Companion if maintainers accept that scope.

    Do we have a high-confidence way to reproduce the issue?

    Current source establishes the missing Companion hosting path; the latest discussion reports working headless Windows hosting, but no live reproduction or tests were run during this read-only review.

    Is this the best way to solve the issue?

    Reusing the upstream node-host contract is the strongest integration path because it already defines server hosting and Gateway routing; enabling WSL interop or adding a parallel execution protocol would bypass existing ownership boundaries.

    AGENTS.md: found and applied where relevant.

    Remaining risk / open question:

    • Companion integration has no recorded decision covering configuration ownership, server process lifetime, tool publication, and approval behavior.
    • The reported headless-host success does not independently verify the original ARM64/WSL environment or the newer upstream pairing behavior on installed builds.
    • A native Windows Gateway remains an unvalidated alternative for the reported Photoshop scenario.

    Codex review notes: model internal, reasoning medium; reviewed against 8393459317d0.

    Label changes

    Label changes:

    No label changes.

    Label justifications:

    • P2: This is a concrete advanced desktop integration gap with a reported working alternative and no demonstrated urgent regression or blocked first useful run.
    • impact:other: The impact is Windows desktop-tool interoperability and duplicate node deployment across Windows and Linux hosting.
    Evidence reviewed

    What I checked:

    • Current default branch and review policy: GitHub main and the checkout both resolve to the reviewed SHA. The complete root AGENTS.md was read and its read-only and handoff guidance applied; the explicit single-reviewer procedure superseded its autoreview-helper route. No builds, tests, runtime launches, or mutations ran, and final Git status remained clean. (AGENTS.md:12, 8393459317d0)
    • New field evidence narrows the request: In WSL Gateway cannot host Windows-only stdio MCP servers; Windows node exposes no MCP execution capability #1943 (comment), m0920611771 reports daily Photoshop, SketchUp, and 3ds Max use through headless nodeHost.mcp.servers with a Linux Gateway, while Companion requires separate pairing and maintenance. This is reported operational evidence, not an independently reproduced result.
    • Companion hosting boundary: NodeService.RegisterCapabilities constructs built-in Windows capability handlers, and Register forwards eligible handlers to WindowsNodeClient. Inspection across source, tests, and docs found no nodeHost.mcp.servers consumer or mcp.tools.call.v1 implementation. (src/OpenClaw.Tray.WinUI/Services/NodeService.cs:311, 8393459317d0)
    • Local MCP serves registered capabilities: tools/list enumerates registered capability commands; tools/call resolves a matching capability or returns Unknown tool. McpToolBridgeTests covers discovery, dispatch, and unknown-tool errors, establishing the serving direction without establishing external MCP hosting. (src/OpenClaw.Shared/Mcp/McpToolBridge.cs:519, 8393459317d0)
    • WSL isolation is intentional: Managed setup defaults Interop, AppendWindowsPath, Automount, and MountFsTab to false. ValidateWslLockdownStepTests explicitly rejects enabled interop and automount under that configuration, so enabling WSL interop would change an existing isolation contract. (tests/OpenClaw.SetupEngine.Tests/ValidateWslLockdownStepTests.cs:72, 8393459317d0)
    • Authoritative upstream hosting contract: The requested integration explicitly depends on core Gateway node routing and nodeHost.mcp.servers, warranting dependency inspection. The complete upstream root AGENTS.md was read. Current documentation describes command-based servers on the node, tool filtering, descriptor publication, and mcp.tools.call.v1 routing; runtime.ts starts the MCP manager from nodeHost.mcp.servers. See https://docs.openclaw.ai/nodes/mcp-and-skills. (docs/nodes/mcp-and-skills.md, 66b71de2d347)
    How this review workflow works
    • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
    • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
    • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
    • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
    • Maintainers can also comment @clawsweeper review to request a fresh review only.
    • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge; those execution lanes are retired.
    • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

    Reviewed December 2, 2026, 6:42 AM ET / 11:42 UTC.

  3. github-actions commented on Nov 14, 2026

    @github-actions
    Contributor

    This issue has been automatically marked as stale due to inactivity.
    Please add updated OpenClaw Windows details or it will be closed.

  4. added
    clawsweeper:intake:feature
    and removed
    clawsweeper:intake:feature
    on Nov 14, 2026
  5. added
    clawsweeper:intake:feature
    and removed
    clawsweeper:intake:feature
    on Nov 15, 2026
  6. github-actions commented on Nov 30, 2026

    @github-actions
    Contributor

    This issue has been automatically marked as stale due to inactivity.
    Please add updated OpenClaw Windows details or it will be closed.

  7. m0920611771 commented on Nov 30, 2026

    @m0920611771

    Adding updated details, plus field data on the headless node host path that the review above recommends validating.

    Setup

    • Gateway 2026.11.12 on a separate Linux host (not WSL), reached over a tailnet.
    • Windows 11 workstation running Companion 2026.11.3 and a headless openclaw node host (2026.10.10) side by side.
    • The headless node host runs several Windows-only stdio MCP servers through nodeHost.mcp.servers: Photoshop, 3ds Max (read and read-write), SketchUp, AutoCAD, After Effects and Office. Together they publish several hundred tools to the Gateway.

    Result
    The headless node host path works for Windows-only MCP. We use it every day for 3ds Max, SketchUp and Photoshop work, including Photoshop driven from the Linux Gateway. So the capability exists today, but only outside Companion.

    What it costs

    • Two pairings on every workstation that needs Windows MCP: Companion for chat, approvals, screen and camera, and the headless node host for MCP. Users see two "nodes" for one PC and reasonably ask why they can't be merged.
    • Re-approval prompts on every reconnect: whenever the Gateway restarts, the headless host reconnects and advertises extra commands that were never approved. Companion then shows a "node wants to connect" prompt each time. We worked around it with gateway.nodes.commands.deny.
    • Two install and update paths to keep aligned. Our node host is still 10.10 while Companion and the Gateway have moved on.

    Request
    Please consider Companion hosting nodeHost.mcp.servers, the same contract as the headless host, so one Windows machine can be one node. The review's third option, Companion integration with the upstream node-host contract, would remove the duplicate pairing for exactly this kind of desktop-app workstation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2clawsweeper:needs-product-decisionclawsweeper:no-new-fix-prclawsweeper:source-reproimpact:otherissue-rating: 🦞 diamond lobster

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions