Command Line
Safely run command-line arguments for Unix/macOS systems.
Claude CodeClaude DesktopGeneric
This MCP server allows AI assistants to execute common Unix/macOS terminal commands through a controlled and secure interface. It supports the top ~40 most used terminal commands with appropriate security measures.
Features
- Safe execution of common Unix/macOS commands
- Security validation based on command type
- Command categorization (read, write, system)
- Interactive permission management
- Session-based approval system
- Configuration via environment variables or JSON file
- Comprehensive command filtering and pattern matching
- Support for command chaining via pipes (|), semicolons (;), and ampersands (&)
- Claude Desktop compatibility mode with auto-approval
- Detailed command metadata and help for AI assistants
Read Commands ls, pwd, cat, less, head, tail, grep, find, which, du, df, file, sort, etc.
Write Commands cp, mv, rm, mkdir, rmdir, touch, chmod, chown, etc.
System Commands ps, top, htop, who, netstat, ifconfig, ping, etc.
Source
Repository: https://github.com/andresthor/cmd-line-mcp
Maintain Command Line?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[Command Line on getagentictools](https://getagentictools.com/mcp/andresthor-cmd-line-mcp?ref=badge)