TD

thiagotw10/document-generator-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

10 stars 4 forks 品質 67 トレンド 18MIT

MCP (Model Context Protocol) サーバは、Claude Desktop、Amazon Q Developer、Cline、 Continue などの MCP をサポートするあらゆるAI エージェントから、プロフェッショナルな Word (.docx) と PDF ドキュメントを生成します.

概要

MCP(Model Context Protocol)サーバーは、Claude Desktop、Amazon Q Developer、Cline、 ContinueなどのMCPをサポートするあらゆるAIエージェントから専門的なWord(.docx)とPDF文書を生成します。 - ✅ Word文書の生成(.docx) - ✅ PDF文書の生成 - ✅ (バックティクスは必要ありません!) エキスパート - ✅ プロフェッショナルな構文強調(VSコードダークテーマ) - ✅ スマートパジネーション(ページ間でコンテンツカットなし) - ✅ 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。 Amazon Q拡張機能付きVSコードを開きます。 Amazon Qの設定3にアクセスします.

概要(AI 翻訳)

MCP(Model Context Protocol)サーバーは、Claude Desktop、Amazon Q Developer、Cline、 ContinueなどのMCPをサポートするあらゆるAIエージェントから専門的なWord(.docx)とPDF文書を生成します。

OST の特徴

  • ✅ Word文書の生成(.docx)
  • ✅ PDF文書の生成
  • ✅Auto-detect JSONブロック(バックティックなし)
  • ✅ プロフェッショナルな構文強調(VSコードダークテーマ)
  • ✅ スマートペジネーション(ページ間のコンテンツカットなし)
  • ✅ 100%レスポンシブフォーマット(A4マージンを尊重します)
  • ✅ マークダウンサポート(ヘッディング、リスト、太字、イタリック、コードブロック)
  • ✅自動専門のフォーマット
  • ✅メタデータ(著者、作成日)

インストール

##NPX経由(推奨)

##NPM Globalによる

¢ 設定

##Claudeデスクトップ

  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
  1. この設定を追加します。

  2. クロードデスクトップを再起動する

##Amazon Q開発者

  1. アマゾンQの延長が付いているVSコードを開けて下さい
  2. Amazon Qの設定にアクセス
  3. MCP サーバーを追加します

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

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

npx document-generator-mcp@latest

Via NPM Global

npm install -g document-generator-mcp

⚙️ Configuration

Claude Desktop

  1. 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
  2. Add this configuration:

{
  "mcpServers": {
    "document-generator": {
      "command": "npx",
      "args": ["--yes", "--cache", "/tmp/.npx-cache", "document-generator-mcp@latest"]
    }
  }
}
  1. Restart Claude Desktop

Amazon Q Developer

  1. Open VS Code with Amazon Q extension
  2. Access Amazon Q settings
  3. 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 both
  • gerar_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 list
  • 1. Item → Numbered list
  • **text** → Bold text
  • *text* → Italic text
  • ***text*** → Bold + Italic
  • `code` → Inline code
  • > quote → Blockquote
  • --- → Horizontal line

Code Blocks

```javascript
GitHub で README 全文を見る

インストール

npx --yes --cache /tmp/.npx-cache document-generator-mcp@latest
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "document-generator": { "command": "npx", "args": ["--yes", "--cache", "/tmp/.npx-cache", "document-generator-mcp@latest"] } } }