Mac Shell MCP Server
Created at 9 months ago
by cfdude
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.
Categories
Tags
zsh
mac
mcp
What is Mac Shell MCP?
Mac Shell MCP is an MCP (Model Context Protocol) server designed for executing macOS terminal commands using the ZSH shell. It provides a secure environment for command execution with built-in whitelisting and approval mechanisms.
How to use Mac Shell MCP?
To use Mac Shell MCP, clone the repository from GitHub, install the dependencies, and start the server using npm. You can configure it in applications like Roo Code and Claude Desktop to execute commands securely.
Key features of Mac Shell MCP?
- Execute macOS terminal commands through MCP.
- Command whitelisting with security levels: Safe, Requires Approval, and Forbidden.
- Pre-configured whitelist with common safe commands.
- Approval workflow for potentially dangerous commands.
- Comprehensive command management tools.
Use cases of Mac Shell MCP?
- Securely executing terminal commands in macOS applications.
- Managing command execution permissions for different users.
- Integrating with development tools that require terminal command execution.
FAQ from Mac Shell MCP?
- Can I execute any terminal command?
No, commands are subject to whitelisting and approval based on their security level.
- How do I add a command to the whitelist?
You can use the
add_to_whitelisttool to add commands with specified security levels.
- Is there a way to run the server without a terminal window?
Yes, you can use npx to run the server automatically without keeping a terminal open.
View More
MCP Servers