MCP Catalogs
首页

filesystem vs gograph

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

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

filesystem · 概述

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

gograph · 概述

一个本地AST/类型感知的Go代码库上下文索引器,为AI编码代理创建优化的图谱。

filesystem · 使用场景

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

gograph · 使用场景

  • 通过提供结构化上下文增强AI对Go项目的代码理解
  • 通过展示变更的影响分析提供代码重构辅助
  • 通过圈复杂度和耦合度指标进行代码质量分析

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

gograph · 安装

# MacOS / Linux (通过Homebrew)
brew install ozgurcd/tap/gograph

# 或使用Go安装:
go install github.com/ozgurcd/gograph/cmd/gograph@latest

要作为MCP服务器使用,您需要将其与MCP客户端配置集成。该工具支持JSON输出,便于机器解析,非常适合MCP集成。

对比内容由 README + GitHub 公开数据自动生成,定期更新。