MCP Catalogs
首页

filesystem vs terminal_server

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

filesystem
by modelcontextprotocol
terminal_server
by theailanguage
Stars★ 85,748★ 83
30天用量
综合分7740
官方
分类
本地文件系统开发者工具效率工具
开发者工具运维基建其它
实现语言TypeScriptPython
最近提交本月11 个月前

filesystem · 概述

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

terminal_server · 概述

MCP 服务器,允许AI模型执行终端命令,提供多种安装方式。

filesystem · 使用场景

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

terminal_server · 使用场景

  • 通过 AI 命令自动化系统管理任务
  • 使 AI 能够与本地开发环境交互
  • 构建能够执行 shell 操作的 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 中安装。

terminal_server · 安装

安装选项

选项 1:本地 Python 安装

  1. 克隆仓库
  2. 安装 Python 依赖
  3. 在本地运行服务器

选项 2:Docker 安装

  1. 构建 Docker 镜像
  2. 在本地运行容器

选项 3:使用 Docker 和 SSE

  1. 构建带 SSE 的 Docker 镜像
  2. 在本地运行或部署到云平台

Claude Desktop 配置

{
  "mcpServers": {
    "terminal": {
      "command": "python",
      "args": ["path/to/server.py"]
    }
  }
}
对比内容由 README + GitHub 公开数据自动生成,定期更新。