MCP Catalogs
首页

mcp-gateway vs filesystem

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

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

mcp-gateway · 概述

企业级 MCP 网关,支持 OAuth 认证、提示分析和防火墙功能。

filesystem · 概述

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

mcp-gateway · 使用场景

  • 在环境中为 MCP 服务器提供 OAuth 认证保护
  • 为 MCP 工具访问实现单点登录(SSO)
  • 监控和分析组织内的 MCP 提示使用情况
  • 构建带有认证和分析功能的企业级 MCP 基础设施

filesystem · 使用场景

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

mcp-gateway · 安装

安装

Hypr MCP Gateway 可以作为独立服务安装:

  1. 克隆仓库:git clone https://github.com/hyprmcp/mcp-gateway.git
  2. 构建二进制文件:cd mcp-gateway && go build
  3. 运行网关:./mcp-gateway

Claude Desktop 配置

添加到您的 Claude Desktop 配置中:

"mcpServers": {
  "hypr-gateway": {
    "command": "go",
    "args": ["run", "/path/to/mcp-gateway"]
  }
}

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 公开数据自动生成,定期更新。