AgentBrew – Portable toolbelt for your AI agents

patchen05181 pts0 comments

GitHub - patchen0518/AgentBrew: The MCP that centralized all MCP, skills and tools. · GitHub

/" data-turbo-transient="true" />

Skip to content

Search or jump to...

Search code, repositories, users, issues, pull requests...

-->

Search

Clear

Search syntax tips

Provide feedback

--><br>We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Cancel

Submit feedback

Saved searches

Use saved searches to filter your results more quickly

-->

Name

Query

To see all available qualifiers, see our documentation.

Cancel

Create saved search

Sign in

/;ref_cta:Sign up;ref_loc:header logged out"}"<br>Sign up

Appearance settings

Resetting focus

You signed in with another tab or window. Reload to refresh your session.<br>You signed out in another tab or window. Reload to refresh your session.<br>You switched accounts on another tab or window. Reload to refresh your session.

Dismiss alert

{{ message }}

patchen0518

AgentBrew

Public

Notifications<br>You must be signed in to change notification settings

Fork

Star

main

BranchesTags

Go to file

CodeOpen more actions menu

Folders and files<br>NameNameLast commit message<br>Last commit date<br>Latest commit

History<br>46 Commits<br>46 Commits

src

src

tests

tests

.gitignore

.gitignore

LICENSE

LICENSE

README.md

README.md

jest.config.js

jest.config.js

package-lock.json

package-lock.json

package.json

package.json

tsconfig.json

tsconfig.json

View all files

Repository files navigation

AgentBrew 🍺

The Universal Hub for AI Agents.

AgentBrew is a centralized Model Context Protocol (MCP) multiplexer. It allows you to configure your tools once and use them across all your AI agents (Claude Code, Gemini CLI, Cursor, etc.).

💡 The Core Idea

AI developers today face a fragmentation problem: every agent (Claude Code, Gemini CLI, Cursor, etc.) has its own way of managing MCP servers, tools, and skills. Setting up your favorite tools in one agent doesn't mean you have them in another.

AgentBrew solves this by acting as a Universal "USB Hub" for MCP. You install your tools once in AgentBrew, and all your agents can instantly access that same consistent set of capabilities. If you switch agents, your entire "brew" of tools and skills comes with you.

🚀 Key Features

Lazy Loading: Servers only start when a tool is actually called.

Auto-Discovery: Automatically detects MCP servers in Node.js, Python, and Markdown projects.

Universal Migration: Import your existing configurations from Gemini, Claude Code, and Cursor.

Instruction Index: Automatically exposes GEMINI.md and CLAUDE.md files as resources for your agents.

🛠 Installation

# Clone and enter the repo<br>git clone https://github.com/patchen0518/AgentBrew.git<br>cd AgentBrew

# Install and build<br>npm install<br>npm run build

# Link globally<br>npm link

📖 Usage

Plugging In Tools

# Migrate from Gemini, Claude, or Cursor<br>agentbrew migrate

# Manually link a local command<br># (Internal use or custom scripts)"># Install a tool from a Git URL<br>agentbrew install github-url>

# Migrate from Gemini, Claude, or Cursor<br>agentbrew migrate

# Manually link a local command<br># (Internal use or custom scripts)

Managing the Hub

agentbrew disable

# Uninstall a package<br>agentbrew uninstall

# Update a specific package or all packages<br>agentbrew update<br>agentbrew update --all

# Refresh capability cache (required after manual file changes)<br>agentbrew refresh"># List all tools, prompts, and resources<br>agentbrew list

# Enable/Disable a package<br>agentbrew enable package-name><br>agentbrew disable package-name>

# Uninstall a package<br>agentbrew uninstall package-name>

# Update a specific package or all packages<br>agentbrew update package-name><br>agentbrew update --all

# Refresh capability cache (required after manual file changes)<br>agentbrew refresh

🤖 Connecting Agents

Point your AI agent to launch agentbrew as its MCP server.

Gemini CLI: gemini mcp add agentbrew agentbrew

Claude Code: /plugin add agentbrew agentbrew

Cursor: Add a new "command" type MCP server in settings with command agentbrew.

Manual JSON Configuration

For agents that use a configuration file (like Claude Desktop or other MCP clients), add AgentBrew to your config JSON:

File Paths:

Claude Desktop (macOS): ~/Library/Application Support/Claude/claude_desktop_config.json

Claude Desktop (Windows): %APPDATA%\Claude\claude_desktop_config.json

Configuration:

"mcpServers": {<br>"agentbrew": {<br>"command": "agentbrew"

🏗 Architecture

AgentBrew uses an mcp-manifest.json cache in each package directory to enable instant startup. The Router acts as a dynamic proxy, spawning child MCP processes on-demand and routing requests using a prefix__name convention.

📄 License

MIT

About

The MCP that centralized all MCP, skills and tools.

Resources

Readme

License

MIT license

Uh oh!

There was an error while loading. Please reload this page.

Activity

Stars

stars

Watchers

watching

Forks

forks

Report repository

Releases

No...

agentbrew package claude json tools agents

Related Articles