// may the 4th be with you⚔️
productivityfile-systems

Word Document Tools

by puchunjie

Automate Word document creation and editing with our Node.js server. Includes PDF to Word format converter and Google Do

Enables natural language-driven Word document creation, editing, and formatting through a Node.js server that integrates seamlessly with development environments for document automation workflows.

github stars

10

0 commentsdiscussion

Both formats append explainx.ai attribution and the canonical URL for this MCP server listing.

Natural language document manipulationNo Microsoft Word installation requiredReal-time document state monitoring

best for

  • / Automating report generation workflows
  • / Developers building document processing applications
  • / Creating templated documents through AI interactions
  • / Bulk document editing and formatting tasks

capabilities

  • / Create new Word documents with metadata
  • / Add formatted paragraphs and text content
  • / Insert and format tables with headers
  • / Search and replace text throughout documents
  • / Set page margins and layout properties
  • / Extract document information and metadata

what it does

Creates and edits Microsoft Word documents programmatically through AI commands. Handles document creation, text formatting, tables, and search/replace operations.

about

Word Document Tools is a community-built MCP server published by puchunjie that provides AI assistants with tools and capabilities via the Model Context Protocol. Automate Word document creation and editing with our Node.js server. Includes PDF to Word format converter and Google Do It is categorized under productivity, file systems. This server exposes 7 tools that AI clients can invoke during conversations and coding sessions.

how to install

You can install Word Document Tools in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport.

license

MIT

Word Document Tools is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.

readme

Word Tools MCP Server

A Model Context Protocol (MCP) server that provides AI-powered Word document manipulation capabilities. This server implements the MCP protocol to enable AI applications to create, edit, and manage Word documents through natural language interactions.

smithery badge

<a href="https://glama.ai/mcp/servers/q9e176vq7l"> <img width="380" height="200" src="https://glama.ai/mcp/servers/q9e176vq7l/badge" /> </a>

Features

  • Full MCP protocol implementation
  • Word document creation and management
  • Rich text content manipulation
  • Table creation and formatting
  • Document layout control
  • Document metadata management
  • Real-time document state monitoring

Prerequisites

  • Node.js 14 or higher
  • Microsoft Word (optional, for advanced features)

Installation

npx @puchunjie/doc-tools-mcp

Or install globally:

npm install -g @puchunjie/doc-tools-mcp

For use as a dependency in your project:

npm install @puchunjie/doc-tools-mcp

Usage

  1. Start the MCP server:
npx @puchunjie/doc-tools-mcp
  1. The server will start on port 8765 by default

  2. Configure your AI application (e.g., Cursor, VSCode) to use the MCP server:

    http://localhost:8765
    

MCP Tools

The server provides the following MCP functions:

  • create_document - Create a new Word document

    • Parameters: filePath (required), title, author
  • open_document - Open an existing Word document

    • Parameters: filePath (required)
  • add_paragraph - Add a paragraph to the document

    • Parameters: filePath (required), text (required), style, alignment
  • add_table - Add a table to the document

    • Parameters: filePath (required), rows (required), cols (required), headers, data
  • search_and_replace - Find and replace text in the document

    • Parameters: filePath (required), searchText (required), replaceText (required), matchCase
  • set_page_margins - Set document page margins

    • Parameters: filePath (required), top, right, bottom, left
  • get_document_info - Get document metadata

    • Parameters: filePath (required)

Integration with AI Applications

Cursor

  1. Open the Cursor configuration file ~/.cursor/mcp.json
  2. Add the following configuration:
{
  "mcpServers": {
    "doc-tools-mcp": {
      "command": "npx",
      "args": [
        "@puchunjie/doc-tools-mcp"
      ]
    }
  }
}

Or for local development version:

{
  "mcpServers": {
    "doc-tools-mcp": {
      "command": "node",
      "args": [
        "/path/to/your/doc-tools-mcp/dist/mcp-server.js"
      ]
    }
  }
}

After configuration, you can use natural language to manipulate Word documents:

"Create a new document named report.docx"
"Add a heading 'Monthly Report' to report.docx"
"Insert a 4x3 table with sales data"

VSCode and Other MCP-Compatible Tools

Similar integration steps apply to other tools that support the MCP protocol. Consult your tool's documentation for specific MCP server configuration steps.

Development

To extend or modify this MCP server:

  1. Clone the repository:
git clone <repository-url>
cd doc-tools-mcp
  1. Install dependencies:
npm install
  1. Start in development mode:
npm run start
  1. Build for production:
npm run build

Adding New MCP Functions

  1. Add new methods in src/services/DocumentService.ts
  2. Register new functions in src/mcp-server.ts
  3. Update type definitions as needed

Configuration

  • Default port: 8765 (configurable)
  • Supported file types: .docx
  • All file paths should be absolute or relative to the current working directory

License

MIT

Support

If you encounter any issues or have suggestions for improvements, please submit an issue on our GitHub repository.

FAQ

What is the Word Document Tools MCP server?
Word Document Tools is a Model Context Protocol (MCP) server profile on explainx.ai. MCP lets AI hosts (e.g. Claude Desktop, Cursor) call tools and resources through a standard interface; this page summarizes categories, install hints, and community ratings.
How do MCP servers relate to agent skills?
Skills are reusable instruction packages (often SKILL.md); MCP servers expose live capabilities. Teams frequently combine both—skills for workflows, MCP for APIs and data. See explainx.ai/skills and explainx.ai/mcp-servers for parallel directories.
How are reviews shown for Word Document Tools?
This profile displays 75 aggregated ratings (sample rows for discoverability plus signed-in user reviews). Average score is about 4.6 out of 5—verify behavior in your own environment before production use.

Discussion

Product Hunt–style comments (not star reviews)
  • No comments yet — start the thread.
MCP server reviews

Ratings

4.675 reviews
  • Ishan Gill· Dec 28, 2024

    Word Document Tools is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.

  • Henry Rao· Dec 24, 2024

    Useful MCP listing: Word Document Tools is the kind of server we cite when onboarding engineers to host + tool permissions.

  • Kiara Patel· Dec 20, 2024

    Word Document Tools is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.

  • Henry Menon· Dec 16, 2024

    We wired Word Document Tools into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.

  • Ishan Iyer· Dec 16, 2024

    Word Document Tools has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.

  • Ganesh Mohane· Dec 12, 2024

    We evaluated Word Document Tools against two servers with overlapping tools; this profile had the clearer scope statement.

  • Soo Jain· Dec 12, 2024

    According to our notes, Word Document Tools benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.

  • Shikha Mishra· Dec 8, 2024

    Word Document Tools is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.

  • Ama Haddad· Dec 8, 2024

    I recommend Word Document Tools for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.

  • Kabir Garcia· Dec 4, 2024

    Word Document Tools is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.

showing 1-10 of 75

1 / 8