MCP Gateway MCP Server

A plugin-based gateway that orchestrates other MCPs and allows developers to build upon it enterprise-grade agents.

Local serverstdioPython

What is the MCP Gateway MCP server?

If you already use MCP Gateway, the mcp gateway mcp server is the piece that lets your assistant work with it directly. A plugin-based gateway that orchestrates other MCPs and allows developers to build upon it enterprise-grade agents.

What the server does

MCP Gateway is an advanced intermediary solution for Model Context Protocol (MCP) servers that centralizes and enhances your AI infrastructure.

Available tools

The toolset is worth reading before you wire it up, because it tells you what the integration is really for:

  • Usage — This example enables the basic guardrail for token masking and xetrack tracing plugin for filesystem MCP:
  • Basic — The Basic tool exposed by this server
  • Presidio — The Presidio tool exposed by this server
  • Lasso — The Lasso tool exposed by this server
  • Prerequisites — To use Lasso Security's advanced AI safety guardrails, update your mcp.json configuration as follows:
  • Features — 🔍 Full visibility into MCP interactions with an Always-on monitoring
  • Xetrackxetrack is a lightweight package to track ml experiments, benchmarks, and monitor stractured data
  • Params — The Params tool exposed by this server
  • Quickstart — Let's say you use the filesystem list_directory tool on path ".", you can find the call parameters under logs/.log

Installation

Installation goes through your MCP client rather than a global install: point it at mcp-gateway on PyPI and it is fetched when the client starts. The copy-paste blocks for Claude Desktop, Claude Code and Cursor are further down this page.

Credentials and setup notes

Configuration is passed through the environment: LASSO_API_KEY, XETRACK_DB_PATH, XETRACK_LOGS_PATH, PYTHON_PATH. Treat anything key-shaped as a real credential — scope it to the minimum the server needs, and rotate it if it ever lands in a shared config.

  • Obtain a Lasso API key by signing up at Lasso Security. To use Lasso Security's advanced AI safety guardrails, update your mcp.json configuration as follows: 1. Add the LASSO_API_KEY=<YOUR-API-KEY> to your environment variable or in the "env" section. 2. Insert other MCP servers configuration under key servers Example:

Where it fits

Among the monitoring and observability options, the useful question is rarely "what can it do" but "what does it cost you to run" — permissions, credentials, and how much of your context its toolset consumes. MCP Gateway's toolset — Usage, Basic, Presidio and 6 more — is a fair guide to whether it matches your workflow. It is maintained by lasso-security; worth a glance at recent repository activity before you build anything load-bearing on it.

SyncDev reviews every entry in this directory against the project's own documentation before publishing, and revisits them as servers change.

Worth knowing first

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • With 9 tools registered it takes up a noticeable share of the context window; turn it off in projects that never touch MCP Gateway.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • Keep per-call confirmation enabled while you learn its behaviour; it is the cheapest safeguard you have.

Available tools

ToolWhat it does
UsageThis example enables the basic guardrail for token masking and xetrack tracing plugin for filesystem MCP:
BasicThe Basic tool exposed by this server.
PresidioThe Presidio tool exposed by this server.
LassoThe Lasso tool exposed by this server.
PrerequisitesTo use Lasso Security's advanced AI safety guardrails, update your mcp.json configuration as follows:
Features🔍 Full visibility into MCP interactions with an Always-on monitoring.
Xetrack[xetrack](https://github.com/xdssio/xetrack) is a lightweight package to track ml experiments, benchmarks, and monitor stractured data.
ParamsThe Params tool exposed by this server.
QuickstartLet's say you use the filesystem *list_directory* tool on path *"."*, you can find the call parameters under logs/<date>.log.

How to install the MCP Gateway MCP server

```json
{
  "mcpServers": {
      "mcp-gateway": {
          "command": "<python path>",
          "args": [
            "-m",
            "mcp_gateway.server",
            "--mcp-json-path",
            "<path to claude_desktop_config>",
            "--plugin",
            "basic"
          ],
          "servers": {
              "filesystem": {
                  "command": "npx",
                  "args": [
                      "-y",
                      "@modelcontextprotocol/server-filesystem",
                      "."
                  ]
              }
          }
      }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

  • Obtain a Lasso API key by signing up at Lasso Security. To use Lasso Security's advanced AI safety guardrails, update your mcp.json configuration as follows: 1. Add the LASSO_API_KEY=<YOUR-API-KEY> to your environment variable or in the "env" section. 2. Insert other MCP servers configuration under key servers Example:
VariableDescriptionRequired
LASSO_API_KEYCredential the server authenticates with.Yes
XETRACK_DB_PATHFilesystem location the server is allowed to use.Optional
XETRACK_LOGS_PATHFilesystem location the server is allowed to use.Optional
PYTHON_PATHFilesystem location the server is allowed to use.Optional

Example prompts to try

  • Use MCP Gateway to Usage.
  • Use MCP Gateway to Basic.
  • Use MCP Gateway to Presidio.

Frequently asked questions

The README describes three guardrail plugins: `basic` (secret masking), `presidio` (PII masking), and `lasso` (full security guardrails). There is also a tracing plugin called `xetrack`.