cloud-run-mcp vs filesystem
并排对比,帮你在这两个 MCP server 之间做选择。
cloud-run-mcp by GoogleCloudPlatform | filesystem by modelcontextprotocol | |
|---|---|---|
| Stars | ★ 608 | ★ 85,748 |
| 30天用量 | — | — |
| 综合分 | 53 | 77 |
| 官方 | — | ✓ |
| 分类 | 运维基建开发者工具AI / LLM 工具 | 本地文件系统开发者工具效率工具 |
| 实现语言 | JavaScript | TypeScript |
| 最近提交 | 本月 | 本月 |
cloud-run-mcp · 概述
MCP 服务器,使 AI 代理能够部署应用至 Google Cloud Run,提供完整的工具支持和认证选项。
filesystem · 概述
功能丰富的文件系统操作 MCP 服务器,具有动态目录访问控制功能。
cloud-run-mcp · 使用场景
- AI 辅助开发环境直接部署代码到 Cloud Run
- 使用 AI 代理管理 Cloud Run 服务的自动化 CI/CD 流程
- 通过自然语言管理 Google Cloud 基础设施的聊天式界面
filesystem · 使用场景
- 使 AI 模型能够读取和写入项目文件进行开发
- 允许 Claude 或其他 MCP 客户端浏览和分析代码库
- 为内容生成提供对特定目录的安全沙盒访问
cloud-run-mcp · 安装
安装
快速开始(Node.js)
"mcpServers": {
"cloud-run": {
"command": "npx",
"args": ["-y", "@google-cloud/cloud-run-mcp"]
}
}与 Claude Desktop 一起使用
添加到您的 Claude Desktop 配置文件(claude_desktop_config.json)中:
{
"mcpServers": {
"cloud-run": {
"command": "npx",
"args": ["-y", "@google-cloud/cloud-run-mcp"],
"env": {
"GOOGLE_CLOUD_PROJECT": "您的项目ID",
"GOOGLE_CLOUD_REGION": "您的区域",
"DEFAULT_SERVICE_NAME": "您的服务名称"
}
}
}
}使用 Docker
{
"mcpServers": {
"cloud-run": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e", "GOOGLE_APPLICATION_CREDENTIALS",
"-v", "/本地路径:/本地路径",
"mcp/cloud-run-mcp:latest"
],
"env": {
"GOOGLE_APPLICATION_CREDENTIALS": "/凭据文件的路径"
}
}
}
}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 中安装。