Skip to main content
Glama

mcp-wsl-exec

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

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/spences10/mcp-wsl-exec'

If you have feedback or need assistance with the MCP directory API, please join our Discord server