# Magg

Aggregates external MCP servers into a single proxy, enabling models to locate, connect, and manage tools on the fly.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 144
- Author: sitbon
- License: AGPL-3.0 · policy=link-only · description only; the file stays with the author
- Source: https://github.com/sitbon/magg
- Updated: 2026-09-27
- HTML: https://affpapa.org/en/nevibecode/mcp/magg

## What it 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.

## Requirements
- Needs: Python and uv (commands run via uvx)

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add magg -- uvx magg
```
uvx runs the command named after the package; if the README names another one, use uvx --from magg <command>

### Codex

**Platform CLI**
```bash
codex mcp add magg -- uvx magg
```
uvx runs the command named after the package; if the README names another one, use uvx --from magg <command>

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "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>

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "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>

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add magg uvx magg
```
uvx runs the command named after the package; if the README names another one, use uvx --from magg <command>

## When to use it
- 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
- Find and connect an MCP server for database operations
- Show all tools currently available through the Magg proxy

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 386989
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33918
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81115
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119160
- [Codebase Memory](https://affpapa.org/en/nevibecode/mcp/codebase-memory.md) — MCP server · ★ 47392
- [mcp-server](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — MCP server · ★ 43872

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
