- Home
- MCP servers
- Document Generator
Document Generator
- other
2
GitHub Stars
other
Language
3 months ago
First Indexed
3 weeks 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": {
"thiagotw10-document-generator-mcp": {
"command": "npx",
"args": [
"--yes",
"--cache",
"/tmp/.npx-cache",
"document-generator-mcp@latest"
]
}
}
}You can generate professional Word (.docx) and PDF documents from any MCP-enabled agent using this Document Generator MCP solution. It integrates with your agent workflow to produce polished documents with automatic formatting, syntax highlighting, and smart JSON detection, making it easy to deliver high-quality documents from natural-language prompts.
How to use
After you configure an MCP client, you can prompt it to generate Word, PDF, or both styles of documents. You can request a sales analysis report, a project status PDF, or a technical API document in Word format. The server will interpret your natural language, apply professional formatting, and save the output in a dedicated folder for easy access.
How to install
Prerequisites you need before installing this MCP server include Node.js 18 or newer. You also need an environment where you can run npm or npx commands.
# Install the MCP server via NPX (recommended)
npx document-generator-mcp@latest
# Or install globally with NPM
npm install -g document-generator-mcp
Configuration and usage notes
You can configure the MCP client to run the document generator as an MCP server using stdio commands. The following configurations show how to wire the server with different MCP clients.
{
"mcpServers": {
"document-generator": {
"command": "npx",
"args": ["--yes", "--cache", "/tmp/.npx-cache", "document-generator-mcp@latest"]
}
}
}
Additional configuration options for MCP clients
If you use Claude Desktop, add the MCP server configuration to simulate running the generator locally via NPX. Then restart Claude Desktop to apply changes.
{
"mcpServers": {
"document-generator": {
"command": "npx",
"args": ["--yes", "--cache", "/tmp/.npx-cache", "document-generator-mcp@latest"]
}
}
}
Available tools and outputs
The server exposes the following actions to your MCP client: the ability to generate Word documents and PDF documents. The specific tools are gerar_documento_word for Word/PDF generation and gerar_documento_pdf for PDF-only generation.
Troubleshooting and tips
If you encounter issues during setup, ensure you are using Node.js 18+ and that your environment has access to the cache directory used by NPX. If you see cache-related errors, retry the command with the same arguments or clear the NPX cache.
Generated files and simplicity of use
Documents are saved to a designated folder for generated documents, making it easy to locate the output after each run. The server supports both Word and PDF formats, with automatic formatting designed to respect margins and pagination.
Available tools
gerar_documento_word
Creates Word documents, PDF, or both based on the input prompts.
gerar_documento_pdf
Creates PDF documents only from the given prompts.