AiDD MCP Server

execute_shell_script

Execute a shell script (bash/sh) on the user's local machine within the current working directory. This tool can execute shell commands and scripts for system automation and management tasks. It is designed to perform tasks on the user's local environment, such as opening applications, installing packages and more. Always review the script carefully before execution to prevent unintended consequences. You MUST explicitly show the user the script that will be executed and get his confirmation before using this tool. Examples: - script='echo "Current directory:" && pwd'. - script='for i in {1..5}; do echo $i; done'.

Input Schema

NameRequiredDescriptionDefault
scriptYesShell script to execute on the user's local machine
timeoutNoMaximum execution time in seconds (default: 300, max: 600)

Input Schema (JSON Schema)

{ "properties": { "script": { "description": "Shell script to execute on the user's local machine", "type": "string" }, "timeout": { "default": 300, "description": "Maximum execution time in seconds (default: 300, max: 600)", "type": "integer" } }, "required": [ "script" ], "type": "object" }