OfficeMCP

v0.1.1
com.mcpproducts/office Checked 1 day ago Published 1 month ago

Read, 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.

ParameterTypeDescription
path *string
pagesinteger

pdf_info

PDF metadata: pages, title, author, encrypted, size.

ParameterTypeDescription
path *string

pdf_from_text

Create a simple paginated PDF from plain text (new pages on \f or automatic wrap).

ParameterTypeDescription
output_path *string
text *string
titlestring

xlsx_sheets

Sheet names + dimensions of an Excel workbook.

ParameterTypeDescription
path *string

xlsx_read

Read an Excel sheet as JSON rows (header row -> keys).

ParameterTypeDescription
path *string
max_rowsinteger
sheetstring

xlsx_write

Create an .xlsx from a list of row-dicts (keys = header row).

ParameterTypeDescription
output_path *string
rows *array
sheetstring

csv_head

Preview a CSV: headers + first rows, detected dialect.

ParameterTypeDescription
path *string
max_rowsinteger

csv_write

Write rows (list of dicts) to a CSV.

ParameterTypeDescription
output_path *string
rows *array

convert_tabular

Convert between csv / xlsx / json (to_format: json | csv | xlsx). Output saved if output_path given.

ParameterTypeDescription
path *string
output_pathstring
to_formatstring

docx_text

Extract readable text from a Word document (paragraphs, styles, tables).

ParameterTypeDescription
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 '# ', '## ', '### '.

ParameterTypeDescription
output_path *string
headings
paragraphs
titlestring

pptx_outline

Slide-by-slide outline of a PowerPoint: titles + body text bullets.

ParameterTypeDescription
path *string

cloud_ocr_pdf

PREMIUM (needs MPX_API_KEY): cloud OCR for scanned PDFs (no text layer) -> searchable text.

ParameterTypeDescription
path *string