独立运营 · 不出售排名位置  · 我们怎么评估工具 →
Anclum 提交收录
L

lasso-security/mcp-gateway

Plugin gateway that orchestrates other MCP servers

装之前:有可直接复制的命令 · 许可证未标注 · 链接可访问

在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网
安装与配置
  1. 复制上面的命令
  2. 粘成 claude_desktop_config.json 里 mcpServers 的一项(本地服务器用 command + args,示例见 客户端接法)
  3. 重启客户端
取自该仓库的安装命令
pip install mcp-gateway

解析自我们于 2026-11-04 抓取的该仓库 README;我们未执行过。

这条是仓库自己写的安装方式,不是 MCP 客户端配置,所以不生成 JSON。
配置项的键名以你的客户端为准:客户端与 CLI
来源明细
收录自 abordage/awesome-mcp 榜单(我们从中收集的条目之一) · 条目类型:MCP 服务
收录与活跃
收录于 2026-11-05 · 最近见到 2026-11-14 · 共见到 10 次 · 被 10 个来源列出
评分构成
综合分 1,003 · 10 个来源 · mcp
安装
pip install mcp-gateway
常见问题(答案都来自我们的记录)
怎么安装?
该仓库给出的安装命令是 pip install mcp-gateway。我们的记录里它是仓库自己提供的;不保证在你的客户端上直接可用。
它适合谁 / 用来做什么?
我们把它归在这些标签下: MCP 服务。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
我们收录于 2026-11-05;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。

# MCP Gateway

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

# 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:
bash
pip install mcp-gateway
> --mcp-json-path - must lead to your mcp.json or claudedesktopconfig.json
> --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:
bash
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:
json
"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",
"."
Claude example:
Get
bash
which python
json
"mcpServers": {
"mcp-gateway": {
"command": " ",
"args": [
"-m",
"mcpgateway.server",
"--mcp-json-path",
" ",
"--plugin",
"basic"
],
"servers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"."
Docker
Build the image after clone this repo
bash
docker build -t mcp/gateway .
json
"mcpServers": {
"mcp-gateway": {
"command": "docker",
"args": [
"run",
"--rm",
"--mount", "type=bind,source=/Users/oro/Projects/playground/mcp-gateway,target=/app",
"-i",
"-v", "/Users/oro/.cursor/mcp.json:/config/mcp.json:ro",
"-e", "LASSOAPIKEY= ",
"-v", "mcp-gateway-logs:/logs",
"mcp/gateway:latest",
"--mcp-json-path", "/config/mcp.json",
"--plugin", "basic",
"--plugin", "lasso"
],
"servers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"."
In this example we use lasso and basic guardrail to show how we can pass enviroment varabile and arguments to the docker and how we can mount storage for the filesystem MCP.
The Docker image can be built with optional dependencies required by certain plugins (e.g., presidio).
Use the INSTALLEXTRAS build argument during the docker build command. Provide a comma-separated string of the desired extras: "presidio,xetrack"
## Quickstart
### Masking Sensitive Information
MCP Gateway will automatically mask the sensitive token in the response, preventing exposure of credentials while still providing the needed functionality.
1. Create a file with sensitive information:
bash
echo 'HFTOKEN = "hfokpaLGklBeJFhdqdOvkrXljOCTwhADRrXo"' > tokens.txt
2. When an agent requests to read this file through MCP Gateway:
Recommend to test with sonnet 3.7
Use your mcp-gateway tools to read the ${pwd}/tokens.txt and return the HFTOKEN
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/zh/s/lasso-security-mcp-gateway/)
来源
awesome · https://github.com/lasso-security/mcp-gateway
按领域浏览
MCP 服务
收录来源
10 个独立来源
收录于
今天

同类推荐

全部 6,229 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引