MCP Aggregator
A universal aggregator that combines multiple MCP servers into a single endpoint.
MCP Aggregator
A universal aggregator for combining multiple MCP (Model Context Protocol) servers into a single endpoint for AI assistants to access various tools and capabilities.
Features
- 🔍 Auto-Discovery - Automatically finds installed MCP servers
- 🚀 Zero Configuration - Works out of the box with sensible defaults
- 🔧 Highly Configurable - Customize every aspect when needed
- 🏗️ Multi-Server Support - Aggregate multiple MCP servers
- 🔄 Hot Reload - Add/remove servers without restart
- 📊 Health Monitoring - Automatic health checks and recovery
- 🔒 Secure by Default - No hardcoded secrets or paths
Quick Start
# Install globally
npm install -g @mcp/aggregator
# Run setup
mcp-aggregator setup
# Start the aggregator
mcp-aggregator start
Installation
From npm
npm install -g @mcp/aggregator
From Source
git clone https://github.com/dwillitzer/mcp-aggregator.git
cd mcp-aggregator
npm install
npm run build
npm link
Using Docker
docker pull ghcr.io/dwillitzer/mcp-aggregator:latest
docker run -d -p 3000:3000 ghcr.io/dwillitzer/mcp-aggregator:latest
Configuration
The aggregator uses a flexible configuration system:
- Environment Variables - Override any setting
- Config File -
~/.mcp/aggregator/config.json - Auto-Discovery - Finds servers automatically
- Defaults - Sensible defaults for everything
Basic Configuration
{
"aggregator": {
"port": 3000,
"host": "localhost"
},
"servers": {
"filesystem": {
"enabled": true,
"command": "mcp-server-filesystem"
},
"shell": {
"enabled": true,
"command": "mcp-server-shell"
}
}
}
Available MCP Servers
The aggregator can work with any MCP-compliant server. Common servers include:
- filesystem - File operations (read, write, list)
- shell - Command execution
- git - Version control operations
- browser - Web automation
- slack - Slack integration
- github - GitHub operations
- 1password - Secret management
Usage with Claude
Claude Desktop
Add to your Claude Desktop configuration:
{
"mcpServers": {
"aggregator": {
"command": "mcp-aggregator",
"args": ["start", "--stdio"]
}
}
}
Claude Guard
The aggregator integrates seamlessly with Claude Guard:
# Auto-detected if installed
claude-guard --mcp-status
# Or specify custom path
claude-guard --mcp-aggregator /path/to/aggregator
Documentation
- Getting Started
- Configuration Guide
- Server Integration
- API Reference
- Deployment Guide
- Troubleshooting
Development
# Clone repository
git clone https://github.com/dwillitzer/mcp-aggregator.git
cd mcp-aggregator
# Install dependencies
npm install
# Run in development mode
npm run dev
# Run tests
npm test
# Build for production
npm run build
Contributing
Contributions are welcome! Please read our Contributing Guide for details on our code of conduct and the process for submitting pull requests.
License
This software is proprietary to Daniel Willitzer with specific usage permissions.
Key points:
- ✅ Free to use, modify, and distribute
- ✅ Commercial use allowed
- ⚠️ Derivative works MUST declare: "This is a derivative work based on MCP Aggregator by Daniel Willitzer"
- ⚠️ Must indicate modifications made
See LICENSE for full details.
Security
For security issues, please email daniel@willitzer.com instead of using the issue tracker.
Related Servers
Scout Monitoring MCP
sponsorPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
Databutton
An MCP server for initial app planning and creating a good starting point for an app.
Sleep MCP Server
Provides a sleep/wait tool to add delays between operations, such as waiting between API calls or testing eventually consistent systems.
MCP Sequence Simulation Server
Simulate DNA and amino acid sequences using evolutionary models and algorithms.
Apple Doc MCP
Search Apple's Developer Documentation with smart search and wildcard support.
Imagen3-MCP
Generate images using Google's Imagen 3.0 model via the Gemini API.
MCP Gemini CLI
Integrate with Google Gemini through its command-line interface (CLI).
Moralis Web3 API
Interact with the Moralis Web3 API to access blockchain data across multiple networks through a structured interface.
Futarchy MCP
A server for interacting with the Futarchy protocol on the Solana blockchain.
Everything MCP Server
A test server that demonstrates all features of the MCP protocol, including prompts, tools, resources, and sampling.
Bifrost
Exposes VSCode's development tools and language features to AI tools through an MCP server.