# mac-terminal-mcp

> mac-terminal-mcp is an open-source MCP server for developer tools. Sandboxed shell on your Mac for Claude chat and Cowork, via a local MCP server. It is available on macOS and CLI.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** macOS, CLI
- **Repository:** https://github.com/mureev/mac-terminal-mcp
- **GitHub stars:** 0
- **License:** MIT
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-01

## About

Claude chat and Cowork normally have no shell on your Mac. This local server gives them one, so they can run commands, keep long jobs alive in tmux, and read or edit files in your home folder. It is a single Python file using only the standard library, with no npm dependency, telemetry or self-update.

Every command runs inside one macOS Seatbelt sandbox profile, the same mechanism behind Claude Code's sandbox, so the assistant runs without approval prompts. The sandbox blocks reads of ~/.ssh, ~/.aws and the Keychain, writes outside the home folder, and edits to files that execute later such as shell startup files, LaunchAgents and git hooks. Anything inside the home folder can still be changed or deleted, and network access stays on. When a blocked action is needed, such as a git push or brew install, the assistant reruns it outside the sandbox with a one-line reason that gets logged.

It suits Mac users who work with Claude chat or Cowork and want shell access with guardrails. Claude Code users already have a built-in sandbox for this, so the project points them elsewhere.

## Features

- **No approval dialogs:** Commands run inside a macOS sandbox profile, so the assistant does not stop for a confirmation on each one.
- **Sandboxed file access:** Blocks reads of SSH, AWS and Keychain data, writes outside the home folder, and edits to startup files and git hooks.
- **Persistent tmux jobs:** Keeps long-running commands going in tmux sessions.
- **Logged escape hatch:** Blocked actions can be rerun outside the sandbox with a stated reason, and each rerun is logged.
- **Minimal footprint:** One Python file with only the standard library, no npm, telemetry or self-update.

## Good for

- Letting Claude run builds, scripts and tests on a Mac
- Running long jobs in tmux while a chat session continues
- Reading and editing project files in the home folder from Claude chat
- Running git or Homebrew commands through Claude with the sandbox in place

## FAQ

### Does mac-terminal-mcp need Claude Code?

No. It is aimed at Claude chat and Cowork on a Mac. The README notes that Claude Code users already have a built-in sandbox that covers this.

### What can the sandbox not stop?

Inside the home folder Claude can still change or delete files, and the network remains enabled.

### What dependencies does mac-terminal-mcp have?

It is one Python file using only the standard library, with no npm packages.

### Is mac-terminal-mcp free?

Yes. mac-terminal-mcp is open source, so you can use and self-host it for free.

### What are the best alternatives to mac-terminal-mcp?

The closest alternatives to mac-terminal-mcp are Desktop Commander, Imali Commander, claude-terminal-mcp, cmdshellmcp and codemcp.

## Where this comes from

- Description: written from the project's README.

## Alternatives

- [Desktop Commander](https://ai-powered.com/mcp/desktop-commander): Desktop Commander is an open-source MCP server for developer tools.
- [Imali Commander](https://ai-powered.com/mcp/imali-commander): Imali Commander is a freemium MCP server for developer tools.
- [claude-terminal-mcp](https://ai-powered.com/mcp/claude-terminal-mcp): claude-terminal-mcp is an open-source MCP server for ai models and llm tooling.
- [cmdshellmcp](https://ai-powered.com/mcp/cmdshellmcp): cmdshellmcp is an open-source MCP server for developer tools.
- [codemcp](https://ai-powered.com/mcp/codemcp-2): codemcp is an open-source MCP server for developer tools.
- [node-code-sandbox-mcp](https://ai-powered.com/mcp/node-code-sandbox-mcp): node-code-sandbox-mcp is an open-source MCP server for developer tools.
- [cli-mcp-server](https://ai-powered.com/mcp/cli-mcp-server): cli-mcp-server is an open-source MCP server for developer tools.
- [iterm-mcp](https://ai-powered.com/mcp/iterm-mcp): iterm-mcp is an open-source MCP server for ai models and llm tooling.

---
Source: https://ai-powered.com/mcp/mac-terminal-mcp
