mac-terminal-mcp
mac-terminal-mcp is a local MCP server for Claude chat and Cowork that provides them with sandboxed terminal capabilities on macOS. It consists of a single Python file, uses only the standard library, requires no npm, has no telemetry, and has no auto-updates. All commands run within a single macOS Seatbelt sandbox profile, so there are no approval pop-ups; the sandbox blocks reading ~/.ssh, ~/.aws, and the keychain, blocks writing outside the user's home directory, and blocks modification of shell startup files, LaunchAgents, git hooks, and Claude configuration that would be executed later. It supports running commands, keeping long-running tasks alive in tmux, and reading and editing files. When an operation requested by the user is blocked by the sandbox, Claude re-runs it outside the sandbox and logs a one-line reason. This tool is intended for scenarios where Claude chat or Cowork is used on a Mac; if using Claude Code, its built-in /sandbox already provides similar capabilities. Note: within the user's home directory, Claude can still change or delete files, and networking is enabled.