MCP Catalogs
首页

mcp-debug vs filesystem

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

mcp-debug
by giantswarm
filesystem
by modelcontextprotocol
Stars★ 37★ 85,748
30天用量
综合分4677
官方
分类
开发者工具AI / LLM 工具安全
本地文件系统开发者工具效率工具
实现语言GoTypeScript
最近提交本月本月

mcp-debug · 概述

一款调试MCP服务器的命令行工具,支持OAuth 2.1认证、交互式REPL和服务器模式。

filesystem · 概述

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

mcp-debug · 使用场景

  • 通过检查能力和测试工具调用来调试MCP服务器中的工具集成
  • 使用详细的JSON-RPC日志测试MCP服务器通知和响应
  • 使用自动发现和PKCE验证对OAuth保护的MCP服务器进行身份验证

filesystem · 使用场景

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

mcp-debug · 安装

安装

从源代码安装

go install github.com/giantswarm/mcp-debug@latest

使用方法

# 连接到MCP服务器
./mcp-debug --endpoint http://localhost:8090/mcp

# 启动交互式REPL
./mcp-debug --repl

# 作为MCP服务器运行
./mcp-debug --mcp-server

# OAuth认证
./mcp-debug --oauth --endpoint https://mcp.example.com/mcp

Claude Desktop集成

添加到您的claude_desktop_config.json文件中:

{
  "mcpServers": {
    "mcp-debug": {
      "command": "mcp-debug",
      "args": ["--mcp-server"]
    }
  }
}

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