MCP Catalogs
首页

filesystem vs octocode

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

filesystem
by modelcontextprotocol
octocode
by Muvon
Stars★ 85,748★ 376
30天用量
综合分7752
官方
分类
本地文件系统开发者工具效率工具
开发者工具AI / LLM 工具知识库 / RAG
实现语言TypeScriptRust
最近提交本月本月

filesystem · 概述

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

octocode · 概述

将代码库转换为可搜索知识图谱的 MCP 服务器,支持语义搜索和结构理解。

filesystem · 使用场景

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

octocode · 使用场景

  • 帮助 AI 助手语义化地搜索和导航代码库
  • 分析代码结构和依赖关系,辅助重构决策
  • 在整个项目中查找代码模式和错误处理

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

octocode · 安装

安装

# 通用安装程序(Linux、macOS、Windows)
curl -fsSL https://raw.githubusercontent.com/Muvon/octocode/master/install.sh | sh

# macOS 使用 Homebrew
brew install muvon/tap/octocode

MCP 配置

添加到您的 MCP 客户端配置(Claude Desktop、Cursor、Windsurf)中:

{
  "mcpServers": {
    "octocode": {
      "command": "octocode",
      "args": ["mcp", "--path", "/your/project"]
    }
  }
}
对比内容由 README + GitHub 公开数据自动生成,定期更新。