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
..
2024-08-23 05:59:00 +01:00
2025-03-13 21:28:40 +01:00
2025-02-24 10:23:42 -08:00
2024-09-26 10:30:21 -04:00
2025-05-15 11:48:36 -04:00
2025-02-24 10:23:42 -08:00
2025-05-05 14:35:08 -07:00
2025-01-27 15:19:59 +00:00
2024-12-03 17:43:22 -08:00
2025-03-05 17:32:35 +08:00
2025-03-27 13:16:00 +00:00
2025-03-27 13:16:00 +00:00
2025-01-13 09:41:09 +08:00
2025-02-24 10:23:42 -08:00