drio
Open app

Docx/doc-MCP

Source

A powerful Word document processing service based on FastMCP, enabling AI assistants to create, edit, and manage docx files with full formatting support. Preserves original styles when editing content.

Catalog onlyCatalog onlySTDIO

Overview

MCP-Doc is a powerful Word document processing service based on FastMCP, enabling AI assistants to create, edit, and manage docx files with full formatting support while preserving original styles.

To use MCP-Doc, install the required dependencies, set it up as an MCP service in Cursor, and then use natural language commands to operate on Word documents.

  • Complete document operations including creating, opening, and saving documents. - Full formatting support for fonts, colors, sizes, and alignment. - Table processing capabilities for creating, editing, merging, and splitting cells. - Image insertion and layout control features. - Convenient editing functions like find and replace.
  1. Automating document creation and formatting tasks.
  2. Assisting users in editing Word documents through AI commands.
  3. Managing complex documents with tables and images efficiently.

Add to your AI client

Use these steps to connect Docx/doc-MCP in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mcp-doc-meterlong": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-doc-meterlong"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "mcp-doc-meterlong": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-doc-meterlong"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-doc-meterlong": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-doc-meterlong"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcp-doc-meterlong": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-doc-meterlong"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-doc-meterlong": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-doc-meterlong"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-doc-meterlong": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-doc-meterlong"
      ]
    }
  }
}

FAQ

Can MCP-Doc handle all types of Word documents?

Yes! MCP-Doc supports a wide range of Word document features and formatting options.

Is there a specific Python version required?

Yes! Python 3.10 or higher is required to run MCP-Doc.

How do I troubleshoot issues with MCP-Doc?

Ensure all dependencies are installed correctly and check the server path in Cursor.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":3086,"uuid":"abb8a54c-616f-44b4-959f-1cb25ea463a3","name":"MCP-Doc","title":"Docx/doc-MCP","description":"A powerful Word document processing service based on FastMCP, enabling AI assistants to create, edit, and manage docx files with full formatting support. Preserves original styles when editing content.","avatar_url":null,"created_at":"$D2025-03-17T04:34:35.589Z","updated_at":"$D2025-03-17T04:34:44.253Z","status":"created","author_name":"MeterLong","author_avatar_url":null,"tags":"docx,document-processing,AI-assistant","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/MeterLong/MCP-Doc","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":"38c7fa0b-a7e1-4fac-ae89-c47e259f5dfd","tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]