filesystem vs puppeteer-mcp-server
并排对比,帮你在这两个 MCP server 之间做选择。
filesystem by modelcontextprotocol | puppeteer-mcp-server by sultannaufal | |
|---|---|---|
| Stars | ★ 85,748 | ★ 19 |
| 30天用量 | — | — |
| 综合分 | 77 | 42 |
| 官方 | ✓ | — |
| 分类 | 本地文件系统开发者工具效率工具 | 浏览器自动化网页抓取开发者工具 |
| 实现语言 | TypeScript | TypeScript |
| 最近提交 | 本月 | 6 个月前 |
filesystem · 概述
功能丰富的文件系统操作 MCP 服务器,具有动态目录访问控制功能。
puppeteer-mcp-server · 概述
自托管 Puppeteer MCP 服务器,提供浏览器自动化工具,支持多种传输方式和 API 密钥认证。
filesystem · 使用场景
- 使 AI 模型能够读取和写入项目文件进行开发
- 允许 Claude 或其他 MCP 客户端浏览和分析代码库
- 为内容生成提供对特定目录的安全沙盒访问
puppeteer-mcp-server · 使用场景
- Web 应用程序的自动化测试和截图
- 动态网站的网络爬虫和数据提取
- 自动化表单填写和 UI 交互测试
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 中安装。
puppeteer-mcp-server · 安装
安装
使用 Docker(推荐)
# 克隆仓库
git clone https://github.com/sultannaufal/puppeteer-mcp-server.git
cd puppeteer-mcp-server
# 创建包含 API 密钥的 .env 文件
echo "API_KEY=your-secure-api-key-here" > .env
# 使用 Docker Compose 启动
docker compose --env-file .env up -d手动安装
# 前置条件:Node.js 18+,npm 8+
npm install
npm run build
npm startClaude Desktop 配置
添加到你的 Claude Desktop config.json:
{
"mcpServers": {
"puppeteer": {
"command": "node",
"args": ["dist/server.js"],
"env": {
"API_KEY": "your-api-key"
}
}
}
}