royalmail-mcp
v0.2.1Book, track and cancel Royal Mail and Parcelforce shipments from any MCP client.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
book_order
Book a Royal Mail shipment via Click & Drop. Returns an orderIdentifier used to retrieve the label.
| Parameter | Type | Description |
|---|---|---|
recipient * | object | Recipient / delivery address |
service * | string | Royal Mail or Parcelforce service. Use a key from list_services, such as "first-class", "tracked-24", "tracked-48" or "special-delivery-1000", or a raw Service Register code such as OLP1 or TOLP24. As… |
weightGrams * | number | Total weight in grams (e.g. 500 for 500g) |
despatchDate | string | Planned despatch date YYYY-MM-DD. Omit if your account does not allow future-dated orders |
dimensions | object | Package dimensions in mm (optional) |
goodsDescription | string | Brief description of contents |
notifyEmail | string | Email address for delivery notifications |
notifyPhone | string | Mobile number for SMS delivery notifications |
packageFormat | string | Package format. Determines which services are available and pricing |
reference | string | Your internal order or job reference |
requireSignature | boolean | Request signature on delivery |
safePlace | string | Safe place instructions e.g. "leave in porch" |
sender | object | Sender address. Omit to use the address saved in your Click & Drop account |
shippingCost | number | Shipping cost charged to recipient in GBP |
specialInstructions | string | Special handling instructions |
subtotal | number | Order subtotal in GBP (used for customs/insurance) |
total | number | Order total in GBP |
get_label
Get the shipping label for a Royal Mail Click & Drop order and save it to disk. Works for any order you have previously booked, so pass its orderIdentifier. Needs a Royal Mail Online Business Account. Default save location is ~/Downloads/parcel-toolkit/, overridable via the PARCEL_TOOLKIT_LABELS_DIR env var.
| Parameter | Type | Description |
|---|---|---|
orderIdentifier * | string | The orderIdentifier returned when booking the order (or from a previously booked order). |
book_batch_and_label
Book multiple Royal Mail orders at once (up to 50), then fetch the labels and merge them into one PDF, ready to print. Every order booked costs money. Use this when the user pastes a list of orders/addresses. All orders share the same service, package format and sender. Saving labels through the API needs a Royal Mail Online Business Account. On other accounts the orders are still booked and reported, and the labels are printed from the Click & Drop website. An order that is booked but has no saved label is reported with its orderIdentifier, so never book it again. Saves to ~/Downloads/parcel-…
| Parameter | Type | Description |
|---|---|---|
service * | string | Royal Mail service for every order in this batch (e.g. "tracked-24", "tracked-48", "first-class", "special-delivery-1000"). Call list_services for full catalogue. |
shipments * | array | Array of orders to book, at most 50. Each entry is one order with its own recipient, weight and reference. |
despatchDate | string | Planned despatch date YYYY-MM-DD. Omit if the account does not allow future-dated orders. |
packageFormat | string | Package format for every order in the batch. |
sender | object | Sender address. Omit to use the address saved in your Click & Drop account. |
track_order
Get the current status and tracking details for a Royal Mail Click & Drop order.
| Parameter | Type | Description |
|---|---|---|
orderIdentifier * | string | The orderIdentifier returned when booking the order |
cancel_order
Cancel a Royal Mail Click & Drop order. Must be done before the order is manifested/despatched.
| Parameter | Type | Description |
|---|---|---|
orderIdentifier * | string | The orderIdentifier to cancel |
list_services
List supported Royal Mail and Parcelforce services with their Service Register codes. Availability depends on your Click & Drop account.