Mike McQuaid f9471f9591
Add brew mcp-server: a MCP server for Homebrew.
Add a new `brew mcp-server` command for a Model Context Protocol (MCP)
server for Homebrew. This integrates with AI/LLM tools like Claude,
Claude Code and Cursor.

It currently supports the calls needed/used by the MCP Inspector and
Cursor (where I've tested it).

It provides as `tools` the subcommands output by `brew help` but should
be fairly straightforward to add more in future.

It is implemented in a slightly strange way (a standalone Ruby command
called from a shell command) as MCP servers need a faster startup time
than a normal Homebrew Ruby command allows and fail if they don't get
it.

There are a few Ruby libraries available but, given how relatively
simplistic the implementation is, it didn't feel worthwhile to use and
vendor them.
2025-06-03 15:22:33 +01:00
..
2025-04-25 09:46:29 +01:00
2024-03-31 21:46:25 +02:00
2025-05-22 12:17:52 -04:00
2024-06-13 09:55:31 +01:00
2021-12-02 22:58:31 -05:00
2024-06-14 12:22:02 +01:00
2025-05-28 13:53:38 -04:00
2025-04-25 09:46:29 +01:00
2025-02-08 14:43:49 +00:00
2025-05-22 12:17:52 -04:00
2025-05-22 12:17:52 -04:00
2025-04-25 09:46:29 +01:00
2025-05-22 12:17:52 -04:00
2025-02-08 14:43:49 +00:00
2025-02-08 14:43:49 +00:00
2025-04-03 12:47:21 +01:00
2025-02-08 14:43:49 +00:00
2025-02-08 14:43:49 +00:00
2025-05-22 22:54:51 -04:00

last_review_date
last_review_date
1970-01-01

Homebrew Docs

These are the source files for the Homebrew documentation site.

A GitHub Action is run to validate each change before the site is deployed to GitHub Pages.

Usage

Open https://docs.brew.sh in your web browser.

To instead generate the site locally, available on localhost:4000, run:

cd `brew --repository`/docs
bundle install
bundle exec jekyll serve --watch