Skip to main content
Glama

word-doc-mcp

MCP Server for creating and reading Word (.docx) documents — with rich formatting support.

Tools

Tool

Description

create_document

Create .docx with headings, rich-text paragraphs, lists, tables, dividers

read_document

Read .docx as plain text

append_document

Append content to existing .docx

Related MCP server: docx-mcp

Content Types

{ "type": "heading", "level": 1, "text": "Title" }
{ "type": "paragraph", "text": "Plain text" }
{ "type": "paragraph", "runs": [{"text":"Bold", "bold":true}, {"text":" normal"}] }
{ "type": "list", "ordered": false, "items": ["Item 1", "Item 2"] }
{ "type": "table", "headers": ["Col A", "Col B"], "rows": [["a","b"]] }
{ "type": "divider" }
{ "type": "pageBreak" }

Install

VS Code / Copilot

{
  "mcpServers": {
    "word-doc": {
      "command": "npx",
      "args": ["-y", "word-doc-mcp"]
    }
  }
}

Claude Desktop

{
  "mcpServers": {
    "word-doc": {
      "command": "npx",
      "args": ["-y", "word-doc-mcp"]
    }
  }
}

Usage

Ask the AI:

Create a weekly report at E:/docs/report.docx with my 3 completed features and next week's plan.

Or:

Read the document at E:/docs/report.docx and summarize it.

License

MIT

Available Tools

3 tools
append_documentC

在已有 Word 文档末尾追加内容

Inputs: content (required), filePath (required).

create_documentA

创建 Word 文档。content 为结构化数组,每项 type: heading|paragraph|list|table|pageBreak|divider。 paragraph 支持 runs 富文本(数组 {text,bold?,italic?,color?,fontSize?});list 支持 ordered|items;table 支持 headers|rows;divider 为水平分隔线。

Inputs: content (required), filePath (required), title.

read_documentB

读取 Word 文档的纯文本内容

Inputs: filePath (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.5/5.0

    Scored across 3 tools

    Disambiguation5/5

    Each tool targets a distinct operation: create, append, and read. No overlap or ambiguity.

    Naming Consistency5/5

    All tools follow a consistent verb_noun pattern (append_document, create_document, read_document).

    Tool Count4/5

    Three tools is slightly minimal for a document server, but covers core create/append/read operations adequately.

    Completeness3/5

    Missing update/delete operations and structured read output, leaving notable gaps for full document lifecycle management.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers