filesystem vs slither-mcp
并排对比,帮你在这两个 MCP server 之间做选择。
filesystem by modelcontextprotocol | slither-mcp by trailofbits | |
|---|---|---|
| Stars | ★ 85,748 | ★ 89 |
| 30天用量 | — | — |
| 综合分 | 77 | 48 |
| 官方 | ✓ | — |
| 分类 | 本地文件系统开发者工具效率工具 | 开发者工具安全AI / LLM 工具 |
| 实现语言 | TypeScript | Python |
| 最近提交 | 本月 | 本月 |
filesystem · 概述
功能丰富的文件系统操作 MCP 服务器,具有动态目录访问控制功能。
slither-mcp · 概述
一个包装 Slither 的 MCP 服务器,用于静态分析 Solidity 智能合约。
filesystem · 使用场景
- 使 AI 模型能够读取和写入项目文件进行开发
- 允许 Claude 或其他 MCP 客户端浏览和分析代码库
- 为内容生成提供对特定目录的安全沙盒访问
slither-mcp · 使用场景
- 通过识别潜在漏洞对智能合约进行安全审计
- 为 Solidity 项目生成代码文档
- 自动分析合约继承层次结构和函数关系
- 与 LLM 助手集成以提供有关 Solidity 代码的上下文信息
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 中安装。
slither-mcp · 安装
安装
此项目使用 UV 进行包管理:
# 安装依赖
uv sync
# 或者在开发模式下安装
uv pip install -e .使用
基本用法
启动 Slither MCP 服务器:
uv run slither-mcpClaude Desktop 配置
添加到 claude_desktop_config.json:
{
"mcpServers": {
"slither-mcp": {
"command": "uvx",
"args": ["--from", "git+https://github.com/trailofbits/slither-mcp", "slither-mcp"]
}
}
}