# MCP Gateway

> MCP Gateway is an open-source MCP server. Universal MCP gateway with Meta-MCP discovery, routing, and REST API capabilities. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/mikkoparkkola/mcp-gateway
- **MCP Registry name:** io.github.MikkoParkkola/mcp-gateway
- **Listing updated:** 2026-11-13

## About

Universal MCP gateway with Meta-MCP discovery, routing, and REST API capabilities.

## Install

### Claude Code (Terminal)

```sh
claude mcp add mcp-gateway -- docker run -i --rm ghcr.io/mikkoparkkola/mcp-gateway:3.5.1
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "mcp-gateway": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/mikkoparkkola/mcp-gateway:3.5.1"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "mcp-gateway": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/mikkoparkkola/mcp-gateway:3.5.1"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "mcp-gateway": {
      "type": "stdio",
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/mikkoparkkola/mcp-gateway:3.5.1"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "mcp-gateway": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/mikkoparkkola/mcp-gateway:3.5.1"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "mcp-gateway": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/mikkoparkkola/mcp-gateway:3.5.1"
      ]
    }
  }
}
```

## FAQ

### Is MCP Gateway free?

Yes. MCP Gateway is open source, so you can use and self-host it for free.

### How do I add MCP Gateway to Claude Code?

Run this command in your terminal: claude mcp add mcp-gateway -- docker run -i --rm ghcr.io/mikkoparkkola/mcp-gateway:3.5.1

---
Source: https://ai-powered.com/mcp/mcp-gateway-2
