officeCliMCP
Enables processing of Office documents (DOCX, XLSX, PPTX, PDF, Markdown) through 21 tools for reading, creating, editing, converting, comparing, and analyzing documents.
README
OfficeCLI MCP Server
MCP Server xử lý tài liệu Office cho C2A — 21 tools đọc, tạo, sửa, chuyển đổi, so sánh và phân tích tài liệu.
Hỗ trợ: DOCX, XLSX, PPTX, PDF, Markdown
🚀 Chạy nhanh
docker compose up -d
curl http://localhost:8100/health
Server chạy tại port 8100, MCP endpoint tại /mcp.
🛠️ 21 Tools
📖 Đọc & Trích xuất (6)
| Tool | Mô tả |
|---|---|
read_document |
Đọc file → Markdown (DOCX, XLSX, PPTX, PDF, MD, TXT) |
read_sheet |
Đọc sheet Excel → bảng Markdown |
read_slides |
Đọc PowerPoint → Markdown |
extract_tables |
Trích xuất tất cả bảng từ tài liệu |
extract_images |
Trích xuất metadata ảnh từ Markdown |
extract_metadata |
Metadata file (size, modified, type) |
✏️ Chỉnh sửa (5)
| Tool | Mô tả |
|---|---|
edit_document |
Tìm & thay thế trong DOCX |
edit_sheet |
Cập nhật ô Excel |
insert_content |
Chèn nội dung vào DOCX |
delete_content |
Xóa nội dung khỏi DOCX |
replace_all |
Tìm & thay thế tất cả trong DOCX |
📝 Tạo mới (3)
| Tool | Mô tả |
|---|---|
create_document |
Tạo DOCX/PPTX/XLSX từ Markdown |
create_report |
Tạo báo cáo Word từ dữ liệu Excel |
create_slides |
Tạo PowerPoint từ outline Markdown |
🔄 Chuyển đổi (3)
| Tool | Mô tả |
|---|---|
convert_document |
Chuyển đổi format bằng Pandoc |
merge_documents |
Gộp nhiều tài liệu thành một |
split_document |
Tách tài liệu thành nhiều file |
🔍 So sánh & Phân tích (3)
| Tool | Mô tả |
|---|---|
diff_documents |
So sánh 2 tài liệu → báo cáo khác biệt |
analyze_data |
Phân tích Excel → thống kê, xu hướng, tương quan |
summarize_document |
Tóm tắt tài liệu dài |
🗂️ Quản lý file (1)
| Tool | Mô tả |
|---|---|
list_files |
Liệt kê file trong workspace |
🔌 Kết nối với C2A
Thêm vào C2A MCP client config:
{
"mcpServers": {
"officecli": {
"url": "http://officecli:8100/mcp"
}
}
}
📂 Workspace
File được lưu trong /mnt/data/officecli/workspace/ (mount vào container tại /app/data/workspace).
🏗️ Build
docker compose build --no-cache
docker compose up -d
📄 License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.