Setup guide · Assistant
Formfeed in Cline
Cline’s autoApprove list fits Formfeed well: the tools in it only read and cost nothing, so they can run without asking, while those that count units, such as render and convert_to_pdf, still wait for your click.
Create a test key
Sign in to the app, open API keys and create a key in the test environment. Test renders are not metered, which is what you want while an agent is still learning your templates. Switch to a live key when it goes to production.
Add the Formfeed server
In Cline, open MCP Servers → Configure → Configure MCP Servers. That opens
cline_mcp_settings.json.{ "mcpServers": { "formfeed": { "command": "npx", "args": ["-y", "@formfeed/mcp"], "env": { "FORMFEED_API_KEY": "ff_test_..." }, "disabled": false, "autoApprove": ["list_templates", "get_template_schema", "validate_template", "check_invoice", "get_render", "get_workspace"] } } }Check the connection
The MCP Servers view shows
formfeedas connected, with the eighteen tools underneath.
Try it
- Invoice
“Render invoice 2026-0042 for Olvarest GmbH: 8 hours of consulting at €120 and 20 hours of implementation at €110. Use the German invoice template.”
- Validation
“Check whether orders/2026-0042.json fits the invoice-de template before you render anything.”
- Ad-hoc HTML
“Turn these meeting notes into a one-page PDF. No template, plain HTML is fine.”
Tips
- Roo Code, which started as a Cline fork, takes the same entry in its
mcp_settings.jsonor a project’s.roo/mcp.json, withalwaysAllowin place ofautoApprove.
The eighteen tools
- list_templates
- Templates of the workspace with slug, kind (PDF, image, Word or PowerPoint), engine and published version; filter by kind, engine, tag or search text.
- free
- get_template_schema
- The JSON Schema of the data a template expects, with the sample data it was designed with. A template without a stored schema gets one inferred from its sample data: a guide, not a contract.
- free
- validate_template
- Checks a template with the data without rendering: syntax, variables missing from the data, errors that only happen with this data, and the data against the template’s stored schema. Ad-hoc HTML is checked offline.
- free
- check_invoice
- Checks the
_invoiceblock of an e-invoice offline, as the API does before it renders one: the fields EN 16931 asks for, the totals to the cent, VAT categories and code lists, and the rules of France. Names every field and rule it breaks. - free
- validate_einvoice
- Says which rules an e-invoice passed, by which validator and release: Factur-X and ZUGFeRD by Mustang, XRechnung in CII and UBL by the KoSIT validator, each check with its own result. A render of the workspace is answered from its stored report; an XML Formfeed did not make, up to 4 MB, counts one of the day’s validations (Starter plan and above). The local server also reads a file by its path.
- free for a render; an XML counts per day
- render
- Renders a template or raw HTML to PDF, PNG, JPG or WebP (Word and PowerPoint templates also to DOCX or PPTX) and returns the download URL, page count and units. With
einvoice, the PDF becomes a ZUGFeRD / Factur-X e-invoice with the validator’s report, for one unit more (live from the Starter plan). - 1 unit, PDFs per 5 pages
- markdown_to_pdf
- Turns a Markdown document, such as a report the agent wrote, into a PDF without a template: tables, task lists, footnotes, a title from the front matter or the first heading, bookmarks from the headings, and on request a PDF/UA-1 check. Raw HTML in the text is shown as text. The local server also reads a file by its path, with the pictures beside it. Every plan.
- like a PDF
- convert_to_pdf
- Converts a Word, Excel, PowerPoint, OpenDocument, RTF or HTML document of up to 20 MB, or the render of a Word or PowerPoint template, to PDF and returns the download URL; the document is not kept. The local server also reads a file by its path. Starter plan and above.
- like a PDF
- get_pdf_info
- Reads a PDF without changing it: the page count and sizes, whether it is password-protected, its document properties and its form, with every field’s full name, type, value and options, the names
fill_pdf_formtakes. A render, a library file or a PDF the agent hands over; the local server also reads a file by its path. - free
- fill_pdf_form
- Fills a PDF form by its field names and keeps it fillable, or draws the values into the pages. Says how many fields it filled, which it left out and which hold a calculation no viewer ran; the values are never stored. Starter plan and above.
- 0.5 units
- redact_pdf
- Removes text and areas from the PDF itself, not just from view: rectangles of the pages, and every place a name or an IBAN stands, whatever its spacing. The result is read again, and a text that is still there means no file. Starter plan and above.
- 0.5 units
- split_pdf
- Cuts a PDF into parts, every N pages or by page ranges, and returns them as one ZIP. Starter plan and above.
- 0.5 units
- compress_pdf
- Makes a PDF smaller; one that cannot be made smaller comes back as it was. Starter plan and above.
- 0.5 units
- pdf_to_image
- Draws pages of a PDF as PNG or JPEG pictures; a single page comes back as a picture the agent can look at. Starter plan and above.
- 1 unit per picture
- get_render
- Status, download URL and error of a render: for renders the agent queued with
wait: false, and for a fresh link once the old one has expired. - free
- get_workspace
- The workspace and organisation the server works in, the plan, the environment and the units of the period: how many renders are left.
- free
- get_template_source
- What a template is made of: markup, CSS, page settings, sample data, translations and partials, with the checksum a change builds on.
- free
- save_template
- Saves a new template or a change to one as a draft, checks it and answers with the page where you review and publish it. Renders keep the published version. Needs your permission for the agent, or an API key with
template:write. - free
Configuration reference: Cline — Cline (checked 17 October 2026)