Skip to main content
Glama

docx-mcp

MCP server pro generování profesionálně formátovaných Word dokumentů (.docx). Podporuje firemní šablony (barvy, fonty, logo), záhlaví/zápatí a převod Markdownu.

Instalace

cd docx-mcp
npm install

Related MCP server: doc-mcp-server

Přidání do Cursoru

Soubor ~/.cursor/mcp.json:

{
  "mcpServers": {
    "docx": {
      "command": "node",
      "args": ["/absolutní/cesta/k/docx-mcp/index.js"]
    }
  }
}

Přidání do Claude Code

Soubor ~/.claude/mcp.json:

{
  "mcpServers": {
    "docx": {
      "command": "node",
      "args": ["/absolutní/cesta/k/docx-mcp/index.js"]
    }
  }
}

Nástroje

create_document

Vytvoří Word dokument z pole bloků.

{
  "title": "Název dokumentu",
  "subtitle": "Podnadpis",
  "author": "Vaše jméno",
  "output_path": "/cesta/soubor.docx",
  "theme_path": "~/.docx-mcp/themes/firma.json",
  "theme": {
    "primaryColor": "CC0000",
    "font": "Calibri",
    "headerText": "Firma s.r.o.",
    "footerText": "Důvěrné",
    "logoPath": "/cesta/k/logo.png"
  },
  "blocks": [
    { "type": "h1", "text": "Nadpis" },
    { "type": "p", "text": "Odstavec textu." },
    { "type": "bullet", "items": ["Bod 1", "Bod 2"] },
    { "type": "table", "headers": ["A", "B"], "rows": [["1", "2"]] },
    { "type": "callout", "title": "Tip", "text": "Text tipu.", "style": "info" }
  ]
}

convert_markdown

Převede Markdown text nebo .md soubor na Word dokument.

{
  "markdown": "# Nadpis\n\nText odstavce.\n\n- bod 1\n- bod 2",
  "output_path": "/cesta/soubor.docx",
  "theme_path": "~/.docx-mcp/themes/firma.json"
}

Nebo ze souboru:

{
  "markdown_path": "/cesta/k/dokument.md",
  "output_path": "/cesta/soubor.docx"
}

save_theme

Uloží šablonu pro opakované použití.

{
  "name": "firma",
  "theme": {
    "primaryColor": "CC0000",
    "accentColor": "FF6600",
    "font": "Calibri",
    "tableHeaderBg": "CC0000",
    "headerText": "Firma s.r.o.",
    "footerText": "Důvěrné",
    "logoPath": "/cesta/k/logo.png"
  }
}

Uloží se do ~/.docx-mcp/themes/firma.json.

list_themes

Zobrazí seznam uložených šablon.

Šablona (theme) - všechny vlastnosti

Vlastnost

Výchozí

Popis

primaryColor

1F3864

Barva H1 a titulku

accentColor

2E75B6

Barva H2 a akcentů

h3Color

404040

Barva H3

textColor

000000

Barva textu

font

Arial

Název fontu

fontSize

22

Velikost písma (half-points, 22=11pt)

tableHeaderBg

1F3864

Pozadí záhlaví tabulek

tableHeaderText

FFFFFF

Text záhlaví tabulek

tableStripe

F5F9FF

Barva sudých řádků

headerText

Text v záhlaví stránky

footerText

Text v zápatí stránky

logoPath

Cesta k logu (PNG/JPG)

Typy bloků

Typ

Popis

h1 / h2 / h3

Nadpisy 1-3

p

Odstavec (bold, italic, color, align)

bullet

Odrážkový seznam (víceúrovňový)

numbered

Číslovaný seznam (víceúrovňový)

table

Tabulka (headers + rows)

callout

Barevný rámeček (info/warning/success/danger)

spacer

Prázdný řádek

pagebreak

Nová stránka

F
license - not found
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    Not graded
    quality
    D
    maintenance
    A FastMCP-powered microserver that allows users to programmatically generate well-formatted .docx documents with consistent styling, including features like titles, paragraphs, headings, citations, and footers.
  • A
    license
    Not graded
    quality
    C
    maintenance
    A powerful Word document editing MCP server that provides complete document manipulation capabilities, including creation, editing, formatting, tables, images, and advanced features like footnotes and interface document generation.
    3
    MIT
  • A
    license
    C
    quality
    D
    maintenance
    A unified MCP server for document processing that enables creating, editing, and converting Word documents (DOCX), PDFs, Markdown, and images, with support for templates, formatting, and batch operations.
    100
    MIT

View all related MCP servers

Related MCP Connectors

  • Use your own Word templates to convert Markdown → DOCX/PDF/HTML from any MCP-compatible AI.

  • MCP server for the PDFGate API. Generate PDFs, manage documents and handle e-signatures.

  • PandaDoc MCP server for creating, sending, signing, and tracking PandaDoc documents.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Sensio-cz/mcp-docx'

If you have feedback or need assistance with the MCP directory API, please join our Discord server