Read
The authoring guide, your account limits and the templates you already have.
- get_authoring_guide
- get_account_limits
- list_templates
- get_template
Documentation
Connect Claude, Cursor or VS Code and create invoice, contract or report templates by describing them in your own words.
Connect an AI assistant to your workspace and describe the document you need. It builds the template block by block, declares the variables, computes the totals and checks the result.
“Make me an invoice with a header, three line items with quantity and price, subtotal, VAT using the workspace constant, a total with the amount in words and a signature footer.”
Everything the assistant creates counts against your plan's quotas (templates, constants, variables and block types) and starts as a draft: nothing is published unless you ask.
It is an MCP server over HTTP (Streamable HTTP transport). Use this address and your token in the Authorization header; it works with any MCP client.
https://documentemplate.com/api/mcpclaude mcp add --transport http documentemplate https://documentemplate.com/api/mcp \
--header "Authorization: Bearer <YOUR_TOKEN>"In Cursor's configuration file (the global one or the project's).
{
"mcpServers": {
"documentemplate": {
"url": "https://documentemplate.com/api/mcp",
"headers": { "Authorization": "Bearer <YOUR_TOKEN>" }
}
}
}In the project file; VS Code will ask whether you trust the server.
{
"servers": {
"documentemplate": {
"type": "http",
"url": "https://documentemplate.com/api/mcp",
"headers": { "Authorization": "Bearer <YOUR_TOKEN>" }
}
}
}Claude Desktop connects remote servers with headers through mcp-remote (needs Node).
{
"mcpServers": {
"documentemplate": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://documentemplate.com/api/mcp", "--header", "Authorization: Bearer <YOUR_TOKEN>"]
}
}
}The assistant discovers them by itself when it connects and starts by reading the authoring guide, which explains how templates and formulas are written.
The authoring guide, your account limits and the templates you already have.
New templates, copies and publishing (a published template can no longer be edited).
Headings, paragraphs, lists, tables, columns, signatures and dividers. They can be changed, moved and removed.
The data that changes from one document to the next, calculations and global values such as VAT.
Language and number and date format, colours, table style and font.
Preview with test values and a review of formulas and missing data.
This token lets you create and change your account's templates and constants, not read your documents or your password, and it can't be used for the API or to sign in. Revoke it here if you share it by mistake or stop using the assistant. Don't paste it into chats or repositories.
The MCP server is a Pro plan feature. Generate your token in the MCP section.