lasso-security

Lasso MCP Gateway — Development skill for Claude Code

Development community intermediate

Plugin-based gateway that intercepts and sanitizes sensitive information across MCP orchestration.

How to install Lasso MCP Gateway

This entry records only its repository, not the path inside it, so there is no exact command to give. Open lasso-security/mcp-gateway and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Lasso MCP Gateway does

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

Alternatives in Development

  • MCP Linker — mcp store manager, add & syncs MCP server configurations across clients like Claude code, Cursor💡mcphub 308 ★
  • Claude Code API — OpenAI-compatible API gateway for Claude Code CLI 300 ★
  • Claude Code API Rs — A high-performance Rust implementation of an OpenAI-compatible API gateway for Claude Code CLI 135 ★

README

MCP Gateway

Overview

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

MCP Gateway acts as an intermediary between LLMs and other MCP servers. It:

  1. 📄 Reads server configurations from a mcp.json file located in your root directory.
  2. ⚙️ Manages the lifecycle of configured MCP servers.
  3. 🛡️ Intercepts requests and responses to sanitize sensitive information.
  4. 🔗 Provides a unified interface for discovering and interacting with all proxied MCPs.
  5. 🔒 Security Scanner - Analyzes server reputation and security risks before loading MCP servers.

Installation

Python (recommended)

Install the mcp-gateway package:

pip install mcp-gateway

`--mcp-json-path` - must lead to your [mcp.json](https://docs.cursor.com/context/model-context-protocol#configuration-locations) or [claude_desktop_config.json](https://modelcontextprotocol.io/quickstart/server#testing-your-server-with-claude-for-desktop) `--plugin` or `-p` - Specify the plugins to enable (can be used multiple times)

Usage

This example enables the basic guardrail for token masking and xetrack tracing plugin for filesystem MCP:

mcp-gateway --mcp-json-path ~/.cursor/mcp.json -p basic -p xetrack

You can add more MCPs that will be under the Gateway by putting the MCP server configuration under the "servers" key.

Cursor example:

{
  "mcpServers": {
      "mcp-gateway": {
          "command": "mcp-gateway",
          "args": [
              "--mcp-json-path",
              "~/.cursor/mcp.json",
              "--plugin",
              "basic",
              "--plugin",
              "xetrack"
          ],
          "servers": {
              "filesystem": {
                  "command": "npx",
                  "args": [
                      "-y",
                      "@modelcontextprotocol/server-filesystem",
                      "."
                  ]

...