MyParcel MCP by usefulapi

v1.9.1
io.usefulapi/myparcel Checked 1 day ago Published 7 hours ago

Create, read and delete shipments; read track and trace and pickup points in MyParcel.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

myparcel_list_shipments List shipments

List the account's shipments, newest first, with status, recipient and carrier. Filter by a text query or a status id. MyParcel API: GET /shipments.

ParameterTypeDescription
pageintegerPage number (default 1).
qstringSearch text (for example a recipient name).
sizeintegerResults per page.
statusintegerShipment status id (for example 1 = pending).

myparcel_get_shipments Get shipments

Get one or more shipments by id, including options, recipient, status and label links. MyParcel API: GET /shipments/{ids}.

ParameterTypeDescription
ids *arrayShipment ids from myparcel_list_shipments or myparcel_create_shipments.

myparcel_get_tracktraces Get track and trace

Get the track and trace events for one or more shipments (carrier scan history and status). MyParcel API: GET /tracktraces/{ids}.

ParameterTypeDescription
ids *arrayShipment ids from myparcel_list_shipments or myparcel_create_shipments.
extra_infostringOptional extra data, for example delivery_moment.

myparcel_list_fulfilment_orders List fulfilment orders

List fulfilment orders (orders the account asked MyParcel to pick and ship), filtered by status. MyParcel API: GET /fulfilment/orders.

ParameterTypeDescription
statusstringStatus filter, separated by ';' (for example open;partially_processed).

myparcel_get_fulfilment_order Get a fulfilment order

Get one fulfilment order by its UUID, including its lines and status. MyParcel API: GET /fulfilment/orders/{identifier}.

ParameterTypeDescription
identifier *stringFulfilment order UUID (from myparcel_list_fulfilment_orders).

myparcel_get_delivery_options Get delivery options

Get the delivery options (dates, delivery types, cut-off times) for one address and carrier, for a checkout. MyParcel API: GET /delivery_options (version 2.0).

ParameterTypeDescription
carrier *stringCarrier name, for example postnl or bpost.
cc *stringISO country code, e.g. nl or be.
number *stringHouse number.
platform *stringmyparcel for NL, belgie for BE.
postal_code *string

myparcel_list_pickup_locations List pickup locations

List pickup points near one address for a carrier (for pickup delivery types). MyParcel API: GET /pickup_locations.

ParameterTypeDescription
carrier *stringCarrier name, for example postnl or bpost.
cc *string
number *string
platform *stringmyparcel for NL, belgie for BE.
postal_code *string

myparcel_list_webhook_subscriptions List webhook subscriptions

List the webhook subscriptions on the account (the URLs MyParcel calls on shipment events). MyParcel API: GET /webhook_subscriptions.

myparcel_create_shipments Create shipments

Create one or more shipments. This creates real, billable shipments and labels on the account. Returns the new shipment ids in the same order as sent. MyParcel API: POST /shipments.

ParameterTypeDescription
shipments *arrayShipments to create; each needs a recipient and options.

myparcel_delete_shipments Delete shipments

Delete one or more shipments by id. A shipment that has already been handed to the carrier may not be deletable. MyParcel API: DELETE /shipments/{ids}.

ParameterTypeDescription
ids *arrayShipment ids from myparcel_list_shipments or myparcel_create_shipments.