# Documentemplate > Documentemplate turns templates into documents. You design a template once (blocks, variables, formulas, global constants) and generate each document as a PDF in seconds, one by one or in bulk from a spreadsheet. It has a REST API for bulk generation and an MCP server to create templates with an AI assistant. Both need a token generated by a person in the app; bulk generation and the MCP server are part of the Pro plan. ## For developers and AI assistants - [API documentation (Markdown)](https://documentemplate.com/docs/api.md): bulk document generation. Send a spreadsheet and a template id, wait for the queued batch (`GET /v1/batch/{id}?wait=25`), download the ZIP. Authentication, quotas, errors, versioning and a full example. - [OpenAPI 3.1 specification](https://documentemplate.com/openapi.json): the same API in a machine-readable form. - [MCP server documentation (Markdown)](https://documentemplate.com/docs/mcp.md): how to connect Claude, Cursor or VS Code (`https://documentemplate.com/api/mcp`, Streamable HTTP, bearer token), the authoring model (blocks, variables, formulas, conditions) and every tool. ## Spanish - [Documentación de la API](https://documentemplate.com/docs/api.es.md) - [Documentación del servidor MCP](https://documentemplate.com/docs/mcp.es.md) ## Web pages - [API docs](https://documentemplate.com/docs/api) · [MCP docs](https://documentemplate.com/docs/mcp) - [Home](https://documentemplate.com/): what the product does, with live examples. - [Pricing](https://documentemplate.com/pricing): Free and Pro plans. ## Optional - [Legal notice, terms, privacy and cookies](https://documentemplate.com/legal/terms)