Word Tools MCP Server logo

Word Tools MCP Server

by puchunjie

The Word Tools MCP Server is a Model Context Protocol (MCP) server providing AI-powered Word document manipulation. It enables AI applications to create, edit, and manage Word documents through natural language.

View on GitHub

Last updated: N/A

What is Word Tools MCP Server?

A Model Context Protocol (MCP) server that allows AI applications to interact with and manipulate Word documents using natural language commands.

How to use Word Tools MCP Server?

Install the package using npm or npx. Start the server, configure your AI application (like Cursor or VSCode) to use the server's address (http://localhost:8765 by default). Then, use natural language commands to interact with Word documents through your AI application.

Key features of Word Tools MCP Server

  • 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

Use cases of Word Tools MCP Server

  • Automated document generation

  • AI-powered document editing

  • Natural language content insertion

  • Programmatic report creation

  • AI assistance for document management

FAQ from Word Tools MCP Server

What is the default port for the server?

The default port is 8765.

What file types are supported?

Only .docx files are currently supported.

Are file paths absolute or relative?

All file paths should be absolute or relative to the current working directory.

How do I configure Cursor to use this server?

Add the provided configuration (either using 'npx' or 'node') to your ~/.cursor/mcp.json file.

How can I extend the server with new MCP functions?

Add new methods in src/services/DocumentService.ts, register new functions in src/mcp-server.ts, and update type definitions as needed.