Formfeed MCP is the Model Context Protocol server provided by Formfeed, used to let AI agents such as Claude and Cursor directly call Formfeed's template rendering and document processing capabilities. The package is located in the packages/mcp directory of the formfeed-dev/formfeed repository.
Purpose and main capabilities The server provides eighteen tools to agents, covering the following areas:
- Templates: list_templates, get_template_schema, validate_template (free; can use temporary HTML to validate offline whether data conforms to the template schema), get_template_source, save_template (create a new template or save changes as a draft; requires template:write permission or permission from a logged-in user; ultimately published by a person in Formfeed).
- Rendering: render (when used with einvoice, the generated PDF is that e-invoice; images are returned as images the agent can view).
- E-invoices: check_invoice (free and offline; validates whether the _invoice block of a ZUGFeRD / Factur-X e-invoice conforms to EN 16931), validate_einvoice (view which rules the e-invoice XML passed and which validator determined it; stored reports produced by rendering are free, while XML not generated by Formfeed is counted by day).
- Document conversion: markdown_to_pdf (available on all plans; in stdio mode, outputs the file and the images next to it), convert_to_pdf (convert Word, Excel, PowerPoint, and OpenDocument to PDF).
- PDF processing: get_pdf_info (page count, properties, and form fields; free on all plans); from the Starter plan onward, provides fill_pdf_form (fill by field name), redact_pdf (remove text and areas and validate), split_pdf, compress_pdf, pdf_to_image (pages are returned as images the agent can view).
- Other: get_render, get_workspace (thecurrent workspace and remaining units).
Usage
- stdio mode (Claude Desktop, Cursor, Claude Code): test keys can render for free (Free plan with test markings); production keys consume units. The server can also start when FORMFEED_API_KEY is not set, but only provides offline checks: validate_template with html and engine, and check_invoice. FORMFEED_REGION=us or FORMFEED_BASE_URL can switch the API host.
- Hosted mode (Streamable HTTP):https://mcp.formfeed.dev/mcp accepts Authorization: Bearer ff_…; when no key is sent, you can log in with a Formfeed account (OAuth; the client opens a browser, and the user selects the workspace where the agent works).https://mcp.formfeed.dev/mcp/<workspace id> can pin another workspace for logged-in clients.
- Self-hosting: formfeed-mcp --http --port 8790 provides the same endpoint; add --auth-server <issuer> to connect OAuth login with your own Supabase Auth.
- Claude Code can install the hosted server and two skills for writing and checking templates via the formfeed-dev/skills plugin; see https://docs.formfeed.dev/devkit/coding-agents。
Use cases Suitable for development and document automation scenarios that need to generate PDFs/images in AI agent conversations, validate template data, process e-invoices, convert office documents, or perform operations such as filling, redacting, splitting, compressing, and converting PDFs to images.
Limitations Some tools (such as fill_pdf_form, redact_pdf, split_pdf, compress_pdf, pdf_to_image) require a Starter or higher plan; save_template requires the corresponding permissions; rendering with a production key consumes units; when no key is configured, only offline validation is available. Specific pricing and plan details are not currently provided.
Documentation:https://docs.formfeed.dev/integrations/mcp