MCP Catalogs
首页

MCPWrapper vs filesystem

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

MCPWrapper
by jm12138
filesystem
by modelcontextprotocol
Stars★ 1★ 85,748
30天用量
综合分3177
官方
分类
开发者工具AI / LLM 工具其它
本地文件系统开发者工具效率工具
实现语言PythonTypeScript
最近提交11 个月前本月

MCPWrapper · 概述

MCPWrapper 是一个无需修改代码即可将任何 Python 包封装为 MCP 服务器的工具。

filesystem · 概述

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

MCPWrapper · 使用场景

  • 无需重构代码即可快速将现有 Python 库暴露为 MCP 服务
  • 通过包装实用模块为内部工具创建 MCP 服务器
  • 将独立的 Python 包转换为与 MCP 兼容的客户端工作

filesystem · 使用场景

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

MCPWrapper · 安装

pip install git+https://github.com/jm12138/MCPWrapper

要在 Claude Desktop 中使用,请添加到 claude_desktop_config.json

{
  "mcpServers": {
    "json-mcp": {
      "command": "python",
      "args": ["-m", "mcpwrapper", "--server_name", "json_mcp_server", "--module_name", "json", "--transport", "sse", "--listen", "0.0.0.0", "--port", "8000"]
    }
  }
}

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