Gateway MCP Server

by delexw

313 downloads
Not rated
GitHub

About

A gateway server that intelligently routes MCP requests to multiple backend servers.

Details

Author
delexw
Downloads
313
Categories
Developer Tools, API, Automation, Other

- Routes MCP requests to multiple backend servers through a single gateway
- Exposes only 2 routing tools, bypassing client-side tool limits
- Experimental security with taint tracking and cross-backend isolation
- Docker-based deployment and automatic backend process management
- Supports environment variable substitution in backend configurations
- Works alongside other MCP servers in the same Claude Desktop setup

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Gateway MCP Server
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Install by cloning the repository, building the Docker image, and configuring backends in config.json with environment variables in .env. Add mcpware to Claude Desktop’s claude_desktop_config.json as a Docker-based MCP server, mounting the Docker socket to allow launching backend containers. Once configured, invoke the two main tools: use_tool (route a tool call to a specific backend) and discover_backend_tools (list available backends and their tools).

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "gateway mcp server": {
            "mcpware": {
                "command": "docker",
                "args": [
                    "build",
                    "-t",
                    "mcpware",
                    "."
                ]
            }
        }
    }
}

McpServers

{
    "mcpware": {
        "command": "docker",
        "args": [
            "build",
            "-t",
            "mcpware",
            "."
        ]
    }
}

mcpware

<div align="center">
mcpware Logo
</div>

<div align="center">

Tests
Coverage
Python
License: MIT

</div>

Route MCP requests intelligently to multiple backend servers with comprehensive security validation.

🎯 Key Features

🚀 Bypass Tool Limits

- Challenge: MCP clients often have limits on how many tools can be loaded at once - Solution: mcpware exposes only 2 routing tools while providing access to unlimited backend tools - Result: Connect to GitHub (50+ tools), databases, and more through a single gateway!

🔒 Built-in Security 🧪 (Experimental)

- Prevents cross-backend data leakage (e.g., database → GitHub) - Blocks SQL injection and sensitive data exposure - Taint tracking stops all access after suspicious activity - Mandatory security classification for each backend (public/internal/sensitive) - Opt In/Out Security Check from config.json

🔧 Additional Benefits

- Single entry point for multiple MCP servers - Automatic process management for backend servers - Docker-based isolation and deployment

Quick Start

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.