Mac Shell MCP Server
@cfdude
Mac Shell MCP Server について
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.
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"mac-shell-mcp": {
"command": "node",
"args": [
"build/index.js"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is Mac Shell MCP Server?
Mac Shell MCP Server is an MCP (Model Context Protocol) server for executing macOS terminal commands with ZSH shell. It provides a secure way to run shell commands with built-in whitelisting and approval mechanisms, designed for AI assistants like Roo Code and Claude Desktop.
How to use Mac Shell MCP Server?
Install by cloning the repository and running npm install && npm build, or use npx directly from the GitHub repository. Configure the server in your MCP client settings (Roo Code or Claude Desktop), then invoke tools such as execute_command or get_whitelist to run and manage shell commands.
Key features of Mac Shell MCP Server
- Execute macOS terminal commands through MCP
- Three security levels: safe, requires approval, forbidden
- Pre-configured whitelist with common safe commands
- Approval workflow for potentially dangerous commands
- Tools to manage whitelist and pending approvals
Use cases of Mac Shell MCP Server
- AI-assisted file browsing and directory listing
- Safe execution of read-only commands (ls, cat, grep)
- Controlled file operations with approval (cp, mv, mkdir)
- Blocking dangerous commands like rm and sudo
FAQ from Mac Shell MCP Server
What commands are safe by default?
Safe commands include ls, pwd, echo, cat, grep, find, cd, head, tail, and wc. These execute without approval.
What commands require approval?
Commands like mv, cp, mkdir, touch, chmod, and chown require explicit approval before execution.
What
「開発者ツール」の他のコンテンツ
TalkToFigma
sonnylazuardiTalkToFigma: MCP integration between AI Agent (Cursor, Claude Code, Codex) and Figma, allowing Agentic AI to communicate with Figma for reading designs and modifying them programmatically.
Hello World MCP Server (Reference Extension)
anthropicsDesktop Extensions: One-click local MCP server installation in desktop apps
test
harlancA simple,high performance and secure live media server in pure Rust (RTMP[cluster]/RTSP/WebRTC[whip/whep]/HTTP-FLV/HLS).🦀
Test
x1xhlolFULL Augment Code, Claude Code, Cluely, CodeBuddy, Comet, Cursor, Devin AI, Junie, Kiro, Leap.new, Lovable, Manus, NotionAI, Orchids.app, Perplexity, Poke, Qoder, Replit, Same.dev, Trae, Traycer AI, VSCode Agent, Warp.dev, Windsurf, Xcode, Z.ai Code, Dia & v0. (And other Open Sou
MCP-Scan: An MCP Security Scanner
invariantlabs-aiSecurity scanner for AI agents, MCP servers and agent skills.
コメント