
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A Dockerized gateway MCP server that receives requests from MCP clients over stdio and routes them to configured backend MCP servers.
Gateway MCP server for routing to multiple backend MCP servers is cataloged as an MCP server attributed to delexw. A Dockerized gateway MCP server that receives requests from MCP clients over stdio and routes them to configured backend MCP servers. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
No reviewed records to display. This does not establish that upstream lacks this capability.
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for Gateway MCP server for routing to multiple backend MCP servers are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
README.md · 366d77d39140 · Fetched 2026-11-13 13:31:28 UTC
Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.
Showing the last retrieved documentation snapshot; check the source for current changes.
Route MCP requests intelligently to multiple backend servers.
# Clone the repository
git clone https://github.com/delexw/mcpware.git
cd mcpware
# Build the Docker image
docker build -t mcpware . --no-cache
# Configure MCP client (see Installation section)
Then configure MCP Clients as shown in the Installation section.
mcpware runs as a Docker container that:
Important: Backend servers can use any command (docker, npx, node, python, etc.). When running mcpware in Docker, backends using local commands like npx or node will execute inside the mcpware container.
Clone this repository:
git clone https://github.com/delexw/mcpware.git
cd mcpware
Configure your backends in config.json (see Configuration section below)
Set up your environment variables:
cp env.example .env.env with your actual values:
GITHUB_PERSONAL_ACCESS_TOKEN=your_github_token_here
BUILDKITE_API_TOKEN=your_buildkite_token_here
# Add other environment variables as needed
Add to MCP client configuration:
Note: You can configure the secrets or tokens directly into mcpware config.json
Configuration (Direct Docker Run):
{
"mcpServers": {
"mcpware": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-v",
"/path/to/mcpware/config.json:/app/config.json:ro",
"-v",
"/var/run/docker.sock:/var/run/docker.sock",
"--env-file",
"/path/to/mcpware/.env",
"mcpware"
]
}
}
}
Important:
/path/to/mcpware with the absolute path to your cloned repository/var/run/docker.sock) is required for mcpware to launch Docker-based backends, otherwise you don't need toWhy mount the Docker socket?
ghcr.io/github/github-mcp-server)The gateway needs access to the Docker socket to launch backend containers. The mount path differs by platform:
Why is Docker socket access required?
mcpware acts as a process manager that launches backend MCP servers. When a backend is configured to run as a Docker container (e.g., ghcr.io/github/github-mcp-server), mcpware needs to:
Without Docker socket access, mcpware cannot launch Docker-based backends and will fail with permission errors.
Run this script to check your Docker configuration:
python scripts/check_docker_socket.py
No changes needed. The default configuration works:
volumes:
- /var/run/docker.sock:/var/run/docker.sock
Update the Docker socket path:
{
"mcpServers": {
"mcpware": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-v",
"/path/to/mcpware/config.json:/app/config.json:ro",
"-v",
"//./pipe/docker_engine://./pipe/docker_engine",
"--env-file",
"/path/to/mcpware/.env",
"mcpware"
]
}
}
}
Note the different Docker socket path: //./pipe/docker_engine instead of /var/run/docker.sock
To verify which Docker backend you're using on Windows:
docker version --format '{{.Server.Os}}'
linux = WSL2/Hyper-V backend (use default config)windows = Windows containers (use override file)Create a config.json with your backend servers:
{
"backends": {
"github": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github"],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "${GITHUB_PERSONAL_ACCESS_TOKEN}"
},
"description": "GitHub MCP Server",
"timeout": 60
},
"database": {
"command": "docker",
"args": ["run", "-i", "--rm", "bytebase/dbhub", "--transport", "stdio"],
"description": "Database MCP Server"
}
}
}
Configuration Notes:
docker, npx, node, python, etc.)docker commands, ensure Docker socket is mounted (see installation instructions)See config.example.json for more backend examples (databases, APIs, etc.).
The gateway exposes two main tools:
Routes a tool call to a specific backend server.
Parameters:
backend_server: Name of the backend serverserver_tool: Name of the tool to calltool_arguments: Arguments to pass to the toolExample:
{
"backend_server": "github",
"server_tool": "create_issue",
"tool_arguments": {
"owner": "myorg",
"repo": "myrepo",
"title": "New issue",
"body": "Issue description"
}
}
Discovers available backends and their tools.
Parameters:
backend_name: (Optional) Specific backend to querymcpware is designed to work alongside other MCP servers in your MCP client configuration. You can:
Example mixed configuration:
{
"mcpServers": {
"mcpware": {
"command": "docker",
"args": [
"run", "-i", "--rm",
"-v", "/path/to/mcpware/config.json:/app/config.json:ro",
"-v", "/var/run/docker.sock:/var/run/docker.sock",
"--env-file", "/path/to/mcpware/.env",
"mcpware"
]
},
"redis-direct": {
"command": "docker",
"args": ["run", "--rm", "-i", "-e", "REDIS_HOST=localhost", "mcp/redis"]
}
}
}
This allows you to:
Ensure you have Python 3.10+ installed:
python --version # Should show Python 3.10 or higher
Clone the repository:
git clone https://github.com/delexw/mcpware.git
cd mcpware
Create a virtual environment (recommended):
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
Install development dependencies:
pip install -r requirements.txt
The project uses minimal dependencies. All core functionality is implemented using the Python standard library.
Testing dependencies (included in requirements.txt):
pytest - Testing frameworkpytest-asyncio - Async test supportpytest-cov - Code coverage reportingOptional development tools (install separately if needed):
# Code formatting
pip install black isort
# Linting
pip install flake8 pylint mypy
# Development convenience
pip install pytest-watch # Auto-run tests on file changes
# Run the gateway server
python gateway_server.py --config config.json
# Run with debug logging
python gateway_server.py --config config.json --log-level DEBUG
Format your code before committing:
# Format with black (if installed)
black src/ tests/ gateway_server.py
# Sort imports (if installed)
isort src/ tests/ gateway_server.py
# Run linting (if installed)
flake8 src/ tests/ gateway_server.py --max-line-length=120
# Run all tests
pytest
# Run with coverage report
pytest --cov=src --cov=gateway_server --cov-report=html
# Run specific test file
pytest tests/test_config.py
# Run tests in watch mode (requires pytest-watch)
pytest-watch
Build and run with Docker:
# Build the image
docker build -t mcpware .
# Run interactively (for testing)
docker run -it --rm \
-v $(pwd)/config.json:/app/config.json:ro \
-v /var/run/docker.sock:/var/run/docker.sock \
-e GITHUB_PERSONAL_ACCESS_TOKEN \
mcpware
# Run with specific config file
docker run -it --rm \
-v /path/to/your/config.json:/app/config.json:ro \
-v /var/run/docker.sock:/var/run/docker.sock \
-e GITHUB_PERSONAL_ACCESS_TOKEN \
mcpware
The gateway supports environment variable substitution in backend configurations. Set these in your .env file:
# Example .env file
GITHUB_PERSONAL_ACCESS_TOKEN=ghp_xxxxxxxxxxxxx
ANTHROPIC_API_KEY=sk-ant-xxxxxxxxxxxxx
# Add other tokens as needed
Environment variables referenced in config.json using ${VAR_NAME} syntax will be automatically substituted.
The project includes comprehensive unit and integration tests.
Install test dependencies:
pip install -r requirements.txt
Run all tests:
pytest
Run tests with coverage:
pytest --cov=src --cov=gateway_server --cov-report=html
Run specific test modules:
pytest tests/test_config.py
pytest tests/test_backend.py
pytest tests/test_protocol.py
Run tests in watch mode:
pytest-watch
MIT
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for Gateway MCP server for routing to multiple backend MCP servers from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcpware)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.
No reviewed package or image identity; download statistics are not listed yet.
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.