Twice Commerce MCP by usefulapi

v1.14.0
io.usefulapi/twice-commerce Checked 2 days ago Published 1 day ago

Read orders, customers, catalog, stock and availability; add order comments in Twice Commerce.

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

twicecommerce_get_merchant Get merchant profile

Get the merchant account: name, country, currency, timezone, languages, plan and enabled features. Good first call. Admin API: GET /v1/admin/merchant.

twicecommerce_list_service_locations List locations

List pickup and return locations (service locations). Use the ids to filter orders and stock items. Admin API: GET /v1/admin/service-locations/.

ParameterTypeDescription
scopestringWhich locations to list (default active).

twicecommerce_list_taxes List taxes

List the tax rates set up for the merchant. Admin API: GET /v1/admin/taxes/.

twicecommerce_list_tags List tags

List tags used on inventory, catalog, customers or orders. Admin API: GET /v1/admin/tags.

ParameterTypeDescription
scope *stringWhich area's tags to list.

twicecommerce_list_orders List orders

List orders with status, customers, line items, totals and dates. The API does not paginate this list, so the result is cut to `limit` rows (newest as returned by the API); the full count is in totalCount. Narrow it with location_ids. Admin API: GET /v1/admin/orders.

ParameterTypeDescription
limitintegerMaximum rows to return (default 50, max 200).
location_idsarrayOnly orders at these service location ids.

twicecommerce_get_order Get an order

Get one order by id: status, customers, line items, stock items, comments, totals and pricing. Admin API: GET /v1/admin/orders/{orderId}.

ParameterTypeDescription
order_id *stringThe order id (uuid, from twicecommerce_list_orders).

twicecommerce_get_order_payments Get order payments

List the payment transactions of one order (needs a key with the Payments area). Admin API: GET /v1/admin/orders/{orderId}/payments.

ParameterTypeDescription
order_id *stringThe order id (uuid).

twicecommerce_get_order_invoices Get order invoices

List the invoices of one order, optionally with the upcoming scheduled subscription invoices (needs a key with the Payments area). Admin API: GET /v1/admin/orders/{orderId}/invoices.

ParameterTypeDescription
order_id *stringThe order id (uuid).
include_scheduledbooleanAlso list scheduled (upcoming) subscription invoices.

twicecommerce_list_customers List customers

List customers, with an optional text search over name and email and paging. Admin API: GET /v1/admin/customers.

ParameterTypeDescription
pageintegerPage number (default 1).
searchstringText to search for (contains match).
sizeintegerRows per page (default 25, max 100).
sort_bystring
sort_directionstringSort direction.

twicecommerce_get_customer Get a customer

Get one customer by id: contact details, addresses and type. Admin API: GET /v1/admin/customers/{customerId}.

ParameterTypeDescription
customer_id *stringThe customer id (uuid, from twicecommerce_list_customers).

twicecommerce_get_customer_orders Get customer orders

List the orders of one customer. Admin API: GET /v1/admin/customers/{customerId}/orders.

ParameterTypeDescription
customer_id *stringThe customer id (uuid).

twicecommerce_list_catalog_items List catalog items

List catalog items (the listings customers rent, buy or subscribe to), with an optional name search and paging. Admin API: GET /v1/admin/catalog/.

ParameterTypeDescription
namestringOnly listings whose name contains this text.
pageintegerPage number (default 1).
sizeintegerRows per page (default 25, max 100).
sort_bystring
sort_directionstringSort direction.

twicecommerce_get_catalog_item Get a catalog item

Get one catalog item by id: name, status, variants, rules and pricing links. Admin API: GET /v1/admin/catalog/{id}.

ParameterTypeDescription
catalog_item_id *stringThe catalog item id (from twicecommerce_list_catalog_items).

twicecommerce_check_availability Check availability for a period

Check whether one catalog item can be booked for a date-time window (before you create an order). Dates are ISO 8601 date-times in UTC, for example 2026-11-05T09:00:00Z. Admin API: GET /v1/admin/availability/{catalogItemId}/period.

ParameterTypeDescription
catalog_item_id *stringThe catalog item id.
from *stringStart date-time, ISO 8601 UTC (example 2026-11-05T09:00:00Z).
to *stringEnd date-time, ISO 8601 UTC.
location_idsarrayOnly check these service location ids.

twicecommerce_list_discount_codes List discount codes

List discount codes with usage and validity, with paging. Admin API: GET /v1/admin/discount-codes.

ParameterTypeDescription
pageintegerPage number (default 1).
searchstringText to search for.
sizeintegerRows per page (default 25, max 100).

twicecommerce_list_stock_items List stock items

List stock items (the physical units, called articles in the API), with paging. Narrow by location ids. Admin API: GET /v1/admin/articles/.

ParameterTypeDescription
location_idsarrayOnly stock items at these service location ids.
pageintegerPage number (default 1).
sizeintegerRows per page (default 25, max 100).

twicecommerce_get_stock_item Get a stock item

Get one stock item by id: SKU, condition, quantity, location and status. Admin API: GET /v1/admin/articles/{id}.

ParameterTypeDescription
stock_item_id *stringThe stock item id (from twicecommerce_list_stock_items).

twicecommerce_list_skus List SKUs

List SKUs (the product definitions that stock items belong to), with paging. Admin API: GET /v1/admin/skus.

ParameterTypeDescription
pageintegerPage number (default 1).
sizeintegerRows per page (default 25, max 100).

twicecommerce_get_sku Get a SKU

Get one SKU by id. Admin API: GET /v1/admin/skus/{skuId}.

ParameterTypeDescription
sku_id *stringThe SKU id (uuid, from twicecommerce_list_skus).

twicecommerce_add_order_comment Add a comment to an order

WRITE: add a comment to an order (needs a key with Write access to Order details). Each call adds a new comment; do not repeat a call that succeeded. Admin API: POST /v1/admin/orders/{orderId}/comments.

ParameterTypeDescription
content *stringThe comment text.
order_id *stringThe order id (uuid).