Skip to main content
Glama

Mac Shell MCP Server

execute_command

Execute macOS terminal commands securely on the Mac Shell MCP Server. Input a command with arguments to perform tasks with built-in whitelisting and approval mechanisms.

Instructions

Execute a shell command on macOS

Input Schema

NameRequiredDescriptionDefault
argsNoCommand arguments
commandYesThe command to execute

Input Schema (JSON Schema)

{ "properties": { "args": { "description": "Command arguments", "items": { "type": "string" }, "type": "array" }, "command": { "description": "The command to execute", "type": "string" } }, "required": [ "command" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/cfdude/mac-shell-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server