filesystem vs SQL_MCP_Server
并排对比,帮你在这两个 MCP server 之间做选择。
filesystem by modelcontextprotocol | SQL_MCP_Server by pawankumar94 | |
|---|---|---|
| Stars | ★ 85,748 | ★ 13 |
| 30天用量 | — | — |
| 综合分 | 77 | 36 |
| 官方 | ✓ | — |
| 分类 | 本地文件系统开发者工具效率工具 | 数据库开发者工具AI / LLM 工具 |
| 实现语言 | TypeScript | Python |
| 最近提交 | 本月 | 11 个月前 |
filesystem · 概述
功能丰富的文件系统操作 MCP 服务器,具有动态目录访问控制功能。
SQL_MCP_Server · 概述
SQLGenius 是一个 MCP 服务器,使用 Gemini Pro 将自然语言转换为 SQL 查询,并集成 BigQuery。
filesystem · 使用场景
- 使 AI 模型能够读取和写入项目文件进行开发
- 允许 Claude 或其他 MCP 客户端浏览和分析代码库
- 为内容生成提供对特定目录的安全沙盒访问
SQL_MCP_Server · 使用场景
- 业务分析师在无需编写 SQL 的情况下探索数据
- 数据团队为非技术利益相关者创建仪表板
- 开发人员在实施前快速查询原型
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 中安装。
SQL_MCP_Server · 安装
安装步骤
- 克隆仓库:
git clone https://github.com/pawankumar94/sql_mcp_server.git
cd sql_mcp_server- 安装依赖:
pip install -r requirements.txt- 设置环境变量:
cp .env.example .env
# 编辑 .env 文件,添加您的 BigQuery 凭据- 启动应用:
streamlit run streamlit_app.py对于 Claude Desktop 集成,将以下内容添加到您的 config.json:
{
"mcpServers": {
"sqlgenius": {
"command": "python",
"args": ["path/to/sql_mcp_server/sql_mcp_server.py"]
}
}
}