Invoiceflow Mcp

io.github.enzoemir1由 GitHub 账号 enzoemir1 发布v1.4.0更新于 Oct 24, 2026

AI-powered invoice automation. Create invoices, track payments, and manage cash flow.

概览

AI 生成的概览

本地开票 MCP 服务器:让助手创建 PDF 发票、跟踪付款、评估逾期风险并生成现金流报告。

可以做什么
  • 创建和管理客户与发票,支持明细行、税、折扣、多币种和连续编号
  • 按状态、客户、金额、日期或逾期筛选并分页列出发票,标记全额或部分付款
  • 通过邮件发送发票和催款提醒,并记录提醒次数
  • 评估逾期付款风险,并按金额与付款方邮箱匹配入账款项
  • 生成含回款率与 30 天预测的现金流报告
  • 写入演示数据,并读取待付、逾期、统计和客户资源
适用场景
适合自由职业者或小企业让助手起草发票、催收逾期款项并汇总应收账款。若需要风险评分与付款对账(属于付费功能),更值得安装。
运行要求
以本地 Node.js 进程运行(npm 包,可从源码构建或经市场安装)。离线使用无需任何凭据;发送邮件需设置 SENDGRID_API_KEY 环境变量。一次性 12 欧元的 Pro 授权可解锁十个工具中的四个。
安装前请注意
发送发票和提醒会把客户姓名、邮箱和发票明细传给 SendGrid,SENDGRID_API_KEY 属敏感密钥需妥善保管。工具会写入和修改发票与客户记录,付款对账会自动把发票标记为已付。四个工具需购买 12 欧元终身授权。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Invoiceflow Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

InvoiceFlow MCP

AI-powered invoice automation for the Model Context Protocol

[License: MIT] [TypeScript] [MCP]

InvoiceFlow creates professional PDF invoices, predicts late payment risk using AI, auto-sends reminders, matches incoming payments to invoices, and tracks your cash flow -- all through the MCP protocol.


Features

  • Professional PDF invoices with line items, tax, discounts, multi-currency (10 currencies)
  • AI risk prediction (0-100) based on invoice amount, client history, due date, reminder history
  • Smart reminders with escalation based on risk level
  • Payment reconciliation matching incoming payments to invoices by amount + payer email (platform-agnostic — works with manually-entered or webhook-provided payment data)
  • Cash flow reporting with collection rate, projected income, client breakdown
  • Client management with automatic payment history tracking
  • Sequential invoice numbers (INV-2026-0001, INV-2026-0002, ...)
  • 10 MCP tools + 4 MCP resources covering the full invoicing lifecycle

Quick Start

Install from MCPize Marketplace

  1. Search for InvoiceFlow MCP on mcpize.com
  2. Click Install — Free tools work immediately; unlock Pro with a €12 lifetime license (see Pro License)
  3. Tools and resources are automatically available in any MCP-compatible client

Build from Source

bash
git clone https://github.com/enzoemir1/invoiceflow-mcp.gitcd invoiceflow-mcpnpm cinpm run build

Add to your MCP client config:

json
{  "mcpServers": {    "invoiceflow": {      "command": "node",      "args": ["path/to/invoiceflow-mcp/dist/index.js"]    }  }}

Tools

invoice_demo_seed

Seed a realistic demo dataset — 8 clients across 5 archetypes (on-time, late-payer, high-value, new, chronic-late) and 25-45 invoices over the last 6 months — so every tool returns meaningful output without any credentials. Safe to call multiple times; each call appends a fresh batch with unique UUIDs. Returns counts plus sample_invoice_ids.

client_manage

Create a new client. Required before creating invoices.

invoice_create

Create an invoice with line items. Auto-calculates subtotal, tax, discounts, and total. Generates sequential invoice numbers (INV-YYYY-NNNN).

invoice_send

Send an invoice PDF via email (requires SENDGRID_API_KEY). Updates status to "sent".

invoice_list

Filter invoices by status, client, amount range, date range, or overdue status. Supports pagination.

invoice_mark_paid

Mark an invoice as paid (full or partial). Updates client payment history automatically.

invoice_remind

Send a payment reminder. Increments reminder count. Supports custom messages.

invoice_risk

AI-powered late payment risk prediction (0-100). Returns risk level, factor breakdown, recommended action, next reminder date.

cashflow_report

Generate cash flow summary: total invoiced, collected, outstanding, overdue, collection rate, 30-day projection.

payment_reconcile

Match incoming payment to invoice by amount and payer email. Auto-marks as paid.


