@docmake/mcp
OfficialClick on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@docmake/mcp Generate the invoice for Acme Corp: 10 hours of consulting at 100 EUR, due in 14 days."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@docmake/mcp
Official Model Context Protocol server for DocMake, the AI-native document generation platform. It lets AI assistants like Claude generate DOCX and PDF documents from your DocMake templates: no glue code, just a conversation.
"Generate the invoice for Acme Corp: 10 hours of consulting at 100 EUR, due in 14 days."
The assistant picks your invoice template, fills in the data, renders a PDF through the DocMake API, and hands you the file path.
Example prompts
"Generate the invoice for Acme Corp: 10 hours of consulting at 100 EUR, due in 14 days."
"Which fields does my employment contract template need? Then fill it in for Maria Ionescu, starting 1 October, and save it as a DOCX."
"Import ~/Documents/quarterly-report.docx as a DocMake template, then show me the variables it found."
Related MCP server: Word Document MCP Server
Setup
You need a DocMake API key. Create one at app.docmake.io under Settings > API Keys (free plan works).
Claude Desktop
Add to claude_desktop_config.json (Settings > Developer > Edit Config):
{
"mcpServers": {
"docmake": {
"command": "npx",
"args": ["-y", "@docmake/mcp@latest"],
"env": {
"DOCMAKE_API_KEY": "dm_your_key_here"
}
}
}
}Claude Code
claude mcp add docmake --env DOCMAKE_API_KEY=dm_your_key_here -- npx -y @docmake/mcp@latestCursor / other MCP clients
Any client that supports stdio MCP servers works with the same command: npx -y @docmake/mcp@latest with DOCMAKE_API_KEY in the environment.
Remote server (no install)
DocMake also hosts the same six tools over streamable HTTP, so a client that speaks remote MCP needs nothing installed:
{
"mcpServers": {
"docmake": {
"url": "https://app.docmake.io/mcp/v1",
"headers": { "Authorization": "Bearer dm_your_key_here" }
}
}
}Two differences from this package. render_document returns a short-lived
download link instead of writing the file to your machine, and import_docx
takes the document as base64 rather than a path, because the server runs
remotely and cannot read your disk. Everything else, including strict
rendering, behaves the same.
Configuration
Variable | Required | Default | Purpose |
| yes | API key from app.docmake.io, Settings > API Keys | |
| no |
| Where rendered documents are saved |
| no |
| API base URL, override for self-hosted setups |
Tools
Tool | What it does |
| List the templates in your workspace, with search and pagination |
| A template's field tree: every variable it expects, ready to map to render data |
| Render a template to PDF or DOCX and save the file locally |
| Create a new template from a document schema JSON |
| Import a local .docx file as a new template (base64 on the remote server) |
| Plan, render quota, and rate limits for the current billing period |
The server also exposes your templates as MCP resources and ships a generate-document prompt for a guided render flow.
How rendering works
render_document is strict by default: if any template variable has no value in data, the render fails and returns the list of missing keys, so the assistant can ask you for the values instead of producing an incomplete document. Pass strict: false to render with each variable's fallback text instead.
Variables can declare a default value in the template editor. A defaulted variable never counts as missing: omit it from data and the default is rendered, even in strict mode. get_template shows each field's default (and example, a preview-only sample that is never rendered).
Rendered files are saved to DOCMAKE_OUTPUT_DIR and never overwrite an existing file.
Privacy Policy
Full policy: https://docmake.io/privacy
What this server collects. Nothing of its own. It has no telemetry and no
analytics, and it never reads your chat history, memory, or files other than a
.docx you explicitly pass to import_docx.
What it sends, and where. Every tool call is a request to the DocMake API at
https://app.docmake.io/api/v1 over HTTPS, authenticated with your API key.
Those requests carry only what the call needs: a template id, the data you asked
to render, or the .docx you asked to import. DocMake processes that data to
render your document.
Storage and retention. Your templates and account data live in your DocMake
workspace and are retained until you delete them or close the account. Rendered
documents are written to your own machine, under DOCMAKE_OUTPUT_DIR
(~/Downloads/DocMake by default), and are never uploaded anywhere else. Your
API key stays on your machine: the desktop extension keeps it in your operating
system keychain, and a manual setup keeps it in your MCP client's config file.
Third-party sharing. Render data is not sold, and it is not shared with third parties beyond the subprocessors DocMake needs to run the service, listed in the full policy.
Contact. support@docmake.io for privacy questions, data export, or deletion.
Links
DocMake, template gallery and product
Support: support@docmake.io
License
MIT
Available Tools
6 toolscreate_templateCreate a templateA
Create a new DocMake template from a document schema JSON. The schema is DocMake's document format: a rich-text tree with typed variable nodes, conditionals, and loops. Learn the format by calling get_template with include_schema:true on an existing template and adapting it. After creating, render a test document to verify the layout.
Inputs: name (required), schema (required).
get_templateGet template fieldsARead-onlyIdempotent
Get a template's metadata and its field tree: every variable the template expects, as dotted keys matching the shape of the data payload for render_document (list fields carry their per-item subfields). Call this before rendering so you know exactly which data to supply. Set include_schema:true only if you need the raw document schema JSON, for example as a starting point for create_template; it can be large.
Inputs: template_id (required), include_schema.
get_usageGet usage and limitsARead-onlyIdempotent
Get the workspace's plan, renders used vs. limit for the current billing period, template count, and API rate limits. Check this if renders start failing with quota errors.
Inputs: no named parameters.
import_docxImport a DOCX as templateA
Import a local .docx file as a new DocMake template. The document's structure (headings, paragraphs, tables, styling) is converted into an editable template; afterwards you can add variables in the visual editor, or inspect the result with get_template. Max 10 MB.
Inputs: file_path (required), name.
list_templatesList templatesARead-onlyIdempotent
List the DocMake templates in the connected workspace. Returns each template's id, name, variable count, and timestamps. Use this first when you need a template_id for get_template or render_document. Supports search by name and pagination.
Inputs: page, search, per_page.
render_documentRender a documentA
Render a DocMake template to PDF or DOCX with the given data and save the file locally. Returns the absolute path of the saved file. data keys must match the template's fields; call get_template first if you are not sure. Renders are strict by default: if any variable has no value the render fails and lists the missing keys so you can fill them in. Pass strict:false to render anyway using each variable's fallback text.
Inputs: data (required), template_id (required), format, locale, +3 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool maps to a distinct operation: listing, fetching metadata, rendering, creating from schema, importing from docx, and checking usage. The two creation tools are clearly differentiated by input format and described use cases.
All tool names follow a consistent verb_noun snake_case pattern such as list_templates, get_template, and render_document. Minor differences in noun choice are understandable and do not create confusion.
Six tools is well-scoped for a template management and rendering server. Each tool serves a distinct, necessary purpose and none feels redundant or superficial.
The server covers list, get, create, import, and render, which handles the core workflow, but it lacks update_template and delete_template operations. This is a notable gap for template lifecycle management and limits autonomous agent workflows.
Related MCP Connectors
Convert, create and edit Word, PowerPoint, Excel and PDF documents from any AI agent.
Create documents and reusable templates, request signatures, and track approvals — for AI agents.
Create and manage documents, spreadsheets, and presentations from your AI assistant.
Use your own Word templates to convert Markdown → DOCX/PDF/HTML from any MCP-compatible AI.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables Word document generation from templates using Jinja2 syntax and parsing of DOCX, PDF, and Excel files to extract structured content, metadata, and text.1MIT
- AlicenseBqualityDmaintenanceEnables AI assistants to create and manipulate Microsoft Word documents programmatically with support for rich text formatting, tables, lists, headings, and find-and-replace operations.1016 npmMIT
- AlicenseNot gradedqualityFmaintenanceEnables AI assistants to create, edit, and extract data from Microsoft Word documents programmatically, supporting document creation, content editing, table manipulation, parameter extraction, and template generation.1MIT

documenteroofficial
AlicenseNot gradedqualityDmaintenanceEnables AI agents to list Documentero templates, inspect their field schemas, and generate Word/PDF/Excel documents via the Documentero API.34 npm1MIT