Office-MCP-Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| word_read_documentC | Read a Word document's paragraphs, with anchors |
| word_get_document_infoA | Get paragraph/word/character counts for a Word document |
| word_search_textB | Search a Word document's paragraphs for matching text |
| word_replace_textsC | Find and replace text across a Word document's paragraphs |
| word_edit_paragraphsB | Replace the text of specific paragraphs by paraId |
| word_insert_paragraphsB | Insert new paragraphs after a given paraId |
| word_delete_paragraphsC | Delete paragraphs by paraId |
| word_ensure_anchorsB | Assign stable paraId anchors to any paragraph missing one |
| word_format_textB | Apply run-level formatting (bold/italic/underline/font/size/color) to paragraphs by paraId |
| word_set_paragraph_formatsB | Apply paragraph-level formatting (alignment/spacing/indent) to paragraphs by paraId |
| word_highlight_textB | Search for text and apply a highlight color to matching paragraphs |
| word_set_headingsA | Set or clear a heading style on paragraphs by paraId |
| word_get_page_layoutA | Read page size, orientation, and margins for a Word document |
| word_set_page_layoutA | Set page size, orientation, and/or margins for a Word document |
| word_insert_tableA | Insert a new table after a given paraId, optionally seeded with cell text |
| word_read_table_structureA | Read a table's row/col counts and each cell's text and paraIds |
| word_read_table_cellA | Read a single table cell's text and paraIds |
| word_edit_table_cellsA | Replace the text of specific table cells by table index, row, and column |
| word_edit_table_paragraphsA | Replace the text of a specific paragraph inside a table cell by paraId |
| word_insert_table_paragraphsB | Insert new paragraphs into a table cell, after a given paraId |
| word_delete_table_paragraphsB | Delete paragraphs inside table cells by paraId |
| word_add_commentA | Add a single comment anchored to a paragraph by paraId |
| word_add_commentsA | Add multiple comments, each anchored to a paragraph by paraId, in one pass |
| word_read_commentsA | Read all comments in a Word document |
| word_reply_to_commentA | Add a reply comment anchored to the same paragraph as an existing comment |
| word_delete_commentB | Delete a comment and its anchor markers from a Word document |
| word_accept_all_changesA | Accept all tracked changes in a Word document, keeping insertions and dropping deletions |
| word_reject_all_changesA | Reject all tracked changes in a Word document, restoring deletions and dropping insertions |
| word_list_imagesA | List embedded images in a Word document, with relationship id, target path, and size |
| word_read_header_footerA | Read the text of a header or footer (default/first/even variant) via the document's section properties |
| word_read_footnotesA | Read all normal footnotes in a Word document |
| word_create_documentA | Create a new, blank .docx file at the given path, optionally seeded with paragraphs |
| word_apply_document_presetB | Apply a named page-layout + default-font preset to a Word document |
| word_create_custom_styleB | Create a new custom paragraph style in a Word document's styles.xml |
| word_merge_documentsA | Merge multiple .docx files into one new document, appending paragraphs/tables in order (base document's styles/media are kept; other sources contribute text/table content only) |
| word_add_password_protectionA | Enforce a password-protected editing restriction (Word's 'Restrict Editing') on a Word document, via settings.xml w:documentProtection |
| word_convert_to_pdfA | Convert a .docx file to PDF via a local LibreOffice install (requires LibreOffice/'soffice' on PATH or a standard install location) |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/stoyantsiparov/Office-MCP-Server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server