keyCRM MCP by usefulapi
v1.6.1Read orders, buyers, products and pipeline cards; add or remove order tags in keyCRM.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
keycrm_list_orders List orders
List orders with filters. For unfulfilled orders, first call keycrm_list_order_statuses, then pass the status id here. Use include=buyer,products.offer,status to get the customer and products in one call. One page per call; keyCRM allows 20 requests per minute per key. GET /order.
| Parameter | Type | Description |
|---|---|---|
buyer_email | string | Filter by buyer email. |
buyer_phone | string | Filter by buyer phone. |
created_between | string | Date range in UTC, "YYYY-MM-DD HH:MM:SS, YYYY-MM-DD HH:MM:SS" (start, end). |
has_tracking_code | boolean | true = orders with a shipping tracking code; false = without. |
include | string | Comma-separated related objects to load, e.g. buyer,products.offer,status,manager,payments,shipping.lastHistory. Empty = none. |
limit | integer | Items per page, 1 to 50 (default 15). One page per call. |
page | integer | Page number (default 1). |
payment_status | string | Payment status: paid, overpaid, part_paid, not_paid (comma-separated allowed). |
shipping_between | string | Date range in UTC, "YYYY-MM-DD HH:MM:SS, YYYY-MM-DD HH:MM:SS" (start, end). |
sort | string | Sort field as keyCRM accepts it, e.g. id. |
source_id | string | Filter by order source id (from keycrm_list_order_sources). |
source_uuid | string | Filter by the order id in the source system. |
status_id | string | Filter by order status id (from keycrm_list_order_statuses). |
updated_between | string | Date range in UTC, "YYYY-MM-DD HH:MM:SS, YYYY-MM-DD HH:MM:SS" (start, end). |
keycrm_get_order Get an order
Get one order by id, with its products, buyer, status, payments and shipping when included. GET /order/{id}.
| Parameter | Type | Description |
|---|---|---|
order_id * | integer | Numeric keyCRM id. |
include | string | Comma-separated related objects to load, e.g. buyer,products.offer,status,payments,shipping.lastHistory,expenses. Empty = none. |
keycrm_list_order_statuses List order statuses
List the active order statuses with their ids and names. Call this first to find the status id for unfulfilled or new orders. GET /order/status.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Items per page, 1 to 50 (default 15). One page per call. |
page | integer | Page number (default 1). |
keycrm_list_order_sources List order sources
List order sources (sales channels) with their ids. GET /order/source.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Items per page, 1 to 50 (default 15). One page per call. |
page | integer | Page number (default 1). |
keycrm_list_order_tags List order tags
List order tags with their ids, for keycrm_add_order_tag and keycrm_remove_order_tag. GET /order/tag.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Items per page, 1 to 50 (default 15). One page per call. |
page | integer | Page number (default 1). |
keycrm_list_buyers List buyers
List buyers (customers) with filters by id, phone, email or date. Use include=company,manager,loyalty for related data. GET /buyer.
| Parameter | Type | Description |
|---|---|---|
buyer_email | string | Filter by buyer email. |
buyer_id | string | Filter by buyer id or ids. |
buyer_phone | string | Filter by buyer phone. |
created_between | string | Date range in UTC, "YYYY-MM-DD HH:MM:SS, YYYY-MM-DD HH:MM:SS" (start, end). |
include | string | Comma-separated related objects to load, e.g. company,manager,shipping,loyalty,custom_fields. Empty = none. |
limit | integer | Items per page, 1 to 50 (default 15). One page per call. |
page | integer | Page number (default 1). |
updated_between | string | Date range in UTC, "YYYY-MM-DD HH:MM:SS, YYYY-MM-DD HH:MM:SS" (start, end). |
keycrm_get_buyer Get a buyer
Get one buyer (customer) by id. GET /buyer/{id}.
| Parameter | Type | Description |
|---|---|---|
buyer_id * | integer | Numeric keyCRM id. |
include | string | Comma-separated related objects to load, e.g. company,manager,shipping,loyalty,custom_fields. Empty = none. |
keycrm_list_products List products
List catalog products with filters by id, category or archive status. Use include=custom_fields for custom fields. GET /products.
| Parameter | Type | Description |
|---|---|---|
category_id | string | Filter by category id or ids. |
include | string | Comma-separated related objects to load, e.g. custom_fields. Empty = none. |
is_archived | boolean | true = archived products only; false = active only. |
limit | integer | Items per page, 1 to 50 (default 15). One page per call. |
page | integer | Page number (default 1). |
product_id | string | Filter by product id or ids. |
keycrm_get_product Get a product
Get one catalog product by id. GET /products/{id}.
| Parameter | Type | Description |
|---|---|---|
product_id * | integer | Numeric keyCRM id. |
include | string | Comma-separated related objects to load, e.g. custom_fields. Empty = none. |
keycrm_list_offers List product variants
List product variants (offers) with their ids and SKUs. GET /offers.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Items per page, 1 to 50 (default 15). One page per call. |
page | integer | Page number (default 1). |
keycrm_list_stock_levels List stock levels
List stock levels per product variant. Set details=true to get the stock per warehouse. GET /offers/stocks.
| Parameter | Type | Description |
|---|---|---|
details | boolean | true = stock per warehouse instead of the total. |
limit | integer | Items per page, 1 to 50 (default 15). One page per call. |
offers_id | string | Filter by variant id or ids. |
offers_sku | string | Filter by variant SKU or SKUs (comma-separated). |
page | integer | Page number (default 1). |
keycrm_list_pipeline_cards List pipeline cards
List sales pipeline cards (deals) with filters by pipeline, status, source or date. GET /pipelines/cards.
| Parameter | Type | Description |
|---|---|---|
created_between | string | Date range in UTC, "YYYY-MM-DD HH:MM:SS, YYYY-MM-DD HH:MM:SS" (start, end). |
include | string | Comma-separated related objects to load, e.g. contact.client,products,manager,status,payments,custom_fields. Empty = none. |
limit | integer | Items per page, 1 to 50 (default 15). One page per call. |
page | integer | Page number (default 1). |
pipeline_id | string | Filter by pipeline id or ids. |
source_id | string | Filter by source id or ids. |
status_id | string | Filter by pipeline status id or ids. |
updated_between | string | Date range in UTC, "YYYY-MM-DD HH:MM:SS, YYYY-MM-DD HH:MM:SS" (start, end). |
keycrm_list_users List users
List team users (managers) with their ids, roles and status. Match a user id to the manager of an order from keycrm_list_orders with include=manager. GET /users.
| Parameter | Type | Description |
|---|---|---|
email | string | Filter by email. |
full_name | string | Filter by full name. |
limit | integer | Items per page, 1 to 50 (default 15). One page per call. |
page | integer | Page number (default 1). |
phone | string | Filter by phone. |
role_id | string | Filter by role id or ids. |
status | string | Filter by user status. |
user_id | string | Filter by user id or ids. |
keycrm_add_order_tag Add a tag to an order
WRITE: add an existing tag to an order. Changes the order in the customer's keyCRM account. Get tag ids from keycrm_list_order_tags. POST /order/{id}/tag/{tag_id}.
| Parameter | Type | Description |
|---|---|---|
order_id * | integer | Numeric keyCRM id. |
tag_id * | integer | Numeric keyCRM id. |
keycrm_remove_order_tag Remove a tag from an order
WRITE: remove a tag from an order in the customer's keyCRM account. The tag itself is kept. DELETE /order/{id}/tag/{tag_id}.
| Parameter | Type | Description |
|---|---|---|
order_id * | integer | Numeric keyCRM id. |
tag_id * | integer | Numeric keyCRM id. |