Windows Command Line MCP Server

by alxspiker
Verified

execute_command

Run predefined Windows commands securely using this tool to execute actions like 'dir' or 'echo' within a controlled environment, ensuring safe and monitored command-line interactions.

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

NameRequiredDescriptionDefault
commandYesThe command to execute
timeoutNoTimeout in milliseconds
workingDirNoWorking directory for the command

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "command": { "description": "The command to execute", "type": "string" }, "timeout": { "default": 30000, "description": "Timeout in milliseconds", "type": "number" }, "workingDir": { "description": "Working directory for the command", "type": "string" } }, "required": [ "command" ], "type": "object" }

You must be authenticated.

Other Tools from Windows Command Line MCP Server

Related Tools

ID: 976txj1j30