Skip to main content
Glama

mcp-officecli-bridge

OfficeCLI 공식 MCP(officecli mcp stdio)용 Streamable HTTP 브리지 — Gemini Spark Custom App에서 사용할 수 있고 **Coolify (Tencent Cloud)**에서 호스팅할 수 있습니다.

OfficeCLI 도구를 다시 구현하지 않습니다. 모든 도구(create, view, get, query, add, set, remove, move, swap, batch, dump, merge, validate, …)는 업스트림에서 자동으로 노출됩니다.

Gemini Spark --POST /mcp (Streamable HTTP)-->  Express (src/server.ts)  --stdio-->  officecli mcp

Coolify에 배포 (2분)

  1. Coolify → + New Service → Application → mcp_office_cli 리포지토리 선택

  2. 빌드 팩: Dockerfile — 포트: 3000

  3. (선택 사항) 도메인 설정: mcp.yourdomain.com

  4. 배포 → https://mcp.yourdomain.com/health 확인 → {"status":"ok"}

  5. Gemini Spark → Custom App → MCP URL = https://mcp.yourdomain.com/mcp

Related MCP server: AgentCore MCP Server

로컬 테스트

npm install
npm run build
# butuh officecli terinstall (winget/brew/npm) untuk test lokal, atau pakai Docker
npm start
# test
curl http://localhost:3000/health
curl -X POST http://localhost:3000/mcp -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"test","version":"1.0"}}}'

Inspector

npx @modelcontextprotocol/inspector
# URL: http://localhost:3000/mcp  (Streamable HTTP)

환경 변수

변수

기본값

설명

PORT

3000

HTTP 포트

OFFICECLI_BIN

officecli

officecli 바이너리 경로

REQUEST_TIMEOUT_MS

25000

업스트림 프록시 타임아웃

MCP_AUTH_TOKEN

-

설정된 경우 Authorization: Bearer <token> 필요 (todo: wiring)

Maintenance

ActivitySlowing
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    F
    maintenance
    Exposes Gemini CLI's built-in tools and external MCP proxies through a unified MCP endpoint while providing an OpenAI-compatible API for Gemini models. It features configurable security modes to safely manage file system operations, web searches, and shell command execution.
    36 npm
    138
    Apache 2.0
  • F
    license
    Not graded
    quality
    D
    maintenance
    MCP server for driving Office add-ins (Excel, Word, Outlook, PowerPoint, OneNote) through high-level workflow tools and queries, enabling LLM agents to automate document tasks across Microsoft Office applications via a single Go binary.
    3
    -
  • A
    license
    Not graded
    quality
    B
    maintenance
    Suite of MCP servers for local-first, governed automation of Microsoft Office files (Excel, PowerPoint, Word) via structured tool calls.
    80 PyPI
    8
    MIT