# Office Document MCP server

> Reads, edits, creates, and converts Word, Excel, and PowerPoint files for AI clients over MCP.

- Repository: https://github.com/rcarmo/python-office-mcp-server
- Page: https://hostedmcp.org/servers/rcarmo/python-office-mcp-server
- Transport: —
- Stars: 32

## Tools (35)

- `office_help`
- `office_read`
- `office_inspect`
- `office_patch`
- `office_comment`
- `office_table`
- `office_template`
- `office_audit`
- `office_image`
- `word_generate_sow`
- `word_cleanup_sow`
- `word_get_section_guidance`
- `word_parse_sow_template`
- `word_create_sow_from_markdown`
- `word_extract_sow_structure`
- `word_insert_at_anchor`
- `word_list_anchors`
- `word_document_map`
- `word_enable_track_changes`
- `word_patch_with_track_changes`
- `word_accept_all_changes`
- `pptx_add_slide`
- `pptx_delete_slide`
- `pptx_duplicate_slide`
- `pptx_reorder_slides`
- `pptx_hide_slide`
- `pptx_set_notes`
- `pptx_recommend_layout`
- `pptx_log_changes`
- `pptx_import_slide`
- `word_from_markdown`
- `excel_from_markdown`
- `pptx_from_markdown`
- `restart_server`
- `list_supported_formats`

## FAQ

### Which Office file formats can this MCP server read and edit?

It reads and edits unencrypted .docx, .xlsx, .xlsm, and .pptx files, and can create .docx, .xlsx, and .pptx files. Legacy binary Office files, encrypted packages, and Information Rights Management are not supported.

### How does the server transport work?

It runs over local stdio by default. The pinned transport dependency also supports Streamable HTTP sessions and legacy HTTP/SSE or raw TCP.

### Can I preview an Office edit before applying it?

Yes. office_patch supports a dry_run mode that validates changes on a private copy, discards it, and leaves the source and destination unchanged.

### Can I create a Word or PowerPoint document from Markdown?

Yes. The word_from_markdown, excel_from_markdown, and pptx_from_markdown tools create documents from Markdown tables or slides, accepting inline text or a markdown_file path for large inputs.

### Does Excel editing recalculate formulas?

No. Cell patches invalidate cell-level formula caches, and a calculation_state of "recalculation-required" means an external calculation engine must refresh results.
