关于
Mac Shell provides a secure MCP server that executes macOS terminal commands using the ZSH shell, incorporating whitelisting and approval mechanisms for enhanced security. It allows administrators to define safe, approval-required, and forbidden commands, offering a robust approach to managing shell command execution. The server integrates smoothly with platforms like Roo Code and Claude Desktop, facilitating command management and execution through a configurable whitelist.
主要功能
- Command whitelisting with security levels (Safe, Requires Approval, Forbidden)
- Approval workflow for potentially dangerous commands
- Uses Node.js's `execFile` to prevent shell injection
- Pre-configured whitelist of common safe commands
- Comprehensive command management tools
使用案例
- Securely execute shell commands from Claude Desktop
- Securely execute shell commands from Roo Code
- Manage and control command execution on macOS systems