stronghold
agent-ready non-interactive
Easily configure macOS security settings from the terminal.
How to install stronghold
pip install stronghold stronghold use case
Automate macOS security hardening from the command line
When to use stronghold
- When setting up a new Mac and applying baseline security settings
- When hardening a development or personal machine against common threats
- When configuring firewall, Gatekeeper, and other security features without GUI
When not to use stronghold
- When the target system is not macOS (e.g., Linux or Windows)
- When advanced or custom security policies are needed beyond the provided options
- When interactive configuration is preferred over scripted automation
stronghold features
- · Lockdown mode for unattended secure configuration
- · Firewall management (on/off, logging, stealth mode)
- · Gatekeeper enablement and automatic software whitelisting prevention
- · Version and author information display
Want your agent to find this automatically?
Add the MCP server to your agent config and it will discover tools like stronghold on its own.
Set up MCP →