MCP Catalogs
首页

Mantic.sh vs filesystem

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

Mantic.sh
by marcoaapfortes
filesystem
by modelcontextprotocol
Stars★ 547★ 85,748
30天用量
综合分5077
官方
分类
开发者工具搜索AI / LLM 工具
本地文件系统开发者工具效率工具
实现语言TypeScriptTypeScript
最近提交3 个月前本月

Mantic.sh · 概述

一款面向AI代理的上下文感知代码搜索引擎,能够理解代码结构。

filesystem · 概述

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

Mantic.sh · 使用场景

  • AI代理需要具有上下文理解能力的代码库搜索
  • 开发者需要通过意图查找文件而非精确文本
  • 代码审查员需要理解更改的影响范围

filesystem · 使用场景

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

Mantic.sh · 安装

MCP 服务器安装

Mantic 作为 MCP (Model Context Protocol) 服务器,适用于 Claude Desktop、Cursor、VS Code 和其他兼容 MCP 的工具。

**一键安装:**

  • [在 Cursor 中安装](https://cursor.com/en/install-mcp?name=mantic&config=eyJ0eXBlIjogInN0ZGlvIiwgImNvbW1hbmQiOiAibnB4IiwgImFyZ3MiOiBbIi15IiwgIm1hbnRpYy5zaEBsYXRlc3QiLCAic2VydmVyIl19)
  • [在 VS Code 中安装](https://vscode.dev/redirect/mcp/install?name=mantic&config=%7B%22type%22%3A%20%22stdio%22%2C%20%22command%22%3A%20%22npx%22%2C%20%22args%22%3A%20%5B%22-y%22%2C%20%22mantic.sh%40latest%22%2C%20%22server%22%5D%7D)

**手动配置**(适用于 Claude Desktop 或其他 MCP 客户端):

将此添加到您的 MCP 设置文件中:

  • **macOS**: ~/Library/Application Support/Claude/claude_desktop_config.json
  • **Windows**: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "mantic": {
      "command": "npx",
      "args": ["-y", "mantic.sh@latest", "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 公开数据自动生成,定期更新。