KnoCommerce MCP by usefulapi

v1.2.1
io.usefulapi/knocommerce Checked 1 day ago Published 1 hour ago

Read 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.

ParameterTypeDescription
end_datestringCreated on or before this date (yyyy-mm-dd).
pageintegerPage number, from 1 (default 1).
page_sizeintegerSurveys per page, 1 to 50 (default 25).
searchstringSearch surveys by title.
start_datestringCreated on or after this date (yyyy-mm-dd).
statusstringOnly 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.

ParameterTypeDescription
completed_fromstringCompleted on or after this date (yyyy-mm-dd).
completed_tostringCompleted on or before this date (yyyy-mm-dd).
expand_orderbooleanInclude the related order of each response.
max_page_sizeintegerResponses per page, 1 to 250.
page_tokenstringnextPageToken from the previous reply.
prev_page_tokenstringprevPageToken from the previous reply.
question_idstringOnly responses to this question id (UUID).
sanitizebooleanRedact email and phone (default true). Set false only when the user needs contact details.
statusstringOnly completed, partial or view_only responses.
survey_idstringOnly 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.

ParameterTypeDescription
completed_fromstringCompleted on or after this date (yyyy-mm-dd).
completed_tostringCompleted on or before this date (yyyy-mm-dd).
question_idstringOnly responses to this question id (UUID).
statusstringOnly completed, partial or view_only responses.
survey_idstringOnly 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.

ParameterTypeDescription
first_end *stringFirst range end (yyyy-mm-dd).
first_start *stringFirst range start (yyyy-mm-dd).
modeledbooleantrue = return modeled (computed) attribution data.
second_endstringComparison range end (yyyy-mm-dd). Give it with second_start.
second_startstringComparison 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.

ParameterTypeDescription
url *stringHTTPS 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}.

ParameterTypeDescription
webhook_id *stringThe webhook id (UUID, from knocommerce_list_webhooks).