contextplus vs filesystem
并排对比,帮你在这两个 MCP server 之间做选择。
contextplus by forloopcodes | filesystem by modelcontextprotocol | |
|---|---|---|
| Stars | ★ 1,896 | ★ 85,748 |
| 30天用量 | — | — |
| 综合分 | 56 | 77 |
| 官方 | — | ✓ |
| 分类 | 开发者工具AI / LLM 工具知识库 / RAG | 本地文件系统开发者工具效率工具 |
| 实现语言 | TypeScript | TypeScript |
| 最近提交 | 1 个月前 | 本月 |
contextplus · 概述
Context+ 是一个 MCP 服务器,使用 RAG、AST 解析和语义链接将代码库转换为可搜索的特性图。
filesystem · 概述
功能丰富的文件系统操作 MCP 服务器,具有动态目录访问控制功能。
contextplus · 使用场景
- 在复杂代码库中进行大规模代码导航和理解
- 跨项目的语义代码搜索和标识符级检索
- 代码分析,包括影响范围追踪和静态分析
- 使用 Obsidian 风格特性图进行代码知识管理
filesystem · 使用场景
- 使 AI 模型能够读取和写入项目文件进行开发
- 允许 Claude 或其他 MCP 客户端浏览和分析代码库
- 为内容生成提供对特定目录的安全沙盒访问
contextplus · 安装
安装
快速开始(npx / bunx)
无需安装。将 Context+ 添加到您的 IDE MCP 配置中。
对于 Claude Code、Cursor 和 Windsurf,使用 mcpServers:
{
"mcpServers": {
"contextplus": {
"command": "bunx",
"args": ["contextplus"],
"env": {
"OLLAMA_EMBED_MODEL": "nomic-embed-text",
"OLLAMA_CHAT_MODEL": "gemma2:27b",
"OLLAMA_API_KEY": "YOUR_OLLAMA_API_KEY"
}
}
}
}对于 VS Code(.vscode/mcp.json),使用 servers 和 inputs:
{
"servers": {
"contextplus": {
"type": "stdio",
"command": "bunx",
"args": ["contextplus"],
"env": {
"OLLAMA_EMBED_MODEL": "nomic-embed-text",
"OLLAMA_CHAT_MODEL": "gemma2:27b",
"OLLAMA_API_KEY": "YOUR_OLLAMA_API_KEY"
}
}
},
"inputs": []
}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 中安装。