Homebrew MCP Python Server
@jeannier
Homebrew MCP Python Server について
Homebrew MCP : Comprehensive brew support for installing, upgrading, searching, and maintaining macOS packages.
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"homebrew-mcp": {
"command": "uv",
"args": [
"venv"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is Homebrew MCP Python Server?
A Model Context Protocol (MCP) server for Homebrew package management on macOS, designed for integration with Claude Desktop and other MCP-compatible clients. It exposes Homebrew commands as MCP tools for use by LLM clients.
How to use Homebrew MCP Python Server?
Install via cloning the repo, setting up a uv-managed Python virtual environment, and installing dependencies. For Claude Desktop, configure ~/Library/Application Support/Claude/claude_desktop.json with a uv run command pointing to the project. For Cursor, use the provided "Add to Cursor" button or manually edit ~/.cursor/mcp.json. The server runs via stdio and logs to homebrew_mcp.log.
Key features of Homebrew MCP Python Server
- Exposes Homebrew commands as MCP tools (install, search, doctor, etc.)
- Runs real
brewcommands via subprocess on macOS - Fully MCP spec-compliant (stdio, JSON-RPC 2.0)
- Designed for Claude Desktop and other LLM clients
- Functional, declarative Python (no classes)
- Logs all requests/results to
homebrew_mcp.log
Use cases of Homebrew MCP Python Server
- Let Claude Desktop install, uninstall, or upgrade Homebrew packages
- Ask an LLM to check Homebrew system health with
brew doctor - Get a summary of installed packages or search for new ones
- Automate package management tasks via chat interface
- Test MCP tool interactions with the included test script
FAQ from Homebrew MCP Python Server
What is Homebrew MCP Python Server and what does it do?
It is an MCP server that turns Homebrew commands (install, search, doctor, etc.) into tools that MCP client applications like Claude Desktop can call directly.
What are the dependencies/runtime requirements?
Requires macOS, Homebrew installed, Python 3.13, and the uv dependency manager. The MCP Python SDK and Anthropic SDK (for the test script) are installed via requirements.txt.
Where do logs and data live?
Logs are written to homebrew_mcp.log in the project directory. The server runs real brew commands, so package data resides in the normal Homebrew locations. The virtual environment is in .venv.
What transports and authentication does it use?
It uses stdio transport (MCP spec 2025-06-18) with JSON-RPC 2.0 messaging. No authentication is built-in; it relies on local machine access.
Can it be used with clients other than Claude Desktop?
Yes, it is designed for any MCP-compatible client. The README includes specific integration instructions for Cursor and demonstrates interaction with Claude via the Anthropic API test script.
「その他」の他のコンテンツ
MCP Toolbox for Databases
googleapisMCP Toolbox for Databases is an open source MCP server for databases.
Awesome-MCP-ZH
yzflyMCP 资源精选, MCP指南,Claude MCP,MCP Servers, MCP Clients
Activepieces
activepiecesAI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
🚀 Model Context Protocol (MCP) Curriculum for Beginners
microsoftThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable,
IDA Pro MCP
mrexodiaAI-powered reverse engineering assistant that bridges IDA Pro with language models through MCP.
コメント