mcp-elasticsearch vs filesystem
并排对比,帮你在这两个 MCP server 之间做选择。
mcp-elasticsearch by AeaZer | filesystem by modelcontextprotocol | |
|---|---|---|
| Stars | ★ 9 | ★ 85,748 |
| 30天用量 | — | — |
| 综合分 | 38 | 77 |
| 官方 | — | ✓ |
| 分类 | 数据库搜索开发者工具 | 本地文件系统开发者工具效率工具 |
| 实现语言 | Go | TypeScript |
| 最近提交 | 10 个月前 | 本月 |
mcp-elasticsearch · 概述
功能全面的 Elasticsearch MCP 服务器,提供完整的搜索能力和多种部署方式。
filesystem · 概述
功能丰富的文件系统操作 MCP 服务器,具有动态目录访问控制功能。
mcp-elasticsearch · 使用场景
- 让 LLM 助手能够查询和与 Elasticsearch 数据存储交互
- 通过 AI 工具调用实现数据管理工作流程自动化
- 为 AI 应用程序提供搜索功能,无需直接 API 访问
filesystem · 使用场景
- 使 AI 模型能够读取和写入项目文件进行开发
- 允许 Claude 或其他 MCP 客户端浏览和分析代码库
- 为内容生成提供对特定目录的安全沙盒访问
mcp-elasticsearch · 安装
安装
使用 Docker(推荐)
docker run -d -p 8080:8080 \
-e MCP_PROTOCOL=http \
-e ES_ADDRESSES=http://your-elasticsearch:9200 \
ghcr.io/aeazer/mcp-elasticsearch:latest从源代码安装
go install github.com/AeaZer/mcp-elasticsearch@latestClaude Desktop 配置
添加到 ~/.config/claude/config.json:
{
"mcpServers": {
"elasticsearch": {
"command": "mcp-elasticsearch",
"env": {
"ES_ADDRESSES": "http://localhost:9200",
"ES_VERSION": "8"
}
}
}
}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 中安装。