Re:portFlow
OfficialRe:portFlow MCP is a server that generates PDF reports (invoices, contracts, receipts, etc.) from ReportFlow templates via AI agents like Claude, Cursor, or VS Code.
Authentication
Authenticate with ReportFlow via OAuth 2.0 (browser-based login with Authorization Code + PKCE); supports forced re-authentication to reset tokens.
Template Discovery
List all design templates in your workspace (IDs, names, versions, thumbnails).
Retrieve the parameter schema for a specific template to understand required inputs before generating.
PDF Generation
Generate a single PDF synchronously or asynchronously using a design ID and parameters.
Bulk-generate multiple PDFs in one call (sync or async), returned as a ZIP archive.
Use AI sampling to translate natural-language descriptions into structured parameters for generation.
File Download
Download async-generated PDFs or batch ZIP archives to a local path using a
requestId.In remote mode, generation returns download URLs; in stdio mode, files are saved directly to local workspace.
Sharing & Access Control
Generated PDFs can be shared as workspace-only, invite-only, or public URL (optionally passcode-protected).
Execution Modes
Remote HTTP endpoint (for Claude.ai web, etc.) or local stdio (for Claude Desktop, Cursor, VS Code, etc.).
reportflow-mcp
An MCP (Model Context Protocol) server that turns your ReportFlow templates into PDF reports — invoices, contracts, statements, anything you've designed — straight from Claude, Cursor, VS Code, or any other MCP-compatible AI agent.
Hosted remote endpoint:
https://mcp.re-port-flow.com/mcp— works from Claude.ai (web) with no npm and no Node.jsnpm package:
reportflow-mcp— local stdio fallback for Claude Desktop / Claude Code / Cursor / VS CodeMCP Registry:
io.github.re-port-flow/reportflow-mcp
Why ReportFlow MCP
Several MCP servers exist for business-document generation. ReportFlow MCP differentiates itself on three axes.
Remote-ready, setup-free — The hosted endpoint at
https://mcp.re-port-flow.com/mcplets you connect from Claude.ai (web) without installing npm or Node.js. Unlike other Japanese 帳票 (chohyo) MCP servers that ship as stdio-only local processes, business users without a dev environment can start using it on day one.No-code template design + template marketplace — Templates are designed in a browser-based GUI editor (Konva-based) with no code. A free template gallery covers invoices, quotes, receipts, delivery slips, reports and more, so AI agents can invoke ready-made templates from day one. You don't need to author JSON schemas to add templates.
OAuth 2.0 + Dynamic Client Registration — Authentication is OAuth 2.0 (Authorization Code + PKCE) with Dynamic Client Registration — no API key is ever handed to the AI client. The security posture matches Claude.ai's first-party Connectors.
Related MCP server: PDF Tools AI MCP
What it does
Generate PDFs from natural-language requests like "create an invoice for Acme Corp totalling $330"
Expose your ReportFlow designs and their parameter schemas as MCP Resources so the AI can attach them as context
Bulk-generate many PDFs and download them as a single ZIP
Save outputs to your AI client's workspace folder (stdio mode only — remote mode returns download URLs)
Setup
There are two ways to connect. Remote (HTTP) is recommended because it works from Claude.ai (web) and has no install step. Use local (stdio) if you specifically want generated PDFs saved into your local workspace folder, or if you need to run without a hosted endpoint.
Remote (HTTP) — recommended
No npm, no Node.js. The MCP client opens a browser for OAuth on first connect and tokens are managed server-side.
Claude Desktop / Claude Code / Cursor
Add to .mcp.json / claude_desktop_config.json / ~/.cursor/mcp.json:
{
"mcpServers": {
"reportflow": {
"type": "http",
"url": "https://mcp.re-port-flow.com/mcp"
}
}
}VS Code (MCP-enabled builds)
VS Code uses servers at the top level instead of mcpServers. Add to .vscode/mcp.json:
{
"servers": {
"reportflow": {
"type": "http",
"url": "https://mcp.re-port-flow.com/mcp"
}
}
}Claude Code CLI (one-liner)
claude mcp add --transport http reportflow https://mcp.re-port-flow.com/mcpClaude.ai (web)
Settings → Connectors → Add custom connector → paste https://mcp.re-port-flow.com/mcp. The browser opens an OAuth consent screen on first use.
Local (stdio)
Use this when you want generated PDFs saved into the AI client's workspace folder on your machine, or when you need offline-friendly distribution. Requires Node.js 18+ (auto-fetched by npx) and a local browser for first-run OAuth.
Claude Desktop / Claude Code / Cursor
{
"mcpServers": {
"reportflow": {
"command": "npx",
"args": ["-y", "reportflow-mcp"]
}
}
}VS Code
{
"servers": {
"reportflow": {
"command": "npx",
"args": ["-y", "reportflow-mcp"]
}
}
}Requirements
Remote: an MCP-capable AI client (Claude.ai web, Claude Desktop, Cursor, VS Code) + a ReportFlow account. That's it.
Local: Node.js 18+ (auto-fetched by
npx) + a local environment with a browser for the first-run OAuth + a ReportFlow account.
Usage
First-run authentication
After reloading the client, ask the AI:
Authenticate with ReportFlow
In remote mode the browser opens immediately on connect. In stdio mode the AI triggers the OAuth flow on demand. Sign in → pick a workspace → consent, and you're done.
Remote: tokens are managed server-side and refreshed automatically.
Local: tokens are stored in the OS keychain (macOS Keychain / Windows Credential Manager / Linux libsecret), with a chmod-0600 file fallback under
$XDG_STATE_HOME/reportflow-mcp/when libsecret is unavailable.
Generate a PDF
Natural language (easiest)
Using the invoice template, create a PDF for Acme Corp totalling $330.
The AI will look up the template via list_templates, fetch its parameter schema with get_design_parameters, fill in the values, and call generate_pdf_sync — returning either a local file path (stdio) or a download URL (remote).
Slash commands
Command | Purpose |
| Step-by-step recipe for a single PDF |
| Recipe for batch PDF generation |
| Quick feature tour |
Where files are saved
Stdio mode, in order:
Explicit user instruction (e.g. "save to my Desktop")
The currently-open workspace root (Claude Code / Cursor / VS Code via MCP Roots)
The OS temp directory as a fallback
Remote mode: the tool result contains a download URL (fileUrl) — the MCP client can't write to your filesystem directly.
Reference
Tools (called by the AI)
Every tool now carries MCP ToolAnnotations — a human-readable title plus the readOnlyHint / destructiveHint / idempotentHint / openWorldHint flags — so MCP-aware clients can render meaningful tool names and route the right approval prompts.
Tool | Title | Purpose | Annotations |
| Authenticate with ReportFlow | First-time / re-auth (opens a browser) |
|
| List ReportFlow Templates | List available designs |
|
| Get Template Parameters | Parameter schema for one design |
|
| Generate PDF (sync/async) | Generate one PDF | non-readOnly, non-destructive |
| Generate Multiple PDFs (sync/async) | Batch PDF generation, returns ZIP | non-readOnly, non-destructive |
| Download Generated File | Save an async-generated PDF to disk |
|
| Download Batch ZIP | Save the batch ZIP to disk |
|
| Suggest Parameters via Sampling | Translate a NL brief into |
|
In remote (HTTP) mode the filesystem-writing tools (download_file, download_zip, stdio-bound generate_pdf_sync) are hidden — the remote endpoint can't reach your local disk.
Resources (attachable as AI context)
URI | Contents |
| List of available designs |
| Parameter schema for one design |
| Catalog of error messages from the Content Service |
| Server feature overview & version |
Prompts (slash-command recipe cards)
/generate_pdf, /generate_pdfs, /reportflow_help — pass arguments and the AI follows the prepared workflow.
Troubleshooting
Symptom | Fix |
Error containing | Ask the AI: "re-authenticate with ReportFlow" |
|
|
No keychain available on Linux (stdio) | Falls back automatically to a chmod-0600 file under |
Browser cannot open over SSH / remote shell (stdio) | Authenticate once on a local machine; afterwards the cached token works on remote hosts |
| Per-workspace rate limit. Wait the seconds reported in the |
License
MIT — see LICENSE.
Links
ReportFlow: https://re-port-flow.com
Official docs: https://doc.re-port-flow.com/docs/integrations/mcp
Template gallery: https://templates.re-port-flow.com
Issues: https://github.com/re-port-flow/reportflow-mcp/issues
Maintenance
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/re-port-flow/reportflow-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server