Mac Terminal MCP logo

Mac Terminal MCP

by mureev

Runs shell commands, tmux jobs, and file edits on macOS inside a Seatbelt sandbox.

Install Mac Terminal MCP

Pick your client, then add it in one click or paste the config.

No confirmed install command yet

We only publish a config when the install details come from the project itself — its README, its docs, or a verified owner. We haven’t found those for mureev/mac-terminal-mcp, and we’d rather show nothing than a guess you’d paste into your client.

Open setup steps on GitHub

Overview

mureev/mac-terminal-mcp gives Claude chat and Cowork a local macOS terminal for shell commands, persistent tmux sessions, and file access. A single Python server uses the macOS Seatbelt sandbox to block access to sensitive locations and startup mechanisms without approval dialogs. Reach for it when an agent needs to work on files and processes on a Mac rather than in a cloud or Linux environment.

Use cases

  • Run tests and fix code in a local macOS project
  • Keep development servers or long jobs alive in tmux
  • Read and edit project files from Claude chat
  • Execute Mac-specific shell commands from Cowork

Key features

  • Local macOS shell command execution
  • Persistent tmux sessions
  • File reading and editing
  • Seatbelt sandboxing
  • Protection for credentials and startup files
  • Python standard-library implementation

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

How Mac Terminal MCP works

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.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Mac Terminal MCP

mureev/mac-terminal-mcp is an MCP server that connects Claude chat and Cowork to a local macOS terminal. Its main tools run shell commands, maintain tmux sessions, and read or edit files. Commands run inside a macOS Seatbelt sandbox that protects credentials, the Keychain, and startup-related files.

Install it by giving your agent the project link, https://github.com/mureev/mac-terminal-mcp, and following the repository’s AGENTS.md instructions. The server uses one Python file and the standard library, so it does not require npm or third-party Python dependencies.

The sandbox blocks reads of ~/.ssh, ~/.aws, and the macOS Keychain, along with writes outside the home directory and changes to startup or later-executing files. It also protects LaunchAgents, Git hooks, and Claude configuration. Network access remains enabled.

It is not needed with Claude Code because Claude Code already provides its own /sandbox workflow. This project targets Claude chat and Cowork when they need access to a local macOS terminal.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMac Terminal MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/mureev-mac-terminal-mcp?style=directory)](https://allmcps.com/mcp/mureev-mac-terminal-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/mureev-mac-terminal-mcp"><img src="https://allmcps.com/api/badge/mureev-mac-terminal-mcp?style=directory" alt="Mac Terminal MCP on AllMCPs" /></a>