The full upstream README, mirrored here for reference. Install config, tool schemas, adoption signals, and an original overview live on the CQnce MCP listing page.
Official MCP server for cQnce — add human-in-the-loop authorization to any AI agent or workflow.
Connect Claude, Cursor, GitHub Copilot, or any MCP-compatible client to cQnce so the AI can request human approval before performing risky or irreversible actions.
Set the CQNCE_API_KEY environment variable to your project API key before running.
The agent calls wait_for_approval or submit_authorization_request itself, as instructed in the system prompt or via tool discovery. This is the easiest integration path and works well for supervised workflows.
Risk: a compromised or misconfigured agent may simply not call the tool.
The host application or executor intercepts every sensitive tool call before it runs and requires a prior cQnce approval, regardless of what the agent requested. The gate lives outside the model context — the agent cannot skip it.
This is a real security boundary. Build enterprise and compliance-sensitive integrations on this mode.
Add to ~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows):
Add to .cursor/mcp.json in your project (or the global ~/.cursor/mcp.json):
For cloud-hosted agents that cannot run local processes, use the cQnce MCP Worker deployed on Cloudflare Workers. It speaks the MCP Streamable HTTP transport and is stateless — every request authenticates with your API key.
Configure your cloud agent framework to connect to:
Example (Claude API with MCP):
The Worker source is in this repository. Deploy your own instance to Cloudflare Workers:
Set CQNCE_BASE_URL in the Cloudflare dashboard if you use a private cQnce deployment (defaults to https://api.cqnce.app).
| Variable | Required | Description |
|---|---|---|
CQNCE_API_KEY | Yes | Project API key from cqnce.app |
CQNCE_BASE_URL | No | API base URL (default: https://api.cqnce.app) |
CQNCE_ADMIN_TOKEN | No | Tenant admin JWT — enables project/agent/team management tools |
CQNCE_API_KEY)| Tool | Description |
|---|---|
wait_for_approval | Submit a request and block until a human approves or rejects it. This is the primary tool for human-in-the-loop workflows. |
submit_authorization_request | Submit a request and return the requestId immediately (non-blocking). |
poll_request_status | Check the current status of a request by ID. |
cancel_request | Cancel a pending request. |
list_requests | List requests for this project (filterable by status, date, tags). |
get_request | Get full details of a single request including agent responses. |
CQNCE_ADMIN_TOKEN)Project management, routing rule configuration, agent/team management, and webhook callbacks.
When integrating Claude via the Anthropic API, add this system prompt to enforce the authorization policy automatically — without relying on the user to request it each time:
Once configured, you can tell Claude:
"Before deleting the production database, ask for human approval via cQnce."
Claude will call wait_for_approval with the action details, pause until a human approves or rejects from the cQnce mobile app, and only proceed if the status is APPROVED. If rejected with a reason (e.g. "missing rollback plan"), Claude will gather that information and resubmit automatically.