Resources

ResourceDescription
invoices://pendingAll unpaid invoices
invoices://overdueInvoices past due date
invoices://statsMonthly cash flow summary
clients://listAll clients with payment history

Risk Prediction Engine

Scores invoices 0-100 using 4 weighted factors:

FactorWeightWhat It Measures
Invoice Amount20%Higher amounts = higher risk
Client History35%Pay rate, late payments, avg days
Due Date30%Days until/past due
Reminders15%Reminders already sent

Risk Levels: Low (0-30), Medium (31-60), High (61-100)


Configuration

Copy .env.example to .env and set the variables you need:

bash
cp .env.example .env
VariableRequiredDescription
SENDGRID_API_KEYFor email sendingSend invoices and reminders via SendGrid

SendGrid is optional. InvoiceFlow works fully offline for invoice creation, risk scoring, cash flow reporting, and reconciliation. Add SendGrid when you want outbound email delivery.

Roadmap: Stripe & PayPal live sync

The payment_reconcile tool currently matches amounts you provide (from a CSV, a webhook, or manual entry) against stored invoices. Direct Stripe and PayPal API integration with webhook listeners is planned for v2.0 — see issues for progress.

Usage Examples

Create a client and invoice

> Create a client "Acme Corp" with email [email protected]
✓ Client created: Acme Corp (id: 3f2a...)
> Create an invoice for Acme Corp: 10 hours consulting at $150/hr, 20% tax
✓ Invoice INV-2026-0001 created  Subtotal: $1,500.00 | Tax: $300.00 | Total: $1,800.00

Assess payment risk

> What's the risk score for invoice INV-2026-0001?
Risk Score: 42/100 (Medium)  - Invoice Amount: 25 (moderate amount)  - Client History: 50 (new client)  - Due Date: 15 (due in 28 days)  - Reminders: 10 (none sent)Recommended: Send an early reminder with a polite tone.

Generate cash flow report

> Show me the cash flow report
April 2026:  Total Invoiced: $12,400.00  Collected: $8,200.00 (66.1%)  Outstanding: $4,200.00  Overdue: $1,800.00  Projected (30d): $2,400.00

Supported Currencies

USD, EUR, GBP, CAD, AUD, JPY, CHF, TRY, BRL, INR


Pricing

TierPriceToolsFeatures
Free€0invoice_demo_seed, client_manage, invoice_create, invoice_list, invoice_mark_paid, invoice_remindPDF invoices, multi-currency, client management, manual reminders
Pro€12 lifetime+ invoice_send, invoice_risk, payment_reconcile, cashflow_reportAI risk scoring, SendGrid delivery, payment reconciliation, cash flow reporting

One-time €12 lifetime license (3 machines) — no subscription. See Pro License below to buy and activate.


Development

bash
npm run dev        # Hot reloadnpm run build      # Production buildnpm test           # Run testsnpm run inspect    # MCP Inspector

Testing

Tests cover the core business logic:

  • Storage — CRUD operations, filtering, sequential invoice numbers
  • Risk Model — AI scoring engine with 4 weighted factors, risk classification
  • Cash Flow — Report generation, collection rates, projections, client breakdown
bash
npm test           # Run all testsnpx vitest --watch # Watch mode

Pro License

InvoiceFlow ships in Free mode — invoice_demo_seed, client_manage, invoice_create, invoice_list, invoice_mark_paid, and invoice_remind are open. The following tools require a Pro license:

  • invoice_send — generate PDF + SendGrid email delivery
  • invoice_risk — late-payment risk prediction
  • payment_reconcile — match Stripe/PayPal/bank payments to invoices
  • cashflow_report — portfolio-wide cash flow + 30-day projection

Buy a Pro License (€12, lifetime, 3 machines): https://automatiabcn.lemonsqueezy.com/buy/2d439c05-f463-4137-8883-950e8ee1112d

Or get the Indie MCP Stack Bundle (€69, all 4 servers).

bash
export LEMONSQUEEZY_LICENSE_KEY=YOUR-KEY-HERE

Or in your MCP client config:

json
{  "mcpServers": {    "invoiceflow-mcp": {      "command": "npx",      "args": ["-y", "invoiceflow-mcp-server"],      "env": { "LEMONSQUEEZY_LICENSE_KEY": "YOUR-KEY-HERE" }    }  }}

Validation is cached locally for 24 h — fully offline-capable after first run.


License

MIT License. See LICENSE for details.

Built by Automatia BCN.

来源:README.md,提交 e35a1de

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v1.4.0最新Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分