Sponsored by Deepsite.site

Invoiceflow Mcp

Created By
Automatia BCNa month ago
AI-powered invoice automation for MCP. Create professional PDF invoices, predict late payment risk 0-100, auto-send reminders, reconcile Stripe and PayPal payments, and track cash flow. 10 MCP tools, 4 resources. Supports 10 currencies. Free tier available.
Overview

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, reconciles payments from Stripe/PayPal, 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 Stripe/PayPal payments to invoices by amount + email
  • 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 and select your subscription tier
  3. Tools and resources are automatically available in any MCP-compatible client

Build from Source

git clone https://github.com/enzoemir1/invoiceflow-mcp.git
cd invoiceflow-mcp
npm ci
npm run build

Add to your MCP client config:

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

Tools

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:

cp .env.example .env
VariableRequiredDescription
SENDGRID_API_KEYFor emailSend invoices and reminders via SendGrid
STRIPE_API_KEYFor StripeReconcile payments from Stripe
PAYPAL_CLIENT_IDFor PayPalReconcile payments from PayPal
PAYPAL_CLIENT_SECRETFor PayPalPayPal API authentication

All integrations are optional. InvoiceFlow works fully offline for invoice creation, risk scoring, and cash flow reporting.

Usage Examples

Create a client and invoice

> Create a client "Acme Corp" with email billing@acme.com

✓ 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

TierPriceInvoices/monthFeatures
Free$05Basic PDF invoices
Pro$15/mo100AI risk, reminders, Stripe sync
Business$30/moUnlimitedMulti-currency, reconciliation, cash flow

Available on MCPize Marketplace.


Development

npm run dev        # Hot reload
npm run build      # Production build
npm test           # Run tests
npm 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
npm test           # Run all tests
npx vitest --watch # Watch mode

License

MIT License. See LICENSE for details.

Built by Automatia BCN.

Server Config

{
  "mcpServers": {
    "invoiceflow-mcp": {
      "command": "node",
      "args": [
        "dist/index.js"
      ],
      "env": {}
    }
  }
}
Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
CursorThe AI Code Editor
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
DeepChatYour AI Partner on Desktop
WindsurfThe new purpose-built IDE to harness magic
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Tavily Mcp
Y GuiA web-based graphical interface for AI chat interactions with support for multiple AI models and MCP (Model Context Protocol) servers.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
Amap Maps高德地图官方 MCP Server
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Playwright McpPlaywright MCP server
RedisA Model Context Protocol server that provides access to Redis databases. This server enables LLMs to interact with Redis key-value stores through a set of standardized tools.
ChatWiseThe second fastest AI chatbot™
Serper MCP ServerA Serper MCP Server
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.