MCP ExplorerExplorer

Brew Mcp

@nagypeterjobon 6 months ago
1 MIT
FreeCommunity
AI Systems
#brew#homebrew#llm#mcp#mcp-server
Homebrew MCP server

Overview

What is Brew Mcp

brew-mcp is a Homebrew MCP server that allows users to interact with Homebrew using natural language commands.

Use cases

Use cases include managing software packages, automating installation processes, and providing a conversational interface for users to interact with Homebrew.

How to use

To use brew-mcp, install or download the latest binary from the GitHub releases section and place it in your PATH. Configure your client by adding the necessary JSON configuration for the brew MCP server.

Key features

Key features include commands for installing, uninstalling, updating, upgrading, searching for packages, and printing configuration details.

Where to use

brew-mcp can be used in software development environments where Homebrew is utilized for package management on macOS.

Content

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"
      ]
    }
  }
}

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers