MCP Catalogs
首页

ontomics vs filesystem

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

ontomics
by EtienneChollet
filesystem
by modelcontextprotocol
Stars★ 31★ 85,748
30天用量
综合分4477
官方
分类
开发者工具AI / LLM 工具知识库 / RAG
本地文件系统开发者工具效率工具
实现语言RustTypeScript
最近提交1 个月前本月

ontomics · 概述

ontomics 通过 MCP 从代码库中提取领域知识,减少 20% 的令牌消耗和 10% 的搜索时间,使概念和命名约定可查询。

filesystem · 概述

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

ontomics · 使用场景

  • 通过基于概念的查询而非文件搜索将代码理解速度提高 20 倍
  • 通过检查命名约定与既定模式来保持代码一致性
  • 发现不同命名函数之间的实现相似性
  • 导出领域知识,以在新的代码库中建立既定约定

filesystem · 使用场景

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

ontomics · 安装

使用您喜欢的方式安装 ontomics:

**npm (macOS/Linux):**

npm install -g @ontomics/ontomics

**macOS (Homebrew):**

brew install EtienneChollet/tap/ontomics

**与 Claude Desktop 注册:** 添加到您的 claude_desktop_config.json

{
  "mcpServers": {
    "ontomics": {
      "command": "ontomics"
    }
  }
}

**与团队共享** — 在您的代码库根目录中放置一个 .mcp.json

{
  "mcpServers": {
    "ontomics": {
      "command": "npx",
      "args": ["-y", "@ontomics/ontomics", "--repo", "."]
    }
  }
}

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