Invoice
Integrates with Stripe for subscription billing, using Stripe secret key, webhook secret, and monthly/yearly price IDs to manage subscriptions and gate tool access based on active or trialing status.
Integrates with Supabase as an OAuth authorization server with dynamic client registration, using the configured Supabase URL and anon key to authenticate users and manage session tokens.
Invoice
Invoice keeps a freelancer's approved invoice — line items, quantities, the rate already approved, the due date, and late terms — then lets an assistant read that record before it answers. An assistant cannot add a line, change a rate, invent a discount, or move a due date unless that change is explicitly approved.
It works with ChatGPT, Claude, Gemini, Grok, and Cursor, plus any other MCP client that can do Streamable HTTP and OAuth. It is not a ChatGPT-only plugin.
Sign in with your Invoice account when the assistant opens OAuth. Do not paste an API key or password into a header. Invoice supports dynamic client registration: leave the client id and secret empty. The protected-resource metadata at /.well-known/oauth-protected-resource/mcp points clients at the OAuth issuer, which registers them.
Invoice tools need Pro or an active trial. A new subscription includes a 14-day trial. This page does not list a price. Checkout shows the billing interval and payment terms. Amounts stored on an invoice are the freelancer's approved figures, in whole minor units of the invoice currency. They are not a product price.
There is no hosted production domain in this repository. Run the server yourself and use the base URL you configure. The default MCP address is http://127.0.0.1:3000/mcp.
What the assistant can do
After you approve the connection, the server exposes these tools:
list_invoices
begin_invoice
read_invoice
place_line
describe_line
quote_line_rate
set_line_quantity
set_invoice_due
write_late_terms
offer_discount
seal_invoice
suggest_invoice_change
accept_invoice_change
read_invoice is the read the assistant should do before it answers. Draft figures are not an approved commitment. A suggested invoice change does not change the record. After the invoice is sealed, place_line refuses a new line, quote_line_rate refuses a changed rate, offer_discount refuses a discount, and set_invoice_due refuses a moved due date. Those changes go through suggest_invoice_change and then accept_invoice_change, and only when you explicitly approve that change.
The assistant only calls these tools when you and the host allow it.
Related MCP server: holdings-mcp
Connect
Cursor, in ~/.cursor/mcp.json or a project .cursor/mcp.json:
{
"mcpServers": {
"invoice": {
"url": "http://127.0.0.1:3000/mcp"
}
}
}Do not add a headers block. Cursor registers a client and opens sign-in.
Claude Code:
claude mcp add --transport http invoice http://127.0.0.1:3000/mcpDo not pass an Authorization header. Other clients use the same address, choose OAuth, and leave client id and secret empty. Steps for ChatGPT, Claude, Gemini, Grok, and Cursor are on the connect page at /connect.
Registry metadata for this server is in server.json (io.github.LAHutchins91/invoice). The remote URL there is https://invoice-continuity2.vercel.app/mcp.
Run
npm install
npm test
npm run typecheck
npm run build
npm startWhen stdin is a terminal, Invoice serves Streamable HTTP on port 3000. When stdin is not a terminal, it speaks MCP over stdio and still opens the HTTP port. Logs during stdio mode go to stderr so they do not mix with the protocol.
Records are stored durably in a JSON file. The default path is ~/.invoice/invoice.json. Set INVOICE_DATA_PATH to move it. One server process owns that file. Do not point it at another product's data file.
OAuth uses the same idea as a Supabase authorization server with dynamic client registration. Set these on the server process, not in an MCP header:
APP_BASE_URL(defaulthttp://localhost:3000)SUPABASE_URLSUPABASE_ANON_KEYSTRIPE_SECRET_KEYSTRIPE_WEBHOOK_SECRETSTRIPE_PRICE_MONTHLYandSTRIPE_PRICE_YEARLY(Stripe catalog ids, not prices)
Tool calls other than discovery require a signed-in account whose subscription status is active or trialing.
This server cannot be deployed
Maintenance
Related MCP Connectors
AI invoice follow-up emails for freelancers. Draft-only, never sends for you.
Freelancer invoice generator: line items, tax, totals, PDF - issued from a chat message.
Create invoices from your AI assistant in 6 languages and 10 currencies, ready for WhatsApp.
Compliant invoicing for freelancers: create, issue and track invoices from your AI agent.
Related MCP Servers
- AlicenseAqualityCmaintenanceCreate free, no-signup invoices from your AI assistant — the create_invoice tool returns a link that opens blankinvoicemaker.com pre-filled, ready to download as a watermark-free PDF.263 npm1MIT
- AlicenseNot gradedqualityAmaintenanceLet your AI send invoices and take payment — card or ACH. Free. Every write is confirm-gated, and it connects Claude, ChatGPT, or Cursor to your Holdings workspace.MIT
- AlicenseNot gradedqualityBmaintenanceEnables drafting quotations and invoices from AI assistants like ChatGPT, Claude, and Gemini, with 133 templates, tax rules for 195 countries, and a link to the finished document.MIT
- AlicenseNot gradedqualityCmaintenanceDeposit keeps a freelancer’s approved deposit and later payment dates, and what an assistant may tell the client, then lets an assistant read that record before it answers. A 14-day trial, then Pro. The price is only at checkout.6 npmMIT