Skip to main content
Glama

Mac Shell MCP Server

add_to_whitelist

Enhance security by adding macOS terminal commands to a whitelist, specifying their security level (safe, requires_approval, forbidden) for controlled execution within the Mac Shell MCP Server.

Instructions

Add a command to the whitelist

Input Schema

NameRequiredDescriptionDefault
commandYesThe command to whitelist
descriptionNoDescription of the command
securityLevelYesSecurity level for the command

Input Schema (JSON Schema)

{ "properties": { "command": { "description": "The command to whitelist", "type": "string" }, "description": { "description": "Description of the command", "type": "string" }, "securityLevel": { "description": "Security level for the command", "enum": [ "safe", "requires_approval", "forbidden" ], "type": "string" } }, "required": [ "command", "securityLevel" ], "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