gptr-mcp vs filesystem
并排对比,帮你在这两个 MCP server 之间做选择。
gptr-mcp by assafelovic | filesystem by modelcontextprotocol | |
|---|---|---|
| Stars | ★ 346 | ★ 85,748 |
| 30天用量 | — | — |
| 综合分 | 47 | 77 |
| 官方 | — | ✓ |
| 分类 | 搜索AI / LLM 工具效率工具 | 本地文件系统开发者工具效率工具 |
| 实现语言 | Python | TypeScript |
| 最近提交 | 6 个月前 | 本月 |
gptr-mcp · 概述
MCP服务器提供深度研究功能,包括全面的网络搜索和报告生成能力。
filesystem · 概述
功能丰富的文件系统操作 MCP 服务器,具有动态目录访问控制功能。
gptr-mcp · 使用场景
- 投资研究和分析
- 竞争情报收集
- 学术研究支持
- 市场趋势分析
- 基于可靠来源的内容创作
filesystem · 使用场景
- 使 AI 模型能够读取和写入项目文件进行开发
- 允许 Claude 或其他 MCP 客户端浏览和分析代码库
- 为内容生成提供对特定目录的安全沙盒访问
gptr-mcp · 安装
安装
- 克隆仓库:
git clone https://github.com/assafelovic/gpt-researcher.git
cd gpt-researcher/cd gptr-mcp- 安装依赖:
pip install -r requirements.txt- 设置环境变量:
cp .env.example .env
# 编辑.env文件添加您的API密钥Claude Desktop 配置
在 ~/Library/Application Support/Claude/claude_desktop_config.json 中添加:
{
"mcpServers": {
"gptr-mcp": {
"command": "python",
"args": ["/绝对路径/to/gptr-mcp/server.py"],
"env": {
"OPENAI_API_KEY": "您的-openai-密钥",
"TAVILY_API_KEY": "您的-tavily-密钥"
}
}
}
}运行服务器
- 直接运行:
python server.py - 使用Docker:
docker-compose up -d
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 中安装。