
thiagotw10/document-generator-mcp
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
Сервер MCP (Model Context Protocol) для создания профессиональных документов Word (.docx) и PDF от любого агента ИИ, который поддерживает MCP, включая Claude Desktop, Amazon Q Developer, Cline, Continue и...
Обзор
Сервер MCP (Model Context Protocol) для создания профессиональных документов Word (.docx) и PDF от любого агента ИИ, который поддерживает MCP, включая Claude Desktop, Amazon Q Developer, Cline, Continue и другие. Создайте документы Word (.docx) - Создайте PDF-документы - ✅ (не нужны затычки!) Профессиональное выделение синтаксиса (тема VS Code Dark) - Умная пагинация (без сокращений контента между страницами) - 100% отзывчивое форматирование (соответствует марже A4) - Поддержка разметки (заголовки, списки, жирные, курсивные, кодовые блоки) - Автоматическое профессиональное форматирование - Метаданные (автор, дата создания) 1.Найти файл конфигурации: - ~/.config/claude-desktop/claude desktop config.json - ~/Library/Application Support/Claude/claude desktop config.json - %APPDATA%\Claude\claude desktop config.json 1.Откройте VS-код с расширением Amazon Q 2. Доступ к настройкам Amazon Q 3.
Обзор (машинный перевод)
Сервер MCP (Model Context Protocol) для создания профессиональных документов Word (.docx) и PDF от любого агента ИИ, который поддерживает MCP, включая Claude Desktop, Amazon Q Developer, Cline, Continue и другие.
Feature Особенности
Генерировать документы Word (.docx) Создание PDF-документов Авто-детектирование блоков JSON (не нужны затычки!) Профессиональное выделение синтаксиса (тема VS Code Dark) Умная пагинация (нет сокращений контента между страницами) 100% отзывчивое форматирование (уважение маржи A4) Поддержка Markdown (заголовки, списки, жирные, курсивные, кодовые блоки) Автоматическое профессиональное форматирование Метаданные (автор, дата создания)
###Установка
Via NPX (рекомендуется)
###С помощью NPM Global
️ Конфигурация
###Клод Десктоп
1.Найти файл конфигурации:
- **Linux: **
~/.config/claude-desktop/claude_desktop_config.json - macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - **Windows: **
%APPDATA%\Claude\claude_desktop_config.json
- Добавить эту конфигурацию:
3 Перезагрузка Claude Desktop
Amazon Q Разработчик
1.Откройте VS-код с расширением Amazon Q 2 Доступ к настройкам Amazon Q 3. Добавить MCP-сервер:
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
Document Generator MCP
An MCP (Model Context Protocol) server to generate professional Word (.docx) and PDF documents from any AI agent that supports MCP, including Claude Desktop, Amazon Q Developer, Cline, Continue, and others.
🚀 Features
- ✅ 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)
📦 Installation
Via NPX (Recommended)
npx document-generator-mcp@latest
Via NPM Global
npm install -g document-generator-mcp
⚙️ Configuration
Claude Desktop
-
Locate the configuration file:
- Linux:
~/.config/claude-desktop/claude_desktop_config.json - macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
- Linux:
-
Add this configuration:
{
"mcpServers": {
"document-generator": {
"command": "npx",
"args": ["--yes", "--cache", "/tmp/.npx-cache", "document-generator-mcp@latest"]
}
}
}
- Restart Claude Desktop
Amazon Q Developer
- 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.
🎯 How to Use
After configuration, you can use natural commands in any MCP agent:
Example Prompts
- “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”
Available Tools
gerar_documento_word: Creates Word documents, PDF, or bothgerar_documento_pdf: Creates PDF documents only
📝 Supported Formatting
The MCP automatically processes:
Markdown
# Heading 1→ Heading 1 (20pt)## Heading 2→ Heading 2 (16pt, blue)### Heading 3→ Heading 3 (14pt)#### Heading 4→ Heading 4 (12pt)- Item→ Bulleted list1. Item→ Numbered list**text**→ Bold text*text*→ Italic text***text***→ Bold + Italic`code`→ Inline code> quote→ Blockquote---→ Horizontal line
Code Blocks
```javascript
Установка
npx --yes --cache /tmp/.npx-cache document-generator-mcp@latestКонфигурация
{
"mcpServers": {
"document-generator": {
"command": "npx",
"args": ["--yes", "--cache", "/tmp/.npx-cache", "document-generator-mcp@latest"]
}
}
}