add_to_whitelist
Enable secure command execution by adding macOS terminal commands to the whitelist with specified security levels (safe, requires_approval, forbidden) on the Mac Shell MCP Server.
Instructions
Add a command to the whitelist
Input Schema
Name | Required | Description | Default |
---|---|---|---|
command | Yes | The command to whitelist | |
description | No | Description of the command | |
securityLevel | Yes | Security 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"
}