execute_command
Run permitted Windows commands like 'dir' or 'echo' and retrieve output securely via the Windows Command Line MCP Server. Specify command, directory, and timeout for controlled execution.
Instructions
Execute a Windows command and return its output. Only commands in the allowed list can be executed. This tool should be used for running simple commands like 'dir', 'echo', etc.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
command | Yes | The command to execute | |
timeout | No | Timeout in milliseconds | |
workingDir | No | Working directory for the command |