feat: 添加 Docker 部署支持和 MCP 原生集成

- 添加 Dockerfile、docker-compose.yml 和 Jenkins 流水线配置
- 新增 MCP 原生集成模块 (mcp_native.py)
- 移除旧的 mcp_bridge.py,更新依赖和文档
- 添加部署文档 (Docker 和服务器部署指南)

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-05-25 14:21:43 +08:00
co-authored by Cursor
parent a41f61bcf6
commit f5143aee09
20 changed files with 1722 additions and 403 deletions
+2 -1
View File
@@ -12,7 +12,8 @@ import paramiko
from ..schemas import SshProfileOut, SshScriptOut
PROJECT_ROOT = Path(__file__).resolve().parent.parent.parent
SSH_SCRIPTS_DIR = PROJECT_ROOT / "data" / "ssh-scripts"
_DATA_ROOT = Path(os.getenv("QIP_DATA_DIR", str(PROJECT_ROOT / "data")))
SSH_SCRIPTS_DIR = _DATA_ROOT / "ssh-scripts"
def resolve_script_body(script: SshScriptOut) -> str: