Skip to content

feat: add Windows support via WSL bridge#7

Merged
aniongithub merged 2 commits into
mainfrom
feature-windows-support
Apr 25, 2026
Merged

feat: add Windows support via WSL bridge#7
aniongithub merged 2 commits into
mainfrom
feature-windows-support

Conversation

@aniongithub
Copy link
Copy Markdown
Owner

Summary

Adds Windows support for devcontainer-mcp using the WSL stdio bridge — no native Windows binary needed.

Changes

  • install.ps1 (new) — PowerShell installer for Windows:

    • Verifies WSL is available
    • Installs the Linux binary inside WSL (reuses install.sh)
    • Configures Windows-side MCP clients (Claude Code, Copilot, VS Code, Cursor) with "command": "wsl" bridge
    • Installs SKILL.md to Windows-side agent discovery dirs
    • Detects backend CLIs available in WSL
  • install.sh — Added --skip-mcp-config flag so install.ps1 can delegate binary installation to WSL without configuring Linux-side MCP clients

  • release.yml — Uploads install.ps1 alongside install.sh as a release asset

  • README.md — Added Windows install one-liner and WSL MCP config example

How it works

MCP clients on Windows launch the server via WSL:

{
  "mcpServers": {
    "devcontainer-mcp": {
      "command": "wsl",
      "args": ["~/.local/bin/devcontainer-mcp", "serve"]
    }
  }
}

The stdio transport works transparently across the WSL boundary. Zero Rust code changes needed.

Install command (Windows)

Invoke-RestMethod https://github.com/aniongithub/devcontainer-mcp/releases/latest/download/install.ps1 | Invoke-Expression

aniongithub and others added 2 commits April 25, 2026 00:48
- Add install.ps1 PowerShell installer for Windows (irm ... | iex)
- Add --skip-mcp-config flag to install.sh for WSL delegation
- Configure Windows-side MCP clients with wsl bridge command
- Update release.yml to upload install.ps1 as release asset
- Update README with Windows install instructions and WSL config

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- Point install.ps1 download at releases/latest/download (release artifact)
- Use Invoke-RestMethod | Invoke-Expression instead of irm | iex aliases

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@aniongithub aniongithub merged commit aa4d1fc into main Apr 25, 2026
1 check passed
@aniongithub aniongithub deleted the feature-windows-support branch April 25, 2026 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant