Papaya POS MCP by usefulapi

v1.1.0
io.usefulapi/papaya-pos Checked 21 hours ago Published 22 hours ago

Read orders, goods receipts, menus and action logs in Papaya POS.

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

papaya_list_outlets List outlets

List the outlets (restaurants, shops, branches) that this API key can read. Good first call to get outlet details. Open API: GET /api/v1/outlets.

papaya_list_channels List channels

List the sales channels of the outlet: delivery and ordering platforms (type partner) and dine-in tables. Open API: GET /api/v1/channels.

papaya_get_menu Get menu

Get the current menu for a channel type. For channelType partner, also pass partnerChannel (for example grab) to get that platform's menu overrides. Open API: GET /api/v1/menus.

ParameterTypeDescription
channelType *stringChannel type, for example partner.
partnerChannelstringPartner platform name, for example grab. Send it with channelType partner to get that platform's menu overrides.

papaya_list_orders List orders by date range

List complete and cancelled orders with their items and payments, in a date range of at most 31 days. Good for reconciliation and backfills; use webhooks for live updates. Returns a `next` cursor when more pages exist. Open API: GET /api/v1/orders.

ParameterTypeDescription
from *stringWindow start, RFC 3339 (UTC: ...Z).
to *stringWindow end, RFC 3339. At most 31 days after from.
cursorstringThe `next` value from the previous page. Omit for the first page. (The request name `cursor` is not in the public docs: verify at launch.)
statusstringComma-separated: complete, cancelled. Default: both.

papaya_get_order Get an order

Get one order by id, with its items and payments. Open API: GET /api/v1/orders/{id}.

ParameterTypeDescription
order_id *stringThe order id (from papaya_list_orders or a webhook).

papaya_get_order_action_log Get an order's action log

Get the full action log of one order, newest first: who did what and when (for example a payment or a status change). Open API: GET /api/v1/orders/{id}/action-log.

ParameterTypeDescription
order_id *stringThe order id.

papaya_list_order_action_logs List order action logs by date range

List action log entries of the outlet in a date range of at most 31 days, newest first. Filter by action, actorId, actorType, channelId or a free-text search. Returns a `next` cursor. Open API: GET /api/v1/orders/action-logs.

ParameterTypeDescription
from *stringWindow start, RFC 3339 (UTC: ...Z).
to *stringWindow end, RFC 3339. At most 31 days after from.
actionstringAction type to keep.
actorIdstringOnly entries by this actor id.
actorTypestringOnly entries by this actor type.
channelIdstringOnly entries for this channel id.
cursorstringThe `next` value from the previous page. Omit for the first page. (The request name `cursor` is not in the public docs: verify at launch.)
searchstringFree-text search.

papaya_list_goods_receipts List goods receipts by date range

List goods receipts (supplier bills recorded against inventory) oldest first, in a date range of at most 31 days. from/to filter on when the receipt was recorded, not the delivery date. Defaults to completed receipts only. Returns a `next` cursor. Open API: GET /api/v1/inventory/goods-receipts.

ParameterTypeDescription
from *stringWindow start, RFC 3339 (UTC: ...Z).
to *stringWindow end, RFC 3339. At most 31 days after from.
cursorstringThe `next` value from the previous page. Omit for the first page. (The request name `cursor` is not in the public docs: verify at launch.)
statusstringComma-separated: draft, completed, cancelled, partiallyReceived. Default: completed.
supplierIdstringOnly receipts from this supplier id.