MCP Catalogs
首页

mcp-gateway vs filesystem

并排对比,帮你在这两个 MCP server 之间做选择。

mcp-gateway
by lasso-security
filesystem
by modelcontextprotocol
Stars★ 371★ 85,748
30天用量
综合分4977
官方
分类
安全开发者工具运维基建
本地文件系统开发者工具效率工具
实现语言PythonTypeScript
最近提交4 个月前本月

mcp-gateway · 概述

MCP Gateway 是一个基于插件的中间件,可编排多个 MCP 服务器,并提供安全功能和监控能力。

filesystem · 概述

功能丰富的文件系统操作 MCP 服务器,具有动态目录访问控制功能。

mcp-gateway · 使用场景

  • 构建具有增强安全性和监控功能的企业级 AI 代理
  • 使用 MCP 服务器与 LLM 时掩码敏感令牌和个人身份信息
  • 通过单一网关界面编排多个 MCP 服务器

filesystem · 使用场景

  • 使 AI 模型能够读取和写入项目文件进行开发
  • 允许 Claude 或其他 MCP 客户端浏览和分析代码库
  • 为内容生成提供对特定目录的安全沙盒访问

mcp-gateway · 安装

Python 安装

pip install mcp-gateway

Claude Desktop 配置

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

filesystem · 安装

安装

使用 NPX

{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-filesystem",
        "/path/to/allowed/directory"
      ]
    }
  }
}

使用 Docker

{
  "mcpServers": {
    "filesystem": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "--mount", "type=bind,src=/path/to/allowed/dir,dst=/projects/allowed/dir",
        "mcp/filesystem",
        "/projects"
      ]
    }
  }
}

VS Code 扩展

点击 README 中的安装按钮直接在 VS Code 中安装。

对比内容由 README + GitHub 公开数据自动生成,定期更新。