apc-mcp
v0.2.1Book, label, track and cancel APC Overnight UK parcels from any MCP client.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
book_shipment
Book a parcel delivery with APC Overnight. Returns a 22-digit waybill used for label retrieval and tracking.
| Parameter | Type | Description |
|---|---|---|
collectionDate * | string | Collection date. YYYY-MM-DD or DD/MM/YYYY |
numberOfPieces * | integer | Number of parcels/items in this consignment (1 to 50) |
recipient * | object | Recipient / delivery address |
sender * | object | Sender / collection address |
service * | string | APC delivery service. Pass a friendly key (e.g. "next-day", "saturday-1200", "courier-pack", "liquid-0900", "ireland-road") or the raw ProductCode (e.g. "ND16", "NS12", "CP16", "LP09", "ROAD"). Call l… |
totalWeightKg * | number | Total weight in kg |
closedAt | string | Time business closes HH:MM (default 17:00) |
goodsDescription | string | Brief description of goods |
goodsValue | number | Declared value in GBP |
itemType | string | Type of goods being sent |
readyAt | string | Time goods will be ready HH:MM (default 09:00) |
reference | string | Your internal order or job reference |
get_label
Get the shipping label for a booked APC consignment and save it to disk. Call any time after book_shipment. APC typically needs 3-5 seconds to generate it, which this tool waits for automatically. APC marks the consignment as printed once the label has been fetched. Returns the local file path. Default save location is ~/Downloads/parcel-toolkit/, overridable via the PARCEL_TOOLKIT_LABELS_DIR env var.
| Parameter | Type | Description |
|---|---|---|
waybill * | string | The 22-digit WayBill number returned when booking (or from a previously booked consignment). |
format | string | Label format. PDF for standard printers, ZPL for thermal (Zebra/Rollo), PNG for previews. |
book_batch_and_label
Book multiple APC shipments at once (up to 50), then fetch the labels. Every shipment booked costs money. PDF labels are merged into one file, ready to print; ZPL and PNG labels are saved as one file each. Use this when the user pastes a list of orders/addresses. All shipments share the same service, collection date and sender. A shipment that is booked but whose label could not be fetched is still reported with its waybill, so never book it again; use get_label instead. Saves to ~/Downloads/parcel-toolkit/ (overridable via PARCEL_TOOLKIT_LABELS_DIR).
| Parameter | Type | Description |
|---|---|---|
collectionDate * | string | Collection date for every shipment. YYYY-MM-DD or DD/MM/YYYY |
sender * | object | Sender / collection address. Same for every shipment in the batch. |
service * | string | APC delivery service for every shipment in this batch (e.g. "next-day", "next-day-1200", "ND16"). Call list_services for the full catalogue. |
shipments * | array | Array of shipments to book, at most 50. Each entry is one consignment with its own recipient, weight and pieces. |
closedAt | string | Time business closes HH:MM (default 17:00) |
labelFormat | string | Label format. PDF labels are merged into one file. ZPL (thermal printers) and PNG labels are saved as one file per shipment. |
readyAt | string | Time goods will be ready HH:MM (default 09:00) |
track_shipment
Get the current status and tracking history for an APC Overnight consignment.
| Parameter | Type | Description |
|---|---|---|
waybill * | string | The 22-digit WayBill number |
cancel_shipment
Cancel an APC Overnight consignment. Must be done before the parcel is collected/manifested.
| Parameter | Type | Description |
|---|---|---|
waybill * | string | The 22-digit WayBill number to cancel |
list_services
List every APC Overnight delivery service with friendly key, label and ProductCode. Service availability depends on your APC account and routing, so confirm with your depot before relying on an unusual service.