AI-powered invoice automation. Create invoices, track payments, and manage cash flow.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"invoiceflow": {
"args": [
"path/to/invoiceflow-mcp/dist/index.js"
],
"command": "node"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
AI-powered invoice automation for the Model Context Protocol
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y 'vitest' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
Vitest allows Remote Code Execution when accessing a malicious website while Vitest API server is listening
### Summary Arbitrary remote Code Execution when accessing a malicious website while Vitest API server is listening by Cross-site WebSocket hijacking (CSWSH) attacks. ### Details When [`api` option](https://vitest.dev/config/#api) is enabled (Vitest UI enables it), Vitest starts a WebSocket server. This WebSocket server did not check Origin header and did not have any authorization mechanism and was vulnerable to CSWSH attacks. https://github.com/vitest-dev/vitest/blob/9a581e1c43e5c02b11e2a8026
Click any tool to inspect its schema.
invoices://pendingAll unpaid invoices
invoices://pending
invoices://overdueInvoices past due date
invoices://overdue
invoices://statsMonthly cash flow summary
invoices://stats
clients://listAll clients with payment history
clients://list
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in finance
Real-time financial market data: stocks, forex, crypto, commodities, and economic indicators
A Model Context Protocol server for building an investor agent
AI agents get on-chain identity, credentials, reputation, escrow, and persistent memory on XRPL.
Remote MCP server to integrate and validate self-hosted PayRam deployments.
MCP Security Weekly
Get CVE alerts and security updates for io.github.enzoemir1/invoiceflow-mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
AI-powered invoice automation for the Model Context Protocol
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.
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"]
}
}
}
Create a new client. Required before creating invoices.
Create an invoice with line items. Auto-calculates subtotal, tax, discounts, and total. Generates sequential invoice numbers (INV-YYYY-NNNN).
Send an invoice PDF via email (requires SENDGRID_API_KEY). Updates status to "sent".
Filter invoices by status, client, amount range, date range, or overdue status. Supports pagination.
Mark an invoice as paid (full or partial). Updates client payment history automatically.
Send a payment reminder. Increments reminder count. Supports custom messages.
AI-powered late payment risk prediction (0-100). Returns risk level, factor breakdown, recommended action, next reminder date.
Generate cash flow summary: total invoiced, collected, outstanding, overdue, collection rate, 30-day projection.
Match incoming payment to invoice by amount and payer email. Auto-marks as paid.
| Resource | Description |
|---|---|
invoices://pending | All unpaid invoices |
invoices://overdue | Invoices past due date |
invoices://stats | Monthly cash flow summary |
clients://list | All clients with payment history |
Scores invoices 0-100 using 4 weighted factors:
| Factor | Weight | What It Measures |
|---|---|---|
| Invoice Amount | 20% | Higher amounts = higher risk |
| Client History | 35% | Pay rate, late payments, avg days |
| Due Date | 30% | Days until/past due |
| Reminders | 15% | Reminders already sent |
Risk Levels: Low (0-30), Medium (31-60), High (61-100)
Copy .env.example to .env and set the variables you need:
cp .env.example .env
| Variable | Required | Description |
|---|---|---|
SENDGRID_API_KEY | For email sending | Send invoices and reminders via SendGrid |
SendGrid is optional. InvoiceFlow works fully offline for i