Home · Setup · Cline

MCP Receipts in Cline

Turn receipt lines into an itemized, taxed total. receipt_parse takes raw receipt lines — '2 x Coffee 4.50', 'Sandwich 8.90' — and returns an itemized breakdown with quantity times unit price per line, a subtotal, and tax computed at the rate you pass; the cents are exact, so the parsed total matches what the till printed.

Pure compute, no state, no files: auto-approve, the only risk is a mis-split line you can see in the breakdown anyway.

What you get in Cline

You sayTool
Parse this receipt: 2 x Coffee 4.50, Sandwich 8.90, tax 8.5%.receipt_parse
Add '3 x Bagel 2.25' and re-total at 0% tax.receipt_parse
Split this receipt across two people.receipt_parse, then arithmetic

The contract suite parses real line formats over stdio: a '2 x Coffee 4.50' line becomes quantity 2 at 4.50 for 9.00, the subtotal sums the itemized lines before tax, and 8.5% on a 17.90 subtotal returns the taxed total to the exact cent with no rounding drift.

Install it in Cline

The file is mcp.json, and the key inside it is mcpServers.

ScopePath
Cline CLI~/.cline/mcp.json
The editor extensionopened from the Cline panel, not by path; the documentation deliberately calls it the MCP settings JSON used by the extension

If you also run Claude Desktop, the shortest path there is one click: receipts.mcpb from the latest release opens as an extension, with no JSON and no terminal. Cline reads its own config, so here it is:

The config block:

{
  "mcpServers": {
    "receipts": {
      "command": "node",
      "args": ["/absolute/path/to/mcp-servers/servers/receipts/dist/index.js"],
      "disabled": false,
      "autoApprove": []
    }
  }
}

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/receipts

That writes servers/receipts/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": {
    "receipts": {
      "command": "npx",
      "args": ["-y", "@theluckystrike/mcp-receipts"]
    }
  }
}

No full-app restart. The MCP settings actions include restarting an unresponsive server if its tools do not appear.

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.

No install: the hosted endpoint

There is no hosted endpoint for this one yet. MCP Receipts 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.

Cline notes worth knowing first

Cline is the one client here with an unsafe transport default. `type` selects it, and omitting `type` falls back to the legacy sse transport, so a streamable HTTP endpoint needs it written in or you will debug a server that is fine. Local entries carry "disabled" and an "autoApprove" array.

Free: Everything: one tool, no metering, no key. Pro is $19 once, verified offline.

Questions

Where does the config live?

The CLI reads ~/.cline/mcp.json. For the extension, do not hunt for a path: MCP Servers icon, Configure tab, Configure MCP Servers. cline mcp opens a wizard, and cline config mcp --json is the non-interactive form.

The hosted endpoint will not connect.

Set the transport explicitly. Omitting type falls back to the legacy sse transport, so streamable HTTP needs "type": "streamableHttp" written in. It is the one default here that sends you debugging a server that works.

Should I auto-approve MCP Receipts's tools?

Approve the read-only ones and leave the writing ones behind a click: each entry carries an autoApprove array and a disabled flag.

Related

MCP Receipts in detail · The same server in Windsurf and Claude.ai and Claude Desktop connectors · Every server in Cline · Guides · Cline docs · Buy Pro