MCP server for macOS shell access, confined to configured roots with no shell interpretation
Mac Shell MCP has well-defined tools with comprehensive input schemas and good descriptions. All 5 tools are explicitly registered with proper JSON Schema definitions. Naming follows verb_noun convention consistently (execute_*, get_*, suggest_*). Descriptions are substantive (100-200+ chars) and explain purpose and constraints. Input schemas include type definitions and parameter descriptions. However, there are gaps in output schema documentation, minimal error handling guidance, and some parameter descriptions could be more specific about constraints and valid formats. Security posture is strong (policy-based confinement, audit logging), but error recovery patterns are underdeveloped. The tool set is well-composed for shell command execution within configured security boundaries.
Run a permitted command confined to the configured roots. Reads and writes inside a root; refuses anything reaching outside.
Run a permitted command against paths OUTSIDE the configured roots. Requires interactive approval; refused where the client cannot ask a human.
Compose read-only commands, wiring stdout to stdin in process. Every stage is authorized independently and confined to the roots.
Report the effective policy: permitted commands with effects, permissions and argument shapes, plus the configured roots.
Summarize recorded usage into configuration a human may apply. Cannot apply it; the policy file is protected.
Output schemas are not documented. The tools return results but the LLM has no specification of the structure, fields, types, or pagination of responses. This forces LLMs to infer output structure and limits their ability to chain tools or extract specific data reliably.
Error handling lacks recovery guidance. Tool descriptions mention authorization failures and policy constraints but do not specify error response formats, error codes, or next steps for the LLM. 'Refuses anything reaching outside' and 'refused where the client cannot ask a human' hint at errors but do not guide recovery.
Parameter descriptions lack specific constraints. 'timeoutMs' is marked as optional but has no default value documented, no guidance on range (is 100ms valid? 1 hour?), and no note about behavior on timeout. 'args' accepts any string array with no validation guidance. 'cwd' defaults to 'first configured root' but no guidance on what happens if multiple roots exist or paths escape the root.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | C | 69 | 2025-06-18+ | v2 |
| 2026-03-09 | F | 42 | - | v1 |
Missing dependency hints in parameter descriptions. The 'command' parameter references 'See get_policy' but provides no explicit hint that the LLM should call get_policy first to discover available commands. This forces the LLM to infer discovery requirements.
No idempotency guidance. execute_command can modify system state (WRITE risk level). The description does not specify whether repeated calls with identical parameters produce the same result or cumulative side effects. This is critical for retry safety.