OfficeCLI MCP Serverless for Gemini Spark
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@OfficeCLI MCP Serverless for Gemini SparkCreate a Word doc with a table and heading for Q3 sales report"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
OfficeCLI MCP Serverless for Gemini Spark
Stateless & Serverless Model Context Protocol (MCP) server yang membungkus OfficeCLI untuk membuat dan mengedit dokumen Microsoft Word (.docx) langsung melalui instruksi AI di Gemini Spark Custom App.
🚀 Fitur Utama
Stateless & Serverless Ready: Didesain khusus untuk runtime Vercel Functions (
/tmpscratch space, auto-cleanup).Batch Pipeline Execution: Menjalankan kumpulan perintah OfficeCLI secara berurutan dalam satu turn request.
Base64 Data URL Output: Menghasilkan file Word langsung dalam format Base64 Data URL tanpa perlu external storage (S3/Blob).
Auto Binary Provisioning: Otomatis mengunduh atau menyiapkan executable
officecliLinux x86_64 di environment serverless.
Related MCP server: office-mcp-server
🛠️ Tool MCP yang Tersedia
generate_office_document
Mengeksekusi batch perintah OfficeCLI untuk membuat atau mengubah dokumen .docx.
Parameter Input:
filename(string, required): Nama file output (contoh:Laporan_Proyek.docx).commands(string[], required): Daftar perintah OfficeCLI yang dieksekusi berurutan.[ "create output.docx", "add output.docx / --type paragraph --prop \"text=Laporan Evaluasi Kuartal 3\"", "add output.docx / --type table --prop rows=3 --prop cols=3" ]initial_file_base64(string, optional): Base64 string dokumen awal jika ingin melakukan edit pada template existing.
📦 Menghubungkan ke Gemini Spark Custom App
Deploy ke Vercel:
pnpm install vercel deploy --prodSalin URL hasil deploy Vercel Anda, misalnya:
https://officecli-mcp.vercel.app/api/indexTambahkan ke Gemini Spark:
Buka pengaturan Gemini Spark Custom App / Custom Tools / MCP Servers.
Masukkan Server URL:
https://officecli-mcp.vercel.app/api/index(Transport: SSE / HTTP Remote MCP).Simpan dan mulai perintahkan Gemini:
"Buatkan saya dokumen Word tentang laporan bisnis lengkap dengan tabel metrik!"
💻 Development & Testing Lokal
# Install dependencies
pnpm install
# Menjalankan unit tests
pnpm test
# Menjalankan MCP server di mode stdio
pnpm devThis server cannot be installed
Maintenance
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
- AlicenseNot gradedqualityDmaintenanceEnterprise-grade document editing and management server that enables AI-powered operations on Microsoft Word DOCX files, including creating, editing, formatting, and exporting documents through both MCP protocol and RESTful API.3MIT
- FlicenseBqualityBmaintenanceMCP server for Office document automation, enabling AI assistants to create, read, and clone Word/Excel/PPT templates while preserving formatting.41
- AlicenseAqualityDmaintenanceMCP server for Word document (.docx) creation and manipulation — the production-grade document automation tool for AI agents.938MIT
- FlicenseAqualityCmaintenanceMCP server for rendering, parsing, converting, and editing Office documents (Excel, PowerPoint, Word) from a structured JSON spec, using LibreOffice WASM for conversion and preview.51
Related MCP Connectors
MCP Server for Slima - AI Writing IDE for Novel Authors with AI Beta Reader.
MCP (Model Context Protocol) server for Appwrite
Use your own Word templates to convert Markdown → DOCX/PDF/HTML from any MCP-compatible AI.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/kerjaanlucky/officecli-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server