Loading...

This MCP server exposes Homebrew package management commands on macOS, enabling LLMs to install, update, and manage software via the command line.
Boost this tool
Subscribe to listing upgrades or segmented pushes.
This MCP server exposes Homebrew package management commands on macOS, enabling LLMs to install, update, and manage software via the command line.
This server is relatively safe for read-only operations. However, write operations like installing or uninstalling packages carry a moderate risk due to the potential for unintended or malicious commands. Exercise caution when granting autonomy.
Performance depends on the speed of Homebrew operations. Resource-intensive operations may impact performance.
No direct monetary costs, but Homebrew operations consume system resources.
brew install uv{
"mcpServers": {
"homebrew-mcp": {
"command": "uv",
"args": [
"run",
"--directory",
"/path/to/your/project/",
"homebrew_mcp.py"
],
"type": "stdio"
}
}
}ANTHROPIC_API_KEYinstallInstalls a specified package using Homebrew.
Modifies the system by installing software.
uninstallUninstalls a specified package using Homebrew.
Modifies the system by removing software.
upgradeUpgrades a specified package using Homebrew.
Modifies the system by updating software.
cleanupCleans up outdated packages and dependencies using Homebrew.
Removes outdated files, potentially affecting system state.
listLists all installed packages using Homebrew.
Read-only operation.
searchSearches for a package using Homebrew.
Read-only operation.
infoDisplays information about a package using Homebrew.
Read-only operation.
outdatedChecks for outdated packages using Homebrew.
Read-only operation.
depsDisplays dependencies of a package using Homebrew.
Read-only operation.
doctorRuns Homebrew's doctor command to check for potential issues.
Read-only operation.
updateUpdates Homebrew itself.
Updates Homebrew, potentially changing its behavior.
tapAdds a new Homebrew tap.
Adds a new software source, potentially untrusted.
untapRemoves a Homebrew tap.
Removes a software source.
pinPins a package to prevent it from being upgraded.
Modifies Homebrew's configuration.
unpinUnpins a package, allowing it to be upgraded.
Modifies Homebrew's configuration.
servicesManages Homebrew services (start, stop, restart).
Can start or stop system services.
None
hybrid
This server is relatively safe for read-only operations. However, write operations like installing or uninstalling packages carry a moderate risk due to the potential for unintended or malicious commands. Exercise caution when granting autonomy.
Granting autonomy requires careful consideration due to the potential for destructive operations. Consider limiting autonomy to read-only operations or specific package names.
Production Tip
Monitor the `homebrew_mcp.log` file for errors and unexpected behavior.
Use with caution. Monitor logs and limit autonomy to prevent unintended actions.
The server does not directly access sensitive data, but be mindful of the packages it installs.
The error is logged, but the server does not automatically retry or rollback.
No, it is designed to manage the Homebrew installation on the local machine.
No, it does not require authentication.
Pull the latest changes from the repository and reinstall dependencies.
No, this server is specifically designed for Homebrew on macOS.