Ginesys MCP by usefulapi

v1.6.1
io.usefulapi/ginesys-erp Checked 2 days ago Published 1 day ago

Look up items; create sales orders; reserve and cancel order stock in Ginesys.

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

ginesys_get_item Get item

Get one inventory item by item code or barcode: division, department, category, vendor, prices (RSP, WSP, MRP, standard rate), tax group, unit of measure and stock settings. Ginesys GET /erp/gds/api/inv/item.

ParameterTypeDescription
barCodestringItem barcode. Give this or itemCode.
itemCodestringItem code, for example K991067. Give this or barCode.

ginesys_create_sales_order Create sales order

Create a sales order with its item lines in Ginesys ERP (POST /erp/gds/api/sales-order). Set intgOrderId to your own order id: Ginesys rejects a second order with the same id, so a retry cannot create a duplicate. Only itemDetails is required by this tool; the API returns a field error for any other field it needs.

ParameterTypeDescription
itemDetails *arrayOrder lines. At least one.
agentCodeinteger
channelCodeintegerSales channel code.
customerIdintegerERP customer id.
destinationSiteCodeintegerDestination site, for a transfer order.
documentDatestringDocument date-time, ISO 8601.
documentNostringDocument number.
dueDatestringDue date-time, ISO 8601.
intgOrderIdstringYour own order id. Must be unique in the ERP.
isPosOrderstring
orderDatestringOrder date-time, ISO 8601, for example 2026-03-04T00:00:00.
orderNostringYour order number.
ownerSiteCodeintegerSite that owns the order.
partialReservationstringY allows a partial reservation.
remarksstring
reservationRequiredstringY reserves stock when the order is created.
transporterCodeinteger

ginesys_create_reservation Reserve order stock

Reserve stock for lines of an existing sales order at a site (POST /erp/gds/api/reservation). Give erpOrderCode or intgOrderId to find the order.

ParameterTypeDescription
createReservationDetails *arrayOrder lines to reserve. At least one.
transactionSiteCode *integerSite that holds the stock to reserve.
binGroupNamestring
binNostring
erpOrderCodeintegerERP code of the sales order.
intgOrderIdstringYour own order id, if the order has one.
pickListRulestring
remarksstring
requestIdstringYour request id, a UUID as in the vendor examples. Default: a new UUID.
reservePartiallystringY reserves what is available instead of the full quantity.

ginesys_cancel_reservation Cancel order reservation

Cancel part or all of a stock reservation on sales order lines (DELETE /erp/gds/api/reservation). Give erpOrderCode or intgOrderId to find the order.

ParameterTypeDescription
orderDetails *arrayOrder lines to cancel. At least one.
ownerSiteCode *integerSite that owns the reservation.
cancelRemarksstring
erpOrderCodeintegerERP code of the sales order.
intgOrderIdstringYour own order id, if the order has one.
requestIdstringYour request id, a UUID as in the vendor examples. Default: a new UUID.