mac-shell-mcp
If you are the rightful owner of mac-shell-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
An MCP server for executing macOS terminal commands with ZSH shell, providing a secure way to execute shell commands with built-in whitelisting and approval mechanisms.
The Mac Shell MCP Server is designed to facilitate the execution of macOS terminal commands through a Model Context Protocol (MCP) interface. It ensures security by implementing a command whitelisting system with different security levels: Safe, Requires Approval, and Forbidden. Safe commands can be executed without any additional approval, while commands that require approval are queued until explicitly approved by the user. Forbidden commands are blocked entirely. The server is built using Node.js and utilizes the ZSH shell for command execution. It provides a comprehensive set of tools for managing command execution, including adding to the whitelist, updating security levels, and handling pending approvals. The server can be configured to work with platforms like Roo Code and Claude Desktop, allowing seamless integration into existing workflows. Additionally, it supports usage as an npm package, enabling easy deployment and execution through npx.
Features
- Execute macOS terminal commands through MCP
- Command whitelisting with security levels
- Pre-configured whitelist with common safe commands
- Approval workflow for potentially dangerous commands
- Comprehensive command management tools