mac-shell-mcp

mac-shell-mcp

3

The Mac Shell MCP Server allows execution of macOS terminal commands through a secure and managed environment, utilizing a ZSH shell. It provides an advanced command approval system and whitelisting to ensure security and control over command executions.

Mac Shell MCP Server

An MCP server for executing macOS terminal commands with ZSH shell. It provides command whitelisting, an approval workflow, and comprehensive command management tools. Key features include command whitelisting with security levels, pre-configured safe command lists, and tools for adding or managing command security levels. The server can be configured and run using local installations or through npx, enhancing security by preventing unauthorized command execution.

Features

  • Execute macOS terminal commands through MCP
  • Command whitelisting with security levels
  • Pre-configured whitelist of safe commands
  • Approval workflow for risky commands

Security Considerations

  • Commands executed with user permissions
  • Approval queue for high-risk commands
  • Forbidden commands are blocked