- Home
- MCP servers
- Mammoth
Mammoth
- javascript
0
GitHub Stars
javascript
Language
6 months ago
First Indexed
3 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"orchardxyz-mammoth-mcp": {
"command": "node",
"args": [
"/absolute/path/to/mammoth-mcp/dist/cjs/index.js"
]
}
}
}This MCP server provides clean DOCX to HTML conversion using mammoth.js, making it easy to transform rich word processor documents into semantic HTML that preserves structure and formatting. It is useful when you need consistent HTML output for content published from DOCX sources.
How to use
To use this MCP server, add it to your MCP client configuration so you can request DOCX to HTML conversions. You can operate it either as a local process started by your MCP client or as a globally installed command. Once configured, you can convert documents through the available tools and receive HTML output suitable for embedding in web apps or CMS pipelines.
How to install
Prerequisites: you need Node.js and a package manager (npm or pnpm) installed on your system.
Install dependencies for the server package using your preferred package manager.
Run the development server to start building and serving the MCP endpoints.
Notes about configuration and usage
The MCP server can be run in one of two ways described below. Choose the method that matches how you typically manage local services.
Examples and quick start
{
"mcpServers": {
"mammoth": {
"type": "stdio",
"command": "node",
"args": ["/absolute/path/to/mammoth-mcp/dist/cjs/index.js"]
}
}
}
{
"mcpServers": {
"mammoth": {
"type": "stdio",
"command": "mammoth-mcp",
"args": []
}
}
}
Available tools
convert_docx_to_html
Converts a DOCX file to clean HTML, preserving headings, paragraphs, lists, tables, and formatting.
convert_docx_to_html_with_images
Converts a DOCX file to HTML with embedded base64 images, preserving the document content with inline images.