MCP Wsl Exec MCP Server

A secure Model Context Protocol (MCP) server for executing commands in Windows Subsystem for Linux (WSL) with built-in safety features and validation

Local serverstdio

What is the MCP Wsl Exec MCP Server?

A secure Model Context Protocol (MCP) server for executing commands in Windows Subsystem for Linux (WSL) with built-in safety features and validation

The short version

A Model Context Protocol (MCP) server for Windows + Claude Desktop users to interact with Windows Subsystem for Linux (WSL). Provides both read-only information gathering and secure command execution capabilities.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
get_system_info
get_directory_info
get_disk_usage
get_environment
list_processes
execute_command
confirm_commandConfirm execution of a dangerous command that was flagged by safety checks.

How to install the MCP Wsl Exec MCP Server

{
  "mcpServers": {
    "mcp-wsl-exec": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-wsl-exec"
      ]
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Example prompts to try

  • “Use MCP Wsl Exec to get system info.”
  • “Use MCP Wsl Exec to get directory info.”
  • “Use MCP Wsl Exec to get disk usage.”

Frequently asked questions

A secure Model Context Protocol (MCP) server for executing commands in Windows Subsystem for Linux (WSL) with built-in safety features and validation Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.