MCP Catalogs
首页

python-mcp-server-client vs filesystem

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

python-mcp-server-client
by GobinFan
filesystem
by modelcontextprotocol
Stars★ 155★ 85,748
30天用量
综合分3977
官方
分类
AI / LLM 工具开发者工具知识库 / RAG
本地文件系统开发者工具效率工具
实现语言PythonTypeScript
最近提交13 个月前本月

python-mcp-server-client · 概述

一个用于查询LangChain、LlamaIndex等主流AI框架技术文档的MCP服务器。

filesystem · 概述

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

python-mcp-server-client · 使用场景

  • 获取特定框架功能的文档
  • 同时搜索多个AI框架
  • 将技术文档集成到AI代理中以获得准确回答

filesystem · 使用场景

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

python-mcp-server-client · 安装

安装

  1. 安装 UV 包管理器:
# MacOS/Linux
curl -LsSf https://astral.sh/uv/install.sh | sh

# Windows
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
  1. 初始化项目:
uv init mcp-server
cd mcp-server
uv venv
source .venv/bin/activate  # Windows: .venv\Scripts\activate
uv add "mcp[cli]" httpx
  1. 配置 Claude Desktop:
{
  "mcpServers": {
    "docs-server": {
      "command": "uv",
      "args": [
        "--directory",
        "<your-project-path>",
        "run",
        "main.py"
      ]
    }
  }
}

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