Homebrew MCP Server

by nagypeterjob

1 stars
344 downloads
Not rated
GitHub

About

Homebrew MCP Server is an MCP (Model Context Protocol) server that lets you interact with the Homebrew package manager using natural language. It translates conversational requests into brew commands, making package management easier via Claude or other MCP clients.

Details

Author
nagypeterjob
GitHub stars
1
Downloads
344
Categories
Other, AI

- Install, uninstall, and search for Homebrew packages
- Get detailed info about a specific package
- List all installed packages with their versions
- Run system-wide update or upgrade a specific package
- Display current Homebrew configuration
- Enable only a subset of tools to save context

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Homebrew MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Download the latest binary from GitHub Releases and place it in a directory in your $PATH (e.g., /usr/local/bin/). Then configure your MCP client (e.g., Claude Desktop) by adding a brew entry to the mcpServers object in the client’s config file, with the command set to "brew-mcp-server". Optionally, use the -enabled-tools flag to restrict which tools are available, reducing context size.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "homebrew mcp server": {
            "brew": {
                "command": "brew-mcp-server",
                "args": [
                    "-enabled-tools",
                    "info,search,update_brew"
                ]
            }
        }
    }
}

McpServers

{
    "brew": {
        "command": "brew-mcp-server",
        "args": [
            "-enabled-tools",
            "info,search,update_brew"
        ]
    }
}

Homebrew MCP Server

The project enables you to have a "natural language" conversation with brew. The most important commands are implemented:

[x] Install
[x] Uninstall
[x] Get specific package
[x] List installed packages and their versions
[x] Update
[x] Upgrade
[x] Info
[x] Search
[x] Print config

install

Build or download the latest binary from the Github releases section.
Move the binary to /usr/local/bin/, or to any preferred location in $PATH.

Usage

Basic

Place the following json into your:
~/Library/Application\ Support/Claude/claude_desktop_config.json (or other location depending on your preferred Client).

{
  "mcpServers": {
    "brew": {
      "command": "brew-mcp-server"
    }
  }
}

Advanced

The tool lets you enable only specific tools to save context size.

Tools:

- install
- uninstall
- get_package_version
- list_installed_package_versions
- update_brew
- upgrade_specific_package
- info
- search
- config

To enable specific tools, use the -enabled-tools flag to list tools in a comma separated manner. Example:

{
  "mcpServers": {
    "brew": {
      "command": "brew-mcp-server",
      "args": ["-enabled-tools", "info,search,update_brew"]
    }
  }
}
No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.