Skip to main content
Glama

mcp-officecli-bridge

Streamable HTTP bridge for OfficeCLI official MCP (officecli mcp stdio) — 以便可用于 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. Build Pack: 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)

环境变量

Var

Default

描述

PORT

3000

HTTP 端口

OFFICECLI_BIN

officecli

officecli 二进制路径

REQUEST_TIMEOUT_MS

25000

代理到上游的超时时间

MCP_AUTH_TOKEN

-

如果填写,需要 Authorization: Bearer <token>(todo: wiring)

F
license - not found
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

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.
    31
    138
    Apache 2.0
  • F
    license
    Not graded
    quality
    C
    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

View all related MCP servers

Related MCP Connectors

  • AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.

  • MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.

  • Streamable HTTP MCP server for Google Calendar and Sheets with OAuth login.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/bapakstack/mcp-officecli-bridge'

If you have feedback or need assistance with the MCP directory API, please join our Discord server