md-to-word-mcp
v1.0.1
Published
A Model Context Protocol server for converting Markdown to Word documents
Readme
A Model Context Protocol server that enables AI-powered tools to convert Markdown documents into Microsoft Word format. This server provides a simple yet powerful way to transform your Markdown content into professional Word documents.
Features
- Convert Markdown to Word (.docx) format
- Maintain document structure and formatting
- Support for standard Markdown syntax
- Easy integration with AI coding tools
Getting Started
Many code editors and AI clients use a configuration file to manage MCP servers. The server can be configured by adding the following to your configuration file:
MacOS / Linux
{
"mcpServers": {
"Markdown to Word MCP": {
"command": "npx",
"args": ["-y", "md-to-word-mcp", "--stdio"]
}
}
}Windows
{
"mcpServers": {
"Markdown to Word MCP": {
"command": "cmd",
"args": ["/c", "npx", "-y", "md-to-word-mcp", "--stdio"]
}
}
}Usage
- Configure the MCP server in your AI coding tool
- Open your Markdown file
- Use your AI tool to request conversion to Word format
- The server will process the Markdown and return a Word document
Development
To set up the development environment:
# Install dependencies
npm install
# Start development server
npm run dev
# Build the project
npm run buildProject Structure
├── src/
│ ├── cli.ts # Command line interface
│ ├── config.ts # Configuration handling
│ ├── server.ts # MCP server implementation
│ └── utils/
│ └── md-to-doc.ts # Markdown to Word conversionLicense
This project is licensed under the MIT License - see the LICENSE file for details.
