filesystem vs agentidentityprotocol
并排对比,帮你在这两个 MCP server 之间做选择。
filesystem by modelcontextprotocol | agentidentityprotocol by openagentidentityprotocol | |
|---|---|---|
| Stars | ★ 85,748 | ★ 27 |
| 30天用量 | — | — |
| 综合分 | 77 | 41 |
| 官方 | ✓ | — |
| 分类 | 本地文件系统开发者工具效率工具 | 安全开发者工具AI / LLM 工具 |
| 实现语言 | TypeScript | — |
| 最近提交 | 本月 | 2 个月前 |
filesystem · 概述
功能丰富的文件系统操作 MCP 服务器,具有动态目录访问控制功能。
agentidentityprotocol · 概述
AIP为MCP代理提供零信任安全层,具有策略执行、人工审批和审计日志功能。
filesystem · 使用场景
- 使 AI 模型能够读取和写入项目文件进行开发
- 允许 Claude 或其他 MCP 客户端浏览和分析代码库
- 为内容生成提供对特定目录的安全沙盒访问
agentidentityprotocol · 使用场景
- 通过阻止未经授权的工具调用来保护MCP代理免受提示注入攻击
- 通过AI代理操作的审计日志执行合规要求
- 对在关键系统上运行的AI代理实施细粒度访问控制
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 中安装。
agentidentityprotocol · 安装
安装
目前该项目正在开发中,提供Go实现版本。要设置AIP作为MCP服务器的代理:
- 克隆仓库:
git clone https://github.com/openagentidentityprotocol/agent-identity-protocol.git - 遵循Go实现文档,访问 https://github.com/openagentidentityprotocol/aip-go
- 将AIP配置为MCP客户端和服务器之间的sidecar代理
Claude Desktop集成(一旦可用):
{
"mcpServers": {
"aip-proxy": {
"command": "go",
"args": ["run", "."],
"env": {
"AIP_REGISTRY_URL": "https://registry.aip.io"
}
}
}
}