mcp-aggregator
Aggregates tools from a Home Assistant MCP backend server, exposing home automation tools through the aggregator.
Aggregates tools from an Ollama MCP backend server, though it currently has known protocol version mismatch issues.
Aggregates tools from a Portainer MCP backend server, exposing container and infrastructure management tools through the aggregator.
Aggregates tools from a Proxmox MCP backend server, exposing VM management tools (like list_vms) through the aggregator.
Aggregates tools from a SearXNG MCP backend server, exposing search tools through the aggregator.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-aggregatorlist all available tools across every connected backend"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
[ the problem ]
You've got a dozen MCP servers running — memory, search, Home Assistant, RAG, Schwab, whatever — each one its own container, its own port, its own token. Every time you want a new AI client (a fresh Claude Code session, some other agent, a script) to have the full toolset, you're hand-copying a dozen mcpServers entries into its config.
Related MCP server: MCP Manager
[ what it is ]
A single MCP server that connects out to every backend you list, and re-exposes all of their tools through one streamable-HTTP endpoint. Point any MCP-capable client at one URL and one token, and it gets every tool from every backend — namespaced so nothing collides.
Tool
list_vmson backendproxmoxshows up asproxmox__list_vmsOne backend being down, slow, or misconfigured never breaks the others
Tool lists refresh on an interval, so backends can add/remove tools without a restart
A REST side-channel (
/api/servers,/api/servers/:id/tools) exposes live health + per-backend tool lists for anything that wants to build on top of this (a catalog UI, a dashboard) without depending on MCP framing
This is the source of truth for "what MCP servers exist." Anything that wants a live catalog — a store UI, a dashboard — should read/api/servers from here, not the other way around.
[ quick start ]
$ git clone https://github.com/jemplayer82/mcp-aggregator && cd mcp-aggregator
$ cp config.example.json config.json # edit with your real backend URLs
$ cp .env.example .env # fill in tokens for backends that need them
$ docker compose up -d
$ docker compose logs mcp-aggregator # shows the auto-generated aggregator token$ curl -sf http://localhost:3117/healthz
# → {"ok":true}Point any MCP client at http://your-host:3117/mcp with the printed bearer token, and it has every enabled backend's tools.
[ config.json ]
{
"servers": [
{ "id": "memory", "name": "Memory", "url": "http://192.168.7.50:3100/mcp" },
{
"id": "switchboard",
"name": "Switchboard",
"url": "http://192.168.7.50:3108/mcp",
"authEnv": "SWITCHBOARD_TOKEN"
}
]
}field | required | notes |
| yes | lowercase alphanumeric + hyphens only — no underscores, since |
| no | display name, defaults to |
| yes | the backend's streamable-HTTP MCP endpoint (its |
| no | set |
| no | name of an env var holding the backend's token — the actual token lives in |
| no | header name to send the token in, default |
| no | prefix before the token value, default |
| no | pin the |
config.json and .env are both gitignored. Only config.example.json and .env.example are tracked.
[ endpoints ]
All endpoints except /healthz require Authorization: Bearer <AGGREGATOR_MCP_TOKEN>.
endpoint | method | what |
| GET | liveness, unauthenticated |
| GET/POST | the aggregated MCP server — streamable-HTTP, stateless per request |
| GET | JSON status of every configured backend: connected, tool count, last error |
| GET | raw (unnamespaced) tool list for one backend |
[ running more than one instance ]
The aggregator is generic — nothing hardcodes it to one backend list or one host. Run a separate instance per "trust domain" or physical host by giving each its own config.json, port, and token:
config.example.json/docker-compose.yaml— themcp-sharedbackends (memory, github, rag, gsd-browser, gsd-cloud, home-assistant, schwab, ollama, codebase-index, switchboard, searxng, sequential-thinking). Deployed on the Web Server athttp://192.168.7.50:3119(port 3117 was taken bymcp-truenasby the time this deployed — check for collisions before reusing the default).config.billy.example.json/docker-compose.billy.yaml— Billy/Openclaw's internal infra tools (portainer, proxmox, homelable, unifi, ssh, bash-billy), port3118. Deployed athttp://192.168.1.19:3118. These backends run as a separate ad-hocdocker-composeproject directly on that host (/home/landon/mcp-shared/docker-compose.yml), not through this repo's Portainer stack — the aggregator just needs their published ports reachable.
Both instances currently run as standalone docker compose projects directly on their host (/home/landon/mcp-aggregator and /home/landon/mcp-aggregator-billy respectively), not as Portainer-tracked stacks — Portainer's update_stack API path only supports edge stacks, and create_regular_stack needs a compose-file-on-disk workflow this repo doesn't use yet.
Known backend issues (as of first deploy): ollama (Web Server instance) fails with an MCP protocol-version mismatch — the ollama-mcp server via supergateway doesn't like whatever version the aggregator's client negotiates. ssh (Billy instance) 404s on POST /mcp — that supergateway instance likely isn't listening on the streamable-HTTP path the aggregator expects. Both backends fail independently without affecting the rest.
Copy whichever config.*.example.json fits, rename to config.json, adjust docker-compose*.yaml's CONFIG_PATH/volume mount and port if running side by side, and deploy independently.
[ how this differs from mcp-switchboard ]
Switchboard is a message bus between agents. This is a tool aggregator — it doesn't relay messages, it fans out MCP tool calls to other MCP servers and hands back the results. They're complementary and typically deployed side by side in mcp-shared.
[ license ]
GNU Affero General Public License v3.0. See CONTRIBUTING.md for how to contribute.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceMCP Gateway that aggregates multiple upstream MCP servers into a single endpoint with persistent connections, tool registry, and authentication.Last updated282MIT
- Alicense-qualityAmaintenanceSelf-hosted MCP proxy and aggregation platform. Register multiple upstream MCP servers and expose them through a single unified endpoint with namespace routing, multi-transport support (HTTP/SSE, stdio, OpenAPI→MCP), per-tool overrides, and a web admin UI.Last updated16MIT
- Alicense-qualityBmaintenanceAggregates multiple backend MCP servers into a single unified interface with optional web management UI for tool control and configuration.Last updated71192MIT
- Alicense-qualityAmaintenanceAggregates multiple MCP servers into a single HTTP endpoint with tool namespacing, dashboard, and REST API for management.Last updated34MIT
Related MCP Connectors
MCP server for the FFmpeg Micro video transcoding API — create, monitor, download transcodes.
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
MCP server providing access to the Scorecard API to evaluate and optimize LLM systems.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Jemplayer82/mcp-aggregator'
If you have feedback or need assistance with the MCP directory API, please join our Discord server