cQnce MCP
v0.1.3Add human approval to AI agent workflows through cQnce authorization tools.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
submit_authorization_request
Submit a human authorization request to cQnce. Use this BEFORE performing any risky, destructive, or irreversible action (e.g. deploying to production, executing a database migration, making a payment, modifying credentials). Returns a requestId that you can pass to wait_for_approval or poll_request_status.
| Parameter | Type | Description |
|---|---|---|
payload * | object | Structured description of the action requiring authorization. Include all context a human needs to approve or reject (e.g. action, target, amount, reason). |
callbackUrl | string | Webhook URL to notify when the request is resolved. |
metadata | object | Optional additional context (correlation IDs, tags, environment, etc.). |
routingMode | string | Override the routing mode configured on the matching rule. |
routingRuleId | string | Directly select a routing rule by ID, bypassing filter evaluation. |
wsClientId | string | WebSocket client ID for real-time status delivery. |
poll_request_status
Check the current status of a cQnce authorization request. Terminal statuses are: APPROVED, REJECTED, EXPIRED, CANCELLED. PENDING means the request is still waiting for a human decision. For a blocking wait, use wait_for_approval instead.
| Parameter | Type | Description |
|---|---|---|
requestId * | string | The request ID returned by submit_authorization_request. |
wait_for_approval
Submit an authorization request and BLOCK until a human approves or rejects it (or until the timeout elapses). This is the primary tool for human-in-the-loop workflows: call it, wait for the result, and proceed ONLY if status is APPROVED. If status is REJECTED or EXPIRED, do NOT proceed with the action.
| Parameter | Type | Description |
|---|---|---|
payload * | object | Structured description of the action requiring authorization. Include all context a human needs to approve or reject. |
callbackUrl | string | Webhook URL to notify when the request is resolved. |
metadata | object | Optional additional context (correlation IDs, tags, environment, etc.). |
pollIntervalMs | integer | How often to poll for a status update in milliseconds (default: 3000). |
routingMode | string | Override the routing mode configured on the matching rule. |
routingRuleId | string | Directly select a routing rule by ID, bypassing filter evaluation. |
timeoutMs | integer | Maximum milliseconds to wait for a human decision before giving up (default: 300000 = 5 min). |
cancel_request
Cancel a pending cQnce authorization request. Use this if the action is no longer needed and you want to release the human agents.
| Parameter | Type | Description |
|---|---|---|
requestId * | string | The request ID to cancel. |
list_requests
List authorization requests for this project. Useful for monitoring ongoing requests, debugging workflows, and auditing decisions.
| Parameter | Type | Description |
|---|---|---|
endDate | string | ISO 8601 end date filter (e.g. 2024-12-31). |
limit | integer | Maximum number of results to return (default: 50). |
offset | integer | Pagination offset (default: 0). |
projectId | string | Filter by project ID (admin token required when used). |
startDate | string | ISO 8601 start date filter (e.g. 2024-01-01). |
status | string | Filter by request status. |
tags | array | Filter by one or more tags. |
get_request
Get full details of a single authorization request, including payload, metadata, agent responses, and current status.
| Parameter | Type | Description |
|---|---|---|
requestId * | string | The request ID to retrieve. |