Home · Setup · Claude Desktop
Credit notes against an invoice or standalone: drafts, finalization, rendering and totals, all in integer minor units. You issue a credit note against an invoice or standalone: the recipient, the reason (returned goods, overcharge, discount correction, service issue, other), line items with quantity, unit price and tax rate, and the currency. Every credit note starts as a draft with a CN-DRAFT id no client sees; credit_note_finalize burns the final CN-YYYY-NNNN number in the issue date's year and freezes it, because a finalized credit note is a document the client may have seen, and it can neither be edited nor deleted from there. The counter is written before the record, so a crash burns a number rather than reusing one, and the final series never has a gap. credit_note_render returns Markdown to paste into an email or a self-contained printable HTML page, drafts marked with a DRAFT banner, and credit_note_summary totals what was credited per currency, reason and month.
The email saying the client is sending the goods back is usually already in this window, so the draft credit note is one sentence against that thread, and the Markdown render pastes straight into the reply. Nothing leaves the machine: there is no network call in the server on any tool.
| You say | Tool |
|---|---|
| Issue a credit note to Acme GmbH against INV-2026-0042: two USB-C cables returned unopened, 3 at 24.99 plus one adapter at 9.99, 23% VAT, and refund the 12.00 express shipping. | credit_note_create |
| Render it as Markdown so I can paste it into the email. | credit_note_render |
| What did I credit in March, by reason? | credit_note_summary |
The line math is documented so the printed document reproduces on a calculator: gross is quantity times unit price rounded half-up once, tax is per line rounded half-up on its own base, and the note totals are plain integer sums of the already-rounded line values. On the worked note, 3 x 2,499 at 23% and 1 x 999 at 23% and 1 x 1,200 untaxed give subtotal 9,696, tax 1,954 and total 11,650, and 2.5 x 3,333 rounds half-up to 8,333, never banker's 8,332. The unit suite asserts both.
The file is claude_desktop_config.json, and the key inside it is mcpServers.
| Scope | Path |
|---|---|
| macOS | ~/Library/Application Support/Claude/claude_desktop_config.json |
| Windows | %APPDATA%\Claude\claude_desktop_config.json |
One click, no JSON. Download credit-note.mcpb from the
latest release and open it. Claude Desktop installs it as an extension and runs
it on the Node runtime it ships with, so neither your PATH nor your node version comes into it, and there
is no file to edit. Everything below is the manual route, for when you want the entry in the config file
itself.
The config block, which needs both strings absolute:
{
"mcpServers": {
"credit-note": {
"command": "node",
"args": ["/absolute/path/to/mcp-servers/servers/credit-note/dist/index.js"]
}
}
}
If node came from nvm, asdf or homebrew, use the absolute path that which node prints
rather than the bare word, because a stdio server started by this app inherits a limited PATH:
"command": "/Users/you/.nvm/versions/node/v22.14.0/bin/node"
The node command above wants a built file. From a clone, once:
git clone https://github.com/theluckystrike/mcp-servers.git
cd mcp-servers && npm install
npm run build -w packages/mcp-license -w servers/credit-note
That writes servers/credit-note/dist/index.js, and its absolute path is the one argument
the config needs.
The npm packages are not published yet, so the form below returns a 404 today. It is here because it is what the entry becomes the day the publish lands, with nothing else changed:
{
"mcpServers": {
"credit-note": {
"command": "npx",
"args": ["-y", "@theluckystrike/mcp-credit-note"]
}
}
}
Save, then completely quit Claude Desktop and start it again. A window reload is not enough.
Nothing is published to npm yet, so the working install paths are the ones above: the .mcpb bundle from the latest release, a clone and build, or the hosted URL.
There is no hosted endpoint for this one yet. MCP Credit Note runs locally over stdio with the config above, which is also the only form in which it reads and writes files on your own disk. Thirty of the servers in this collection are served at https://mcp.zovo.one/mcp/<name> over MCP streamable HTTP; https://mcp.zovo.one/mcp/connect lists them and prints a ready URL for each.
Two documented facts decide whether the entry works: every path in claude_desktop_config.json must be absolute, and a stdio server started here inherits only a limited, platform-dependent subset of environment variables. If node came from nvm or homebrew, paste what `which node` prints instead of the bare word. The .mcpb route avoids both: Claude Desktop ships a built-in Node.js environment.
Free: Ten finalized credit notes, lifetime. Drafts, edits, deletion of drafts, listing, reading, rendering and the totals summary are free and unlimited on every tier, because finalizing is the metered act: that is what turns a draft into the document the client sees. Free renders carry a one-line footer. Pro is $19 once, verified offline.
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json. Windows: %APPDATA%\Claude\claude_desktop_config.json. There is no published Linux path. Settings, Developer, Edit Config opens the right copy and creates it if it does not exist.
In order: did you fully quit and restart, not just close the window? Is every path absolute? And is the command resolvable, given the limited environment a stdio server inherits here? If node came from nvm, paste what which node prints.
Yes. An .mcpb bundle, the format renamed from .dxt, opens with Claude and shows an installation dialog. One you built yourself goes in through Settings, Extensions, Advanced settings, Install Extension.
MCP Credit Note in detail · The same server in Claude.ai and Claude Desktop connectors and Claude Code · Every server in Claude Desktop · Guides · Claude Desktop docs · Buy Pro