mcpField
M
MCP Gateway

MCP Gateway

Local
github.com/minovapDeveloper Tools3Updated 82w ago

About MCP Gateway

MCP Gateway aggregates multiple MCP resource servers behind one interface. It is for users who want a single endpoint, parallel batch tool calls, and configuration merging with Claude desktop.

Key features

  1. 01Proxy multiple servers through one endpoint
  2. 02Run tool calls in parallel batches
  3. 03Merge configuration with Claude desktop
  4. 04Customize or disable tools

Use cases

  1. 01Access several MCP servers through one interface
  2. 02Run multiple tool calls in parallel
  3. 03Apply tool overrides to configured servers

MCP support

Acts as an MCP proxy, aggregating multiple MCP servers and exposing them through a single endpoint. It supports batch tool requests and configurable tool overrides.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"gateway-minovap": {
"command": "npx",
"args": [
"-y",
"@thinkware/mcp-gateway"
]
}
}
}
Run commandnpx -y @thinkware/mcp-gateway

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@thinkware/mcp-gateway

Tools

1

Saved tool list · updated 3w ago

ParameterTypeRequiredDescription
purposestringYesA sentence describing the goal this batch call helps achieve.
requestsarrayYes

Details

From the project README

MCP Gateway

An MCP gateway that aggregates multiple MCP resource servers through a single interface.

Features

  • MCP Proxy: A single endpoint for accessing multiple MCP servers
  • Batch Request Tool: Optimized parallel execution for multiple tool calls
  • Configuration Merging: Works with Claude desktop configuration

Configuration Paths

The gateway looks for configuration files in the following order:

  1. Environment variable: MCP_CONFIG_PATH if set
  2. Claude desktop config:
    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%/Claude/claude_desktop_config.json
    • Linux: ~/.config/Claude/claude_desktop_config.json
  3. Default: config.json in current directory

Config Merging with Claude

The gateway can read the proxyBatchMcpServers section from your Claude desktop config:

{
  "mcpServers": {
    "mcp-gateway": {
      "command": "npx",
      "args": [
        "-y",
        "@thinkware/mcp-gateway"
      ]
    }
  },
  "proxyBatchMcpServers": {
    "filesystem": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-filesystem",
        "/Users/username/Desktop",
        "/path/to/other/allowed/dir"
      ],
      "toolOverrides": {
        "read_file": {
          "enabled": true,
          "description": "Read complete contents of a file\nInput: path (string)\nReads complete file contents with UTF-8 encoding"
        },
        "read_multiple_files": {
          "enabled": false
        }
      }
    },
    "server-1": {
      "command": "/path/to/server1/build/index.js",
      "toolOverrides": {
        "some_tool": {
          "enabled": true,
          "description": "Custom description"
        }
      }
    }
  }
}

Server Configuration Options

OptionTypeDescriptionRequired
commandstringPath to server executableYes (for command servers)
argsstring[]Command argumentsNo
envobjectEnvironment variablesNo
urlstringSSE endpoint URLYes (for SSE servers)
toolOverridesobjectTool customizationNo
Tool Override Options
OptionTypeDescriptionDefault
enabledbooleanEnable/disable tooltrue
descriptionstringCustom tool descriptionOriginal description
disabledbooleanDisable entire toolfalse

Environment Variables

{
  "mcpServers": {
    "mcp-gateway": {
      "command": "npx",
      "args": [
        "-y",
        "@thinkware/mcp-gateway"
      ],
      "env": {
        "MCP_GATEWAY_LOG_FILE": "/path/to/logs/mcp-gateway.log"
      }
    }
  }
}

Development

# Install dependencies
npm install

# Development with auto-rebuild
npm run dev

# Build
npm run build

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.