OfficeMCP
v0.1.1Read, create and convert Office + PDF documents: Excel, Word, PowerPoint, CSV
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
pdf_text
Extract text from a PDF. pages=0 -> all pages; else first N pages.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
pages | integer |
pdf_info
PDF metadata: pages, title, author, encrypted, size.
| Parameter | Type | Description |
|---|---|---|
path * | string |
pdf_from_text
Create a simple paginated PDF from plain text (new pages on \f or automatic wrap).
| Parameter | Type | Description |
|---|---|---|
output_path * | string | |
text * | string | |
title | string |
xlsx_sheets
Sheet names + dimensions of an Excel workbook.
| Parameter | Type | Description |
|---|---|---|
path * | string |
xlsx_read
Read an Excel sheet as JSON rows (header row -> keys).
| Parameter | Type | Description |
|---|---|---|
path * | string | |
max_rows | integer | |
sheet | string |
xlsx_write
Create an .xlsx from a list of row-dicts (keys = header row).
| Parameter | Type | Description |
|---|---|---|
output_path * | string | |
rows * | array | |
sheet | string |
csv_head
Preview a CSV: headers + first rows, detected dialect.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
max_rows | integer |
csv_write
Write rows (list of dicts) to a CSV.
| Parameter | Type | Description |
|---|---|---|
output_path * | string | |
rows * | array |
convert_tabular
Convert between csv / xlsx / json (to_format: json | csv | xlsx). Output saved if output_path given.
| Parameter | Type | Description |
|---|---|---|
path * | string | |
output_path | string | |
to_format | string |
docx_text
Extract readable text from a Word document (paragraphs, styles, tables).
| Parameter | Type | Description |
|---|---|---|
path * | string |
docx_create
Create a Word document. headings: [[level(int 1-3), text], ...] interleaved in order with paragraphs? No — headings are written first (outline), then paragraphs. For fine control, build markdown-style in paragraphs with lines starting '# ', '## ', '### '.
| Parameter | Type | Description |
|---|---|---|
output_path * | string | |
headings | ||
paragraphs | ||
title | string |
pptx_outline
Slide-by-slide outline of a PowerPoint: titles + body text bullets.
| Parameter | Type | Description |
|---|---|---|
path * | string |
cloud_ocr_pdf
PREMIUM (needs MPX_API_KEY): cloud OCR for scanned PDFs (no text layer) -> searchable text.
| Parameter | Type | Description |
|---|---|---|
path * | string |