MCP Catalogs
首页

Model-Context-Protocol vs filesystem

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

Model-Context-Protocol
by Abdulabin
filesystem
by modelcontextprotocol
Stars★ 0★ 85,748
30天用量
综合分3077
官方
分类
AI / LLM 工具开发者工具效率工具
本地文件系统开发者工具效率工具
实现语言PythonTypeScript
最近提交11 个月前本月

Model-Context-Protocol · 概述

一个Python MCP客户端,通过Gemini API实现多服务器连接与LLM编排。

filesystem · 概述

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

Model-Context-Protocol · 使用场景

  • 构建具有实时访问外部工具和数据能力的AI助手
  • 能够搜索和分析API论文的学术研究机器人
  • 将LLM与自定义工具结合的开发环境

filesystem · 使用场景

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

Model-Context-Protocol · 安装

# 克隆并安装依赖项
git clone https://github.com/Abdulabin/Model-Context-Protocol.git
cd Model-Context-Protocol
pip install -r requirements.txt

# 配置API密钥
# 创建.env文件,包含 GEMINI_API_KEY="YOUR_API_KEY_HERE"

# 运行CLI客户端
python mcp_client.py

# 启动Web界面
uvicorn app:app

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