Generate Pdf And Word
About
generate pdf and word Browse Document Generator MCP Server for Claude, Cursor, VS Code, and other AI agents.
Details
- Author
- thiagotw10
- Downloads
- 117
- Categories
- Developer Tools, Other, Productivity
Jump to
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
Generate Pdf And WordCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
{
"mcpServers": {
"document-generator": {
"command": "npx",
"args": [
"--yes",
"--cache",
"/tmp/.npx-cache",
"document-generator-mcp@latest"
]
}
}
}
gerar_documento_word
Cria um arquivo Microsoft Word (.docx)
gerar_documento_pdf
Cria um arquivo PDF
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"generate pdf and word": {
"document-generator": {
"command": "npx",
"args": [
"--yes",
"--cache",
"/tmp/.npx-cache",
"document-generator-mcp@latest"
]
}
}
}
}
McpServers
{
"document-generator": {
"command": "npx",
"args": [
"--yes",
"--cache",
"/tmp/.npx-cache",
"document-generator-mcp@latest"
]
}
}
- ✅ Generate Word documents (.docx)
- ✅ Generate PDF documents
- ✅Auto-detect JSON blocks(no backticks needed!) 🆕
- ✅ Professional syntax highlighting (VS Code Dark theme)
- ✅ Smart pagination (no content cuts between pages)
- ✅ 100% responsive formatting (respects A4 margins)
- ✅ Markdown support (headings, lists, bold, italic, code blocks)
- ✅ Automatic professional formatting
- ✅ Metadata (author, creation date)
- Linux:~/.config/claude-desktop/claude_desktop_config.json
- macOS:~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:%APPDATA%\Claude\claude_desktop_config.json
{ "mcpServers": { "document-generator": { "command": "npx", "args": ["--yes", "--cache", "/tmp/.npx-cache", "document-generator-mcp@latest"] } } }
- Open VS Code with Amazon Q extension
- Access Amazon Q settings
- Add the MCP server:
{ "mcpServers": { "document-generator": { "command": "npx", "args": ["--yes", "--cache", "/tmp/.npx-cache", "document-generator-mcp@latest"] } } }
Other MCP Agents (Cline, Continue, etc.)
For other agents that support MCP, add the server configuration:
{ "name": "document-generator", "command": "npx", "args": ["--yes", "--cache", "/tmp/.npx-cache", "document-generator-mcp@latest"] }
Check your agent's specific documentation for configuration details.
After configuration, you can use natural commands in any MCP agent:
- "Create a Word document about sales analysis"
- "Generate a PDF report about the project"
- "Make a technical manual in Word and PDF"
- "Create API documentation in Word format"
- "Document this JavaScript code with examples"
- gerar_documento_word: Creates Word documents, PDF, or both
- gerar_documento_pdf: Creates PDF documents only
- # Heading 1→ Heading 1 (20pt)
- ## Heading 2→ Heading 2 (16pt, blue)
- ### Heading 3→ Heading 3 (14pt)
- #### Heading 4→ Heading 4 (12pt)
- - Item→ Bulleted list
- 1. Item→ Numbered list
- text→ Bold text
- text→ Italic text
- text→ Bold + Italic
- `code→ Inline code> quote
- → Blockquote---
- → Horizontal line
javascript async function example() { const data = await fetch('api.com'); return data.json(); }
JSON objects and arrays are automatically detected and formatted as code blocks:
{ "status": "success", "data": { "users": [ {"id": 1, "name": "John"} ] } }
No need for
` backticks! Just paste your JSON and it will be automatically formatted with syntax highlighting.
Syntax Highlighting Colors (VS Code Dark theme):
- 🟣 Keywords:
async,function,const,await, etc. (#C586C0)
- 🟠 Strings:"text",'text'(#CE9178)
- 🟢 Comments:// comment,/ block /(#6A9955)
- 🟢 Numbers:42,3.14,0xFF(#B5CEA8)
- 🟡 Functions:fetch,console.log(#DCDCAA)
- 🔵 Types/Classes:Promise,Array(#4EC9B0)
- Dark background (#1E1E1E) for code blocks
- VS Code Dark theme colors
- Language indicator header
- Automatic line wrapping
- Code blocks never split between pages
- Headings kept with following content
- Automatic page breaks when needed
- Consistent spacing
- All content respects A4 margins
- Automatic line breaks for long text
- Proper width control for all elements
- No content overflow
echo '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}' | npx document-generator-mcp@latest
Expected output: List of available tools (
gerar_documento_word,gerar_documento_pdf)
If you get this error, npm is using an old cached version. Solutions:
{ "mcpServers": { "document-generator": { "command": "npx", "args": ["--yes", "--cache", "/tmp/.npx-cache", "document-generator-mcp@latest"] } } }
npm cache clean --force rm -rf ~/.npm/_npx
- Check if
generated_documents/folder exists
- Verify Node.js version (18+ required)
- Check MCP server logs in your agent
Documents are saved in
./generated_documents/with unique timestamps.
Example:
api_documentation_1759715959772.docx
This MCP works with any agent that implements the Model Context Protocol:
- ✅Claude Desktop- Full native support
- ✅Amazon Q Developer- Support via VS Code
- ✅Cline (VS Code)- VS Code extension
- ✅Continue- Code assistant with MCP
- ✅Other MCP agents- Any compatible implementation
Contributions are welcome! Open issues or pull requests on GitHub.
git clone https://github.com/thiagotw10/document-generator-mcp.git cd document-generator-mcp npm install npm run build
MIT License - see LICENSE file for details.
- NPM Package:https://www.npmjs.com/package/document-generator-mcp
- GitHub Repository:https://github.com/thiagotw10/document-generator-mcp
- MCP Documentation:https://modelcontextprotocol.io
- Amazon Q MCP Guide:https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/qdev-mcp.html
- Node.js:18+ required
- Platforms:Linux, macOS, Windows
- MCP Support:Any agent implementing Model Context Protocol
- ✅Auto-detect JSON blocks- No need for
`` backticks around JSON- ✅ Automatically formats JSON objects and arrays as code blocks
- ✅ Validates JSON syntax before formatting
- ✅ Applies syntax highlighting to detected JSON
- ✅ Works in both Word and PDF documents
- ✅ English documentation for international audience
- ✅ Improved README structure
- ✅ Professional syntax highlighting in PDF (VS Code Dark theme)
- ✅ 100% responsive formatting (respects A4 margins)
- ✅ Smart pagination (no content cuts)
- ✅ Improved spacing after code blocks
- ✅ Visual parity between Word and PDF
Transform natural language into professional documents with AI!
This is a web browser that enables your coding agent, such as Claude Code, to visit websites on your behalf and assist you in identifying bugs or creating UI test cases.
Universal document generation and conversion MCP. Generate PDF/DOCX/XLSX from templates+JSON (invoices, contracts, reports), batch generation, 100+ format conversions.
A server for reading and converting documents between PDF, DOCX, and Markdown formats using marker-pdf and pandoc.
Converts LaTeX source code into professionally formatted PDF documents.
Convert Markdown documents to PDF files with syntax highlighting, custom styling, and optional watermarking.
Parses PDF files from a URL into structured formats like JSON and Markdown.
Create PDFs from Markdown, fill forms, merge, split, rotate, watermark, encrypt, extract text, and add QR codes. 16 tools, TypeScript-native.
Paid remote MCP for ppt-master, structured receipts, usage logs, and audit-ready JSON evidence.
Convert files (DOCX, XLSX, PPTX, images), HTML, and Markdown to pixel-perfect PDFs — npx stdio or hosted Streamable HTTP, free API key in one click.
MCP server for BulkRender — generate bulk DOCX and PDF documents from Claude, Cursor, Windsurf, and any MCP-compatible AI assistant
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.





