SuperAPI AI Directory

reportflow-mcp

Generate PDF reports such as invoices, contracts and statements from ReportFlow templates, singly or in ZIP batches.

Open website

About this tool

Re:port Flow MCP is an MCP (Model Context Protocol) server whose official display name is Re:port Flow MCP, whose package and implementation identifier is reportflow-mcp, and whose former names include ReportFlow MCP Server and ReportFlow. Its purpose is to turn templates you design in Re:port Flow (invoices, contracts, statements, or anything else you design) into PDF reports, and it can be called directly from Claude or any other AI agent compatible with MCP.

In terms of use, it is aimed at scenarios that require generating PDF reports directly from an AI agent, supporting the generation of documents such as invoices, contracts, and statements, either individually or in batches.

Its main capabilities include:

  • Generating PDFs from natural-language requests, for example "Create an invoice for Acme Corp for a total of 300 USD."
  • Exposing your Re:port Flow designs and their parameter schemas directly to the AI as MCP Resources.
  • Generating multiple PDFs in a batch and downloading them as a single ZIP.
  • Saving output to the user's current workspace folder (supported in Claude Desktop / Claude Code / Cursor / VS Code).
  • For agents that need to follow a process (not just read the protocol), skills/re-port-flow/SKILL.md can be used. Copy that directory into Claude Code / Codex's .agents/skills or Cursor's project skills folder. PDF generation always points to https://mcp.re-port-flow.com/mcp。

In terms of usage, Re:port Flow MCP has two ways to run:

  1. Remote server (claude.ai / Web client) — Streamable HTTP: In Claude (claude.ai), go to Settings → Connectors → Add custom connector and paste the above URL. Authentication is handled in-app via OAuth, with no local installation required.
  2. Local server (Claude Desktop / Claude Code / Cursor) — stdio via npx: Add the corresponding configuration to the configuration file (.mcp.json, claude_desktop_config.json, ~/.cursor/mcp.json, etc.). The official description states that this is the entire setup, with no environment variables, API keys, or secret management required.

Runtime requirements: The remote method requires an MCP client that supports custom HTTP connectors (for example, claude.ai), with no local installation required; the local (stdio) method requires Node.js 22+ (automatically obtained by npx) and a browser available at first login. Both methods require a Re:port Flow account.

Protocol support: Both transport methods (stdio / Streamable HTTP) provide two generations of the MCP protocol through a single endpoint: 2026-07-28 (current) is a stateless per-request protocol, discovered by modern clients through server/discover; the 2025 versions (2025-11-25, 2025-06-18, 2025-03-26, 2024-11-05, 2024-10-07) retain the classic initialize handshake for compatibility with existing clients (Claude Desktop, claude.ai custom connectors, Cursor, ChatGPT, n8n, etc.). Version selection is automatic on both transport methods, with no configuration required, and existing connections remain unchanged.

Authentication: In the remote (claude.ai) method, after adding the connector, Claude performs the OAuth flow: log in → select a workspace → consent. The token is held by the client. In the local method, after reloading the MCP client, say to the AI "Authenticate with Re:port Flow", a browser window will open: log in → select a workspace → consent. The token is stored in the operating system keychain (macOS Keychain / Windows Credential Manager / Linux libsecret), with a chmod-0600 file fallback, and is refreshed automatically.

Typical usage examples:

  1. Generate a single PDF (list → schema → generate): for example, "Using the invoice template, create a PDF for Acme Corp totalling $330.". The AI will use list_templates to list designs, use get_design_parameters to retrieve the parameter schema, fill in the values, and then call generate_pdf_sync. The remote method returns a download URL (fileUrl); the local method also saves the file and returns its absolute path.
  2. Generate multiple PDFs in a batch: for example, "From the statement template, generate one PDF per customer (Acme $100, Globex $250, Initech $80) and give them to me together.". In the local (stdio) method, generate_pdfs_sync writes a single ZIP to the workspace; in the remote method, generate_pdfs_async runs the batch and returns a request ID plus a download URL.
  3. Generate asynchronously and then download (local): the AI calls generate_pdf_async (which returns a requestId immediately), then calls download_file to save the completed PDF. The batch equivalent is generate_pdfs_async → download_zip. These download tools are stdio-only; on the remote server, the sync/async tools already return fileUrl.
  4. Start from a blank template (gallery → copy → generate): when list_templates is empty, the AI uses search_gallery_templates to search the public template gallery, displays the candidates, and uses copy_gallery_template to copy your selectedtemplate into your workspace, then continues the normal flow (get_design_parameters → generate_pdf_sync). The copy always lands in the workspace you selected on the OAuth consent screen; the AI cannot target any other workspace.

File save location (local mode) is resolved in the following order: explicit user instruction (for example, "save to my Desktop"), the root directory of the currently open workspace (Claude Code / Cursor / VS Code), and the operating system temporary directory as a fallback.

In addition, if you write your own agent (such as Hugging Face Agents, a custom tool loop, or raw HTTP), the hosted endpoint can be used directly: agents.md provides agent-oriented guidance (transport details, the ten HTTP tools, the OAuth flow, model selection, and the rules agents must follow: never invent business data; copy_gallery_template is not idempotent; passthrough values end up in the PDF metadata); examples/ provides runnable Python, JavaScript, and curl clients, as well as a script that completes the OAuth flow and prints the access token. initialize and tools/list work without credentials, so the toolset can be discovered before authentication is set up; every tools/call requires a Bearer token. The Hugging Face SDK itself does not have an MCP OAuth flow, so first use examples/oauth/get-token.sh to obtain a token once, and inject it via the Authorization header.

The material also mentions Tools (called by the AI), Resources (which can be attached as AI context), and Prompts (slash command recipe cards): /generate_pdf, /generate_pdfs, /reportflow_help — after passing in parameters, the AI will follow the prepared workflow.

Regarding privacy and security: Re:port Flow MCP is a lightweight client that forwards your requests to your own Re:port Flow account and returns the generated PDF; it does not sell or share your data with third parties. Authentication tokens are stored locally (operating system keychain, or chmod-0600 file backup), sent only to Re:port Flow's own service—as a Bearer credential during OAuth login and on every authenticated API call (listing templates, generating or downloading PDFs). The token is never shared with any third party. The full privacy policy is at lp.re-port-flow.com. The hosted endpoint validates the Host header (DNS rebinding protection) and, in accordance with the security requirements of the MCP Streamable HTTP specification, returns 403 Forbidden for structurally invalid Origin headers. Authentication is limited to Bearer tokens—no cookies are used, and CORS never allows credentials. The full policy and its threat model are documented in docs/security.md (Japanese).

Channels for getting help, reporting bugs, or catalog review issues: Re:port Flow (Privacy and Support)https://lp.re-port-flow.com;GitHub Issues https://github.com/re-port-flow/reportflow-mcp/issues。许可证为 MIT (see LICENSE).

Other links: Re:port Flow official website https://re-port-flow.com;npm https://www.npmjs.com/package/reportflow-mcp;Hugging Face https://huggingface.co/reportflow;智能体指南 agents.md; examples examples/. This repository is the public release mirror of monepla/report-mcp.