MCP Catalogs
首页

filesystem vs mcp-gateway

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

filesystem
by modelcontextprotocol
mcp-gateway
by unrelated-ai
Stars★ 85,748★ 19
30天用量
综合分7743
官方
分类
本地文件系统开发者工具效率工具
开发者工具运维基建AI / LLM 工具
实现语言TypeScriptRust
最近提交本月1 个月前

filesystem · 概述

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

mcp-gateway · 概述

一个网关解决方案,可将任何HTTP端点转换为MCP服务器,提供多租户隔离和集中管理功能。

filesystem · 使用场景

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

mcp-gateway · 使用场景

  • 将现有REST API转换为AI助手的MCP工具
  • 聚合多个后端服务到统一的工具接口
  • 创建具有不同访问级别的租户特定MCP端点

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 中安装。

mcp-gateway · 安装

安装

快速开始 (Docker)

# 下载compose文件
curl -fsSL -o mcp-gateway-compose.yml \
  https://raw.githubusercontent.com/unrelated-ai/mcp-gateway/main/docker-compose.quickstart.yml

# 启动堆栈
GATEWAY_VERSION=0.12.3 UI_VERSION=0.8.2 \
  docker compose -f mcp-gateway-compose.yml up -d

Claude Desktop配置

添加到Claude Desktop config.json:

{
  "mcpServers": {
    "gateway-server": {
      "command": "docker",
      "args": ["run", "--rm", "ghcr.io/unrelated-ai/mcp-gateway:latest"],
      "env": {
        "PROFILE_ID": "your-profile-id"
      }
    }
  }
}
对比内容由 README + GitHub 公开数据自动生成,定期更新。