KnoCommerce MCP by usefulapi
v1.2.1Read surveys, responses and attribution; create or delete response webhooks in KnoCommerce.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
knocommerce_list_surveys List surveys
List surveys with their status and title. Filter by live or draft, by title search, or by creation date. GET /api/rest/surveys.
| Parameter | Type | Description |
|---|---|---|
end_date | string | Created on or before this date (yyyy-mm-dd). |
page | integer | Page number, from 1 (default 1). |
page_size | integer | Surveys per page, 1 to 50 (default 25). |
search | string | Search surveys by title. |
start_date | string | Created on or after this date (yyyy-mm-dd). |
status | string | Only live or only draft surveys. |
knocommerce_list_responses List survey responses
List survey responses with cursor paging. Email and phone are redacted unless sanitize is false. Pass nextPageToken as page_token for older results, or prevPageToken as prev_page_token for newer ones. Send only one token. GET /api/rest/responses.
| Parameter | Type | Description |
|---|---|---|
completed_from | string | Completed on or after this date (yyyy-mm-dd). |
completed_to | string | Completed on or before this date (yyyy-mm-dd). |
expand_order | boolean | Include the related order of each response. |
max_page_size | integer | Responses per page, 1 to 250. |
page_token | string | nextPageToken from the previous reply. |
prev_page_token | string | prevPageToken from the previous reply. |
question_id | string | Only responses to this question id (UUID). |
sanitize | boolean | Redact email and phone (default true). Set false only when the user needs contact details. |
status | string | Only completed, partial or view_only responses. |
survey_id | string | Only responses to this survey id (UUID). |
knocommerce_count_responses Count survey responses
Count the responses that match a survey, status, question or completed date range. Use it before a long list to size the work. GET /api/rest/responses/count.
| Parameter | Type | Description |
|---|---|---|
completed_from | string | Completed on or after this date (yyyy-mm-dd). |
completed_to | string | Completed on or before this date (yyyy-mm-dd). |
question_id | string | Only responses to this question id (UUID). |
status | string | Only completed, partial or view_only responses. |
survey_id | string | Only responses to this survey id (UUID). |
knocommerce_get_attribution Get attribution analytics
Get customer attribution analytics (how customers found the store) for a first date range, with an optional second range to compare. It sends a POST body but changes no data. POST /api/rest/attribution.
| Parameter | Type | Description |
|---|---|---|
first_end * | string | First range end (yyyy-mm-dd). |
first_start * | string | First range start (yyyy-mm-dd). |
modeled | boolean | true = return modeled (computed) attribution data. |
second_end | string | Comparison range end (yyyy-mm-dd). Give it with second_start. |
second_start | string | Comparison range start (yyyy-mm-dd). Give it with second_end. |
knocommerce_list_benchmark_questions List benchmark questions
List the benchmark questions that KnoCommerce offers. GET /api/rest/questions/benchmarks.
knocommerce_list_webhooks List webhooks
List the webhook subscriptions of this API client (id, topic, URL, creation time). GET /api/rest/webhooks.
knocommerce_create_webhook Create a webhook
Subscribe an HTTPS URL to response/create events, so KnoCommerce posts each new response to it. The reply carries the signing secret, and the vendor returns it only on creation. POST /api/rest/webhooks.
| Parameter | Type | Description |
|---|---|---|
url * | string | HTTPS endpoint that receives the webhook payloads. |
knocommerce_delete_webhook Delete a webhook
Delete a webhook subscription by id (from knocommerce_list_webhooks). DELETE /api/rest/webhooks/{id}.
| Parameter | Type | Description |
|---|---|---|
webhook_id * | string | The webhook id (UUID, from knocommerce_list_webhooks). |