Skip to main content
Glama
goods-receipt

goods-receipt

mcp-goods-receipt

MCP server for goods receipt notes against purchase orders: units received, damaged and short, with a discrepancy report. The receiving record for purchase orders: what arrived, against which line, in what quantity and condition.

Works with Claude Desktop, Claude Code, Cursor and any Model Context Protocol client. Runs on your own machine, or hosted with no install.

Product page: https://mcp.zovo.one/s/goods-receipt - what it does, the tools it exposes, and a live token endpoint.

Install

Hosted, nothing to install. Get a token from https://mcp.zovo.one/mcp/connect (the connect page) or https://mcp.zovo.one/mcp/token (the same token as JSON); a free anonymous one is issued on the spot and a Pro key works the same way. Then point an MCP client at https://mcp.zovo.one/mcp/goods-receipt over streamable-http and send the token as Authorization: Bearer <token>.

If your client cannot set headers, put the token in the path instead: https://mcp.zovo.one/mcp/goods-receipt/t/<token>. Both forms work. The bare URL with no token answers 401 on tools/call, so the token is not optional.

Claude Desktop, one click. Download goods-receipt.mcpb from the latest release and double-click it.

From source. The mirror is self-contained: every @theluckystrike/* dependency is vendored, so a fresh clone builds with no extra setup.

git clone https://github.com/theluckystrike/mcp-goods-receipt.git
cd mcp-goods-receipt
npm install && npm run build

Then point your client at the built entry point:

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

@theluckystrike/mcp-goods-receipt is not published on npm yet, so an npx -y @theluckystrike/mcp-goods-receipt command will fail. The three paths above are the working ones and each is exercised by CI.

goods-receipt demo

Read-only mirror of mcp-servers/servers/goods-receipt. See MIRROR.md.

theluckystrike/mcp-goods-receipt MCP server

In the official MCP Registry (io.github.theluckystrike/goods-receipt).

Purchase orders and the goods-receipt notes that receive them. A PO carries a reference, a supplier, and dated lines - sku, description, whole units ordered - plus whole-percent over/under tolerances that decide when a receipt is flagged. A GRN is raised against an open PO, one cell per line: units received, units damaged, and any shortage you already know about. Shortage is derived, not typed - ordered minus received, floored at zero - and shows up as a discrepancy the moment the numbers disagree.

Related MCP server: StockPilot

The one rule that decides everything else

Over-tolerance is checked against the cumulative total across every GRN raised on the line, not against each delivery in isolation.

Three deliveries of 40 against an order of 100 at 10% are allowed in ones and tens but the third delivery is refused, because 120 received of 100 ordered breaks the over tolerance even though no single delivery did. Partial deliveries are fine - several GRNs against the same PO is the normal case - and the cumulative rule is what stops them quietly over-receiving.

Two smaller rules follow from it:

  • Nothing derived is stored. Shortage and discrepancy are worked out on every call from the PO lines and the GRNs already recorded. Damage is the only thing typed in, because it is the only thing the warehouse actually sees.

  • Receiving past tolerance is refused, never clamped. Unless the extra units are declared damaged, a receipt that breaks the over tolerance writes nothing and says why. Damaged units still count for the tolerance check - "it arrived broken" is not a licence to order 100 and receive 130.

The tools

Tool

What it does

po_add

Create a purchase order: reference, supplier, dated lines, over/under tolerances

grn_add

Receive goods against an open PO: received/damaged per line, shortage derived

grn_line_add

Receive one more line onto an open GRN

grn_list

GRNs newest first, filtered by PO or status

grn_get

One GRN: every line with received, damaged, shortage and notes

grn_discrepancy

Lines short, over, damaged, or closed with outstanding amounts

grn_close

Close a GRN once the count is settled

grn_status_report

Every PO: open lines, cumulative received, what is still outstanding

grn_export_csv

GRNs as CSV (Pro)

license_status

Which tier this install is on and where the key came from

license_activate

Store a Pro key for this server

Quick start

po_add  { "reference": "ACME-1001", "supplier": "Acme Trading",
          "lines": [ { "sku": "BRK-8", "description": "Bracket, steel", "ordered": 100 } ] }
grn_add { "po": "PO-0001",
          "lines": [ { "line": "L01", "received": 60 } ] }
grn_add { "po": "PO-0001",
          "lines": [ { "line": "L01", "received": 35, "damaged": 2 },
                     { "line": "L01", "received": 10 } ] }   // refused: 105 > 100 + 10%
grn_discrepancy {}                                        // L01 is 5 short of 100

Ids look like PO-0001 and GRN-0001; lines inside a PO are L01, L02, ….

Quick start

{ "tool": "po_add", "args": { "reference": "ACME-1005", "supplier": "Acme Trading",
            "lines": [{ "sku": "BRK-01", "description": "Bracket, steel", "ordered": 10 }] } }
{ "tool": "grn_add", "args": { "po": "PO-0001", "lines": [{ "line": "L01", "received": 9, "damaged": 1 }] } }
{ "tool": "grn_discrepancy", "args": { "po": "PO-0001" } }

A GRN that arrives past the over tolerance is refused; shortage is computed as ordered minus received and shown as a discrepancy. grn_export_csv (Pro) writes the whole ledger out as CSV.

Free vs Pro

Free

Pro

Purchase orders

up to 2,000

up to 2,000

GRNs

up to 5,000

up to 5,000

Lines per PO / per GRN

up to 200

up to 200

grn_list, grn_get, grn_discrepancy, grn_status_report

yes

yes

grn_export_csv

no

yes

The domain is capped estate-wide (2,000 POs, 5,000 GRNs, 200 lines) on every tier - these are hard rules so a store cannot grow past what the file format can hold, not a paywall. Pro unlocks CSV export for pushing receipts into a spreadsheet or an ERP.

Get Pro: https://mcp.zovo.one/buy/goods-receipt (one-time), or all servers for one price at https://mcp.zovo.one/buy/bundle

Privacy

All data stays local, in ${XDG_DATA_HOME:-~/.local/share}/mcp-servers/goods-receipt/, in store.json (POs and GRNs) and counter.json (the PO- and GRN- series). There is no network call anywhere in this server, no API key, and no account. The only file it reads that it does not own is the shared business profile, and it never writes to it.

Built by theluckystrike. Support: support@zovo.one

Use these docs as an MCP server

Any MCP client (Claude, Cursor, Windsurf, VS Code) can read this repository's documentation directly via GitMCP - no install:

Available Tools

11 tools
grn_addReceive goods against a purchase orderA

Create a goods-receipt note (GRN) against an open purchase order. Give one cell per PO line: the whole units received and/or damaged. received is checked against the line's ordered quantity and the PO's over tolerance; receiving past the over tolerance is refused unless declared damaged. Shortage is recorded automatically (ordered minus received, floored at zero) and shown as a discrepancy. Partial deliveries are fine: raise several GRNs against the same PO. Free tier, full CRUD.

Inputs: po (required), lines (required), note, carrier, +1 more.

grn_closeClose a goods-receipt noteA

Close an open GRN. A closed GRN can no longer take lines, and its discrepancies are treated as resolved. Closing is free-tier and never mutates the PO.

Inputs: grn (required).

grn_discrepancyList discrepanciesA

List lines that are not as ordered: damaged units, a declared shortage, or received below the PO line's under tolerance. Optionally filter to one PO.

Inputs: po, includeResolved.

grn_export_csvExport goods receipts as CSVA
Read-onlyIdempotent

Pro. Export every GRN (or just one PO's GRNs) as CSV with a header row: grn,po,po_reference,received_at,carrier,status,line,sku,received,damaged,shortage,damage_note,shortage_note. Watermark-free and not truncated.

Inputs: po.

grn_getGet one goods-receipt noteA
Read-onlyIdempotent

Get a single goods-receipt note by id, with its lines, damage and shortage per line.

Inputs: grn (required).

grn_line_addAdd a line to an open GRNA

Add another PO line (or more units on a line already open on this GRN) to an existing open goods-receipt note. Useful when one delivery arrives in batches. The over-tolerance gate still applies to the PO line's cumulative received count across every GRN. Free tier, full CRUD.

Inputs: grn (required), line (required), received (required), damaged, +2 more.

grn_listList goods-receipt notesA
Read-onlyIdempotent

List goods-receipt notes, newest first, optionally filtered to one purchase order.

Inputs: po, includeLines.

grn_status_reportGoods-receipt status reportA

Reconcile every purchase order against every GRN: open POs (not yet fully received), POs fully received within tolerance, POs with at least one discrepancy, and per-line open/short/damaged counts. Nothing is written.

Inputs: includeOnlyDiscrepancies.

license_activateActivate licenseA

Activate a Pro key (MCPL1.xxx.yyy) from checkout: verified offline against a built-in public key, saved to your config file. A wrong, malformed or expired key is refused, unsaved. license_status reads it back.

Inputs: key (required).

license_statusLicense statusA

Report this server's licence state: product, tier free or pro, licence id, expiry, the key source and the upgrade URL. No arguments, no network. Explains a free-tier refusal; license_activate installs a key.

Inputs: no named parameters.

po_addAdd a purchase orderA

Create a purchase order to receive goods against. Lines carry a sku, a description and an ordered whole-unit quantity. Over/under tolerances are whole percentages allowed above/below ordered before a GRN is flagged. Ids look like PO-0001. Free tier, full CRUD.

Inputs: lines (required), supplier (required), reference (required), overTolerancePct, +1 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A4.1/5.0

    Scored across 11 tools

    Disambiguation5/5

    Each tool targets a distinct action and resource: PO creation, GRN creation, line addition, GRN retrieval/listing/export/close, discrepancy and status reporting, and license management. The two report tools are cleanly separated by aggregation level, so an agent can tell them apart.

    Naming Consistency4/5

    Most tools follow a readable snake_case pattern with prefixes like grn_, po_, and license_. A few names such as grn_discrepancy and license_status are noun phrases rather than verb phrases, but the overall convention is consistent enough to be predictable.

    Tool Count5/5

    Eleven tools is a well-scoped number for a goods-receipt server covering PO creation, GRN lifecycle, reporting, export, and licensing. No tool feels redundant, and the set is neither bloated nor too thin.

    Completeness2/5

    The receiving workflow is covered, but the surface has significant lifecycle gaps: POs can only be created and never listed, updated, or deleted, and GRNs/lines cannot be corrected or removed once added. These gaps can strand agents when an entry is wrong or a PO needs adjustment.

    Maintenance

    ActivityMaintained
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      B
      maintenance
      Enables AI-powered warehouse inventory management through MCP, with tools to search products, check stock levels, receive and issue stock, and add products under human-in-the-loop confirmation.
      -
    • A
      license
      A
      quality
      B
      maintenance
      Enables creating and managing packing slips for shipments, tracking cartons, contents, weights, chargeable weight, and shortfalls, with reports and packing slip generation.
      14
      53 npm
      MIT
    • F
      license
      Not graded
      quality
      B
      maintenance
      Enables agent-friendly warehouse operations including inventory search and adjustment, dock booking and cancellation, exception creation and resolution, with site-based access control preventing cross-site access.
      -