Files
cloud-mcp/README_DEPLOY.md

54 lines
1.1 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 部署方案对比
## 方案一:直接运行(推荐 ⭐)
**优点**
- ✅ 最简单,无需 Docker
- ✅ MCP 工具可以直接操作服务器
- ✅ 无需 SSH 配置
- ✅ 资源占用更少
**适用场景**:个人项目、小规模部署
**快速开始**
```bash
# 在服务器上
git clone <repo> /opt/cloud-mcp
cd /opt/cloud-mcp
bun install
bun run start
```
详细文档:查看 `DIRECT_DEPLOY.md`
## 方案二Docker 部署
**优点**
- ✅ 环境隔离
- ✅ 易于管理
- ✅ 适合生产环境
**适用场景**:生产环境、需要隔离的场景
详细文档:查看 `DEPLOY.md`
## 推荐方案
对于你的使用场景(个人 MCP 服务器),**推荐使用方案一(直接运行)**
1. 在服务器上直接运行 MCP
2. 通过 Cursor 的 MCP 连接直接访问
3. 使用 `deploy_update` 工具一键部署更新
这样就不需要:
- ❌ Gitea Actions Runner
- ❌ SSH 配置
- ❌ Webhook 服务器
- ❌ Docker 容器
只需要:
- ✅ 在服务器上运行 MCP
- ✅ 在 Cursor 中配置 MCP 连接
- ✅ 使用部署工具更新