Wsl Exec
Createdspences10
Executes commands securely within a Windows Subsystem for Linux (WSL) environment.
About
This server facilitates secure command execution in WSL environments, utilizing the Model Context Protocol (MCP). It incorporates several safety measures, including dangerous command detection, command confirmation, path traversal prevention, and command sanitization. The server supports working directories, command timeouts, and provides detailed command output along with robust error handling. It's designed to protect against shell injection and provides a secure method for interacting with WSL environments.
Key Features
- Secure command execution in WSL
- Dangerous command detection and confirmation
- Path traversal prevention and command sanitization
- Working directory and command timeout support
- Protection against shell injection
Use Cases
- Automated testing in a WSL environment
- Securely running scripts within WSL from a remote client
- Integrating WSL commands into a larger automation workflow