Magg — Claude Code MCP server: what it does, how to install
Aggregates external MCP servers into a single proxy, enabling models to locate, connect, and manage tools on the fly.
claude mcp add magg -- uvx maggWhat Magg does
Magg acts as an aggregator and proxy layer for other MCP servers. Instead of declaring every utility in static configuration files, the model discovers and attaches required external tools at runtime through this intermediate service.
The project is licensed under AGPL-3.0 and runs directly via uvx magg. Running the server requires uv installed in the local environment, or the startup command will fail immediately.
What it helps with
- proxy multiple MCP servers through one endpoint
- discover and register external tools while the model is executing
- manage agent tools without altering static configuration files manually
Example prompts for the agent
- Find and connect an MCP server for database operations
- Show all tools currently available through the Magg proxy
How to install Magg
Platform CLI
claude mcp add magg -- uvx magguvx runs the command named after the package; if the README names another one, use uvx --from magg <command>
Platform CLI
codex mcp add magg -- uvx magguvx runs the command named after the package; if the README names another one, use uvx --from magg <command>
Config file
{
"mcpServers": {
"magg": {
"command": "uvx",
"args": [
"magg"
]
}
}
}uvx runs the command named after the package; if the README names another one, use uvx --from magg <command>
Config file
{
"servers": {
"magg": {
"type": "stdio",
"command": "uvx",
"args": [
"magg"
]
}
}
}uvx runs the command named after the package; if the README names another one, use uvx --from magg <command>
Platform CLI
gemini mcp add magg uvx magguvx runs the command named after the package; if the README names another one, use uvx --from magg <command>
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Magg
How to install Magg in Claude Code?
Run claude mcp add magg -- uvx magg in your terminal. This registers the server using uvx.
What does Magg do?
It proxies and aggregates multiple MCP servers into one place. This allows LLMs to search for, add, and handle tools dynamically during execution.
What is required to run Magg?
You need uv installed to execute the uvx magg command. The server code is released under the AGPL-3.0 license.