Skip to directory

WSL Exec

spences10

stdio7+ documented tools0

About WSL Exec

Provides secure command execution in WSL with built-in safety features like path validation, timeouts, and error handling.

What you can use it for

  • auth security
  • developer tools
Connection and setup
Hosting
Local stdio process
Transport
stdio
Endpoint
Local process; no hosted endpoint documented
Authentication
No credentials were configured; the tested read-only tool “get_system_info” succeeded in an isolated environment. Other tools may have additional requirements.

Requirements

  • Node.js 18+
  • The npm package repository matched the repository linked from the public profile.

Setup steps

  1. npx -y mcp-wsl-exec@0.0.4
Tools 7+

The server returned 7 tools in tools/list. Only “get_system_info” was invoked with a synthetic read-only input and succeeded.

  • get_system_info

    Get WSL system information

    01
  • get_environment

    Get WSL environment variables

    Parameters: filter
    02
  • list_processes

    List running processes in WSL

    Parameters: filter
    03
  • get_disk_usage

    Get disk space information

    Parameters: path
    04
  • get_directory_info

    Get directory contents and info

    Parameters: path, details
    05
  • execute_command

    Execute a command in WSL (use read-only tools when possible)

    Parameters: command, working_dir, timeout
    06
  • confirm_command

    Confirm dangerous command execution

    Parameters: confirmation_id, confirm
    07

This server’s available tools can vary by account, permissions, or configuration. The list shown is not its full runtime catalog.

Limitations and notes
  • Runtime verification covered one read-only tool call (get_system_info); other listed tools were not individually exercised.
Original sources

Documentation checked 2026-10-28T00:00:00Z. Connection has not been runtime tested.