run_command
Execute a single allowlisted dev command (tests, build, typecheck, git) in a specified project directory on a local or remote host; approval is required before execution.
Instructions
Run a dev command (tests, build, typecheck, git) inside a project directory. EXECUTION action — your MCP client will ask for approval before running it. Single command only; the binary must be in HOMELAB_ALLOW_COMMANDS.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | Server name from HOMELAB_HOSTS (e.g. 'sil-baru'). Omit to run on the local machine. | |
| command | Yes | e.g. 'npm test' or 'npx tsc --noEmit' (no shell metacharacters) | |
| workdir | Yes | Absolute project path inside HOMELAB_PROJECT_DIRS | |
| timeout_secs | No | Timeout in seconds (default 120, max 600) |