The mac-shell-mcp Model Context Protocol (MCP) server provides seamless integration between AI assistants (such as Claude Desktop, Cursor, and Claude Code) and An MCP (Model Context Protocol) server for executing macOS terminal commands with ZSH shell. This server provides a secure way to execute shell commands with built-in whitelisting and approval mechanisms. By connecting this server, your AI agent gains specialized capabilities to inspect, query, and automate tasks within the Code/Dev Tools domain.
Once installed in Claude Desktop or Cursor, try asking your assistant:
Copy the config for your editor. Verify environment variables or setup notes in the README.
Add to claude_desktop_config.json:
{
"mcpServers": {
"mac-shell-mcp": {
"command": "npx",
"args": [
"-y",
"cfdude/mac-shell-mcp"
]
}
}
}
Are you the author of mac-shell-mcp? Add this badge to your GitHub README for social proof and backlink verification.
[](https://protodex.io/servers/cfdude-mac-shell-mcp.html)
An MCP (Model Context Protocol) server for executing macOS terminal commands with ZSH shell. This server provides a secure way to execute shell commands with built-in whitelisting and approval mechanisms. <a href="https://glama.ai/mcp/servers/@cfdude/mac-shell-mcp"> <img width="380" height="200" src="https://glama.ai/mcp/servers/@cfdude/mac-shell-mcp/badge" alt="Mac Shell Server MCP server" />