execute_command
Run terminal commands with a specified timeout using the MCP server. Commands execute in the background if they exceed the timeout. Use absolute paths for reliable execution, avoiding relative or tilde paths.
Instructions
Execute a terminal command with timeout. Command will continue running in background if it doesn't complete within timeout. NOTE: For file operations, prefer specialized tools like read_file, search_code, list_directory instead of cat, grep, or ls commands. IMPORTANT: Always use absolute paths (starting with '/' or drive letter like 'C:') for reliability. Relative paths may fail as they depend on the current working directory. Tilde paths (~/...) might not work in all contexts. Unless the user explicitly asks for relative paths, use absolute paths.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
command | Yes | ||
shell | No | ||
timeout_ms | No |
Input Schema (JSON Schema)
You must be authenticated.
Other Tools from Claude Kali MCP Commander
Related Tools
- @wonderwhy-er/DesktopCommanderMCP
- @sichang824/mcp-terminal
- @GongRzhe/terminal-controller-mcp
- @PhialsBasement/CMD-MCP-Server
- @RinardNick/mcp-terminal
- @tumf/mcp-shell-server