mcpField
D
DocMake

DocMake

Local
docmake.ioProductivity0Updated 9w ago

About DocMake

DocMake's MCP server uses workspace templates to generate DOCX and PDF documents. It is for AI assistants that need to fill templates, inspect fields, or create templates from DOCX files.

Key features

  1. 01List and inspect workspace templates
  2. 02Render templates as PDF or DOCX
  3. 03Create templates from schema JSON
  4. 04Import local DOCX files as templates
  5. 05Expose templates as MCP resources

Use cases

  1. 01Generating a filled invoice from a template
  2. 02Checking required fields in a contract template
  3. 03Turning an existing DOCX into a reusable template

MCP support

The server provides six tools, template resources, and a document-generation prompt to MCP clients. It supports stdio locally and a hosted Streamable HTTP endpoint.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"io-docmake": {
"command": "npx",
"args": [
"-y",
"@docmake/mcp"
],
"env": {
"DOCMAKE_API_KEY": "<DOCMAKE_API_KEY>",
"DOCMAKE_OUTPUT_DIR": "<DOCMAKE_OUTPUT_DIR>",
"DOCMAKE_API_BASE": "<DOCMAKE_API_BASE>"
}
}
}
}
Run commandnpx -y @docmake/mcp
Environment variables to set
DOCMAKE_API_KEYSecretDocMake API key, created at app.docmake.io under Settings > API Keys
DOCMAKE_OUTPUT_DIRDirectory rendered documents are saved to. Defaults to ~/Downloads/DocMake
DOCMAKE_API_BASEAPI base URL, for self-hosted setups. Defaults to https://app.docmake.io/api/v1

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@docmake/mcp0.1.1

Tools

6

Saved tool list · updated 3w ago

ParameterTypeRequiredDescription
pageintegerNoPage number, starting at 1.
searchstringNoFilter templates by name (substring match).
per_pageintegerNoResults per page (max 100, default 20).

Details

From the project README

@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."

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@latest
Cursor / 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

VariableRequiredDefaultPurpose
DOCMAKE_API_KEYyesAPI key from app.docmake.io, Settings > API Keys
DOCMAKE_OUTPUT_DIRno~/Downloads/DocMakeWhere rendered documents are saved
DOCMAKE_API_BASEnohttps://app.docmake.io/api/v1API base URL, override for self-hosted setups

Tools

ToolWhat it does
list_templatesList the templates in your workspace, with search and pagination
get_templateA template's field tree: every variable it expects, ready to map to render data
render_documentRender a template to PDF or DOCX and save the file locally
create_templateCreate a new template from a document schema JSON
import_docxImport a local .docx file as a new template (base64 on the remote server)
get_usagePlan, 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. [email protected] for privacy questions, data export, or deletion.

Links

License

MIT

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.