# mureev/mac-terminal-mcp [Health: Active]

**Category:** 🖥️ Command Line  
**Repository:** https://github.com/mureev/mac-terminal-mcp  
**GitHub Stars:** 0  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/mureev-mac-terminal-mcp

## Description
Sandboxed macOS terminal for Claude chat and Cowork: shell commands, tmux sessions and file edits inside a Seatbelt sandbox that blocks /.ssh, /.aws, the Keychain and startup files, with no approval dialogs.

## Claude Desktop Quick Installation
No confirmed install details yet, so no config is published. Follow the setup steps in the repository above.

## Documentation

## What mureev/mac-terminal-mcp does

mureev/mac-terminal-mcp exposes a local macOS terminal to Claude chat and Cowork through MCP. Agents can run shell commands, keep longer-running work alive in tmux sessions, and read or modify files. The implementation is a single Python file using the standard library, with no npm package, telemetry, or self-update mechanism.

Its main distinction is the macOS Seatbelt sandbox applied to command execution. The sandbox blocks reads from `~/.ssh`, `~/.aws`, and the macOS Keychain. It also prevents writes outside the home directory and protects files that can execute later, including shell startup files, LaunchAgents, Git hooks, and Claude configuration. Within the home directory, the agent can still change or delete files, and network access remains available.

## How it works

The MCP server runs locally on the Mac and provides the agent with terminal-oriented operations. Long-running processes can be kept in tmux instead of being tied to one command invocation, which suits builds, test runs, development servers, and other ongoing tasks.

Commands normally run under one Seatbelt profile, so the workflow does not use approval dialogs. Some operations that the sandbox rejects, such as a `git push` or `brew install`, are retried outside the sandbox with a one-line reason. That fallback is logged, so commands that require broader access should be treated differently from ordinary sandboxed work.

The project targets macOS only and requires Python 3.9 or newer. It is intended for Claude chat and Cowork on a Mac; Claude Code already includes its own `/sandbox` workflow, so this server is not needed for that use case.

## Setup and configuration

Installation instructions are provided through the project’s `AGENTS.md`; the project directs an installing agent to the repository at `https://github.com/mureev/mac-terminal-mcp`. The server has no third-party Python dependencies and does not require npm.

A compatible setup needs a macOS host, Python 3.9 or later, and an MCP-capable Claude chat or Cowork configuration. Because the server operates on the local machine, the files and processes it accesses are those available in that Mac user environment. Review the project’s agent instructions before installation so the host configuration matches the intended sandbox behavior.

## Tools and capabilities

- Execute shell commands on the local Mac.
- Create and use tmux sessions for persistent or long-running jobs.
- Read files from the agent’s accessible environment.
- Edit files within the sandbox’s permitted locations.
- Apply macOS Seatbelt restrictions to command execution.
- Log sandbox-denied commands that are retried outside the sandbox.

The sandbox is not a complete restriction on changes under the home directory: commands can modify or remove accessible files there. Network access is also enabled. Operations involving protected paths or later-executing files are blocked by the profile, while selected blocked commands may be retried outside it.

_Full upstream README: https://allmcps.com/mcp/mureev-mac-terminal-mcp/readme_

