filesystem vs hacker-mcp-server-POC
并排对比,帮你在这两个 MCP server 之间做选择。
filesystem by modelcontextprotocol | hacker-mcp-server-POC by sumitsk-simform | |
|---|---|---|
| Stars | ★ 85,748 | ★ 1 |
| 30天用量 | — | — |
| 综合分 | 77 | 33 |
| 官方 | ✓ | — |
| 分类 | 本地文件系统开发者工具效率工具 | 网页抓取AI / LLM 工具开发者工具 |
| 实现语言 | TypeScript | JavaScript |
| 最近提交 | 本月 | 5 个月前 |
filesystem · 概述
功能丰富的文件系统操作 MCP 服务器,具有动态目录访问控制功能。
hacker-mcp-server-POC · 概述
一个轻量级的MCP服务器,将Hacker News数据作为工具暴露,用于获取新闻、详情和用户资料。
filesystem · 使用场景
- 使 AI 模型能够读取和写入项目文件进行开发
- 允许 Claude 或其他 MCP 客户端浏览和分析代码库
- 为内容生成提供对特定目录的安全沙盒访问
hacker-mcp-server-POC · 使用场景
- 将Hacker News数据集成到AI助手,提供最新的科技资讯
- 构建分析热门故事或用户交互的自定义应用程序
- 创建展示MCP与外部API集成教育工具
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 中安装。
hacker-mcp-server-POC · 安装
# 克隆仓库
git clone <repository-url>
cd hacker-mcp-server-POC
# 安装依赖
npm install
# 构建TypeScript到JavaScript
npm run build
# 运行服务器
node build/index.js对于Claude Desktop,添加到claude_desktop_config.json:
{
"mcpServers": {
"hacker-news": {
"command": "node",
"args": ["/path/to/hacker-mcp-server-POC/build/index.js"]
}
}
}