Token导航 LogoToken导航TokenDH.com
开发external-servicegithub未标认证来源可访问许可证需确认审计通过

office-mcpoffice MCP 文档

Agent Skill

office-mcp 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

32,448

周安装

1,257

GitHub Stars

89

下载量

10,504
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:office-mcp(office MCP 文档)
来源仓库:https://github.com/claude-office-skills/skills
仓库路径:skills/office-mcp
安装命令:
npx skills add https://github.com/claude-office-skills/skills --skill office-mcp
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/claude-office-skills/skills --skill office-mcp

简介

通过 MCP 服务器进行 Word、Excel、PowerPoint、PDF 和 OCR 文档操作的 39 种工具。

  • 涵盖 PDF 操作(提取、合并、分割、压缩、OCR)、电子表格分析和创建、Word 文档生成和模板以及演示文稿创作
  • 包含9种格式转换工具,支持Excel、CSV、JSON、Markdown、PDF、HTML和批量操作
  • 多语言 OCR 支持英语、中文、日语、韩语、法语、德语和西班牙语
  • 使用 TypeScript/Node.js 构建,并使用 pdf-lib、tesseract.js、xlsx 和 docx 库进行实际实现

SKILL.md

Office MCP Server

Overview

A complete MCP (Model Context Protocol) server providing 39 tools for Office document operations. Implemented in TypeScript/Node.js with real functionality (not placeholders).

Tool Categories

PDF Tools (10)

ToolDescription
extract_text_from_pdfExtract text content, supports page selection
extract_tables_from_pdfExtract table data from PDFs
merge_pdfsMerge multiple PDFs into one
split_pdfSplit PDF by page ranges
compress_pdfReduce PDF file size
add_watermark_to_pdfAdd text/image watermarks
fill_pdf_formFill PDF form fields
get_pdf_metadataGet PDF properties and metadata
ocr_pdfOCR on scanned PDFs (multi-language)
ocr_imageOCR on image files (PNG, JPG, TIFF, etc.)

Spreadsheet Tools (7)

ToolDescription
read_xlsxRead Excel files with sheet/range selection
create_xlsxCreate multi-sheet Excel files
analyze_spreadsheetStatistical analysis (min/max/mean/median)
apply_formulaApply Excel formulas to cells
create_chartGenerate chart configurations
pivot_tableCreate pivot tables with aggregation
xlsx_to_jsonConvert Excel to JSON

Document Tools (6)

ToolDescription
extract_text_from_docxExtract text from Word documents
create_docxCreate DOCX with headings, lists, tables
fill_docx_templateFill templates with {{placeholders}}
analyze_document_structureAnalyze headings, tables, word count
insert_table_to_docxInsert tables into documents
merge_docx_filesMerge multiple Word documents

Conversion Tools (9)

ToolDescription
xlsx_to_csvConvert Excel to CSV
csv_to_xlsxConvert CSV to Excel
json_to_xlsxConvert JSON arrays to Excel
docx_to_mdConvert Word to Markdown
md_to_docxConvert Markdown to Word
pdf_to_docxConvert PDF to Word (text extraction)
docx_to_pdfConvert Word to PDF (external tool required)
html_to_pdfConvert HTML to PDF (external tool required)
batch_convertBatch convert multiple files

Presentation Tools (7)

ToolDescription
create_pptxCreate PowerPoint with themes
extract_from_pptxExtract text and images from PPTX
md_to_pptxConvert Markdown to slides
add_slideAdd slides to existing presentations
update_slideUpdate slide content
pptx_to_htmlConvert to reveal.js HTML
get_pptx_outlineGet presentation structure

Installation

1. Clone and Build

cd mcp-servers/office-mcp
npm install
npm run build

2. Configure Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "office-mcp": {
      "command": "/usr/local/bin/node",
      "args": ["/path/to/claude-office-skills/mcp-servers/office-mcp/dist/index.js"]
    }
  }
}

3. Restart Claude Desktop

Example Prompts

  • "Read the Excel file at ~/Documents/sales.xlsx"
  • "Create a PowerPoint with 5 slides about AI trends"
  • "Extract text from this PDF and convert to Markdown"
  • "Merge these 3 Word documents into one"
  • "Analyze the data in this spreadsheet"

Dependencies

pdf-parse, pdf-lib       - PDF operations
tesseract.js             - OCR (pure JavaScript, no native binary needed)
xlsx                     - Excel operations
mammoth, docx            - Word operations
docxtemplater, pizzip    - Template filling
pptxgenjs, jszip         - PowerPoint operations
turndown, marked         - Markdown conversion

Supported OCR Languages

  • eng - English
  • chi_sim - Simplified Chinese
  • chi_tra - Traditional Chinese
  • jpn - Japanese
  • kor - Korean
  • fra - French
  • deu - German
  • spa - Spanish

Resources

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.12%
按下载量换算3,584

Claude

34.01%
按下载量换算3,572

Cursor

17.44%
按下载量换算1,832

Gemini CLI

9.46%
按下载量换算994

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

external-service

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills