mcp-wsl-exec

by spences10
Verified

execute_command

Run commands securely in Windows Subsystem for Linux (WSL) with defined timeouts and working directories. Prevents vulnerabilities like shell injection and ensures safe execution in controlled environments.

Instructions

Execute a command in WSL

Input Schema

NameRequiredDescriptionDefault
commandYesCommand to execute
timeoutNoTimeout in milliseconds
working_dirNoWorking directory for command execution

Input Schema (JSON Schema)

{ "properties": { "command": { "description": "Command to execute", "type": "string" }, "timeout": { "description": "Timeout in milliseconds", "type": "number" }, "working_dir": { "description": "Working directory for command execution", "type": "string" } }, "required": [ "command" ], "type": "object" }

You must be authenticated.

Other Tools from mcp-wsl-exec

Related Tools

ID: wv6df94kb8