knowledge-rag vs filesystem
并排对比,帮你在这两个 MCP server 之间做选择。
knowledge-rag by lyonzin | filesystem by modelcontextprotocol | |
|---|---|---|
| Stars | ★ 79 | ★ 85,748 |
| 30天用量 | — | — |
| 综合分 | 48 | 77 |
| 官方 | — | ✓ |
| 分类 | 开发者工具搜索AI / LLM 工具 | 本地文件系统开发者工具效率工具 |
| 实现语言 | Python | TypeScript |
| 最近提交 | 本月 | 本月 |
knowledge-rag · 概述
Knowledge RAG 是一个本地优先的检索增强生成系统,提供 12 个 MCP 工具,支持 20+ 种文件格式的文档搜索和检索。
filesystem · 概述
功能丰富的文件系统操作 MCP 服务器,具有动态目录访问控制功能。
knowledge-rag · 使用场景
- 在代码仓库、研究论文和知识库中进行本地文档搜索
- 开发人员的知识管理工具,可实时搜索项目文件
- 研究工具,可分析大量文档而无需依赖云端
filesystem · 使用场景
- 使 AI 模型能够读取和写入项目文件进行开发
- 允许 Claude 或其他 MCP 客户端浏览和分析代码库
- 为内容生成提供对特定目录的安全沙盒访问
knowledge-rag · 安装
通过 pip 安装 knowledge-rag:
pip install knowledge-rag对于 Claude Desktop,添加到你的 claude_desktop_config.json 中:
{
"mcpServers": {
"knowledge-rag": {
"command": "python",
"args": ["-m", "knowledge_rag.server"],
"env": {}
}
}
}也通过 NPM、Docker 和单行安装程序提供。
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 中安装。