first commit

This commit is contained in:
2026-02-12 16:24:41 +08:00
commit 1b4f81a9bc
6 changed files with 674 additions and 0 deletions

18
docker-compose.yml Normal file
View File

@@ -0,0 +1,18 @@
version: "3.9"
services:
mcp-docx-server:
build:
context: .
dockerfile: Dockerfile
container_name: mcp-docx-server
working_dir: /app
# MCP 通常通过标准输入/输出与客户端通信,因此不需要暴露端口
stdin_open: true
tty: true
volumes:
# 可选:将当前目录挂载到容器内,便于共享 ref.docx、color.lua 和输出文件
- ./:/app
command: ["python", "mcp_docx_server.py"]