
cQnce MCP
io.github.cqnce-appv0.1.3更新於 Sep 28, 2026
Add human approval to AI agent workflows through cQnce authorization tools.
概覽
讓 AI 助理在執行高風險或不可逆操作前,請求並等待人工核准。
- 功能
- 將 MCP 用戶端連線到 cQnce,讓助理可以提交授權請求並阻塞等待人工核准或拒絕。核心工具包括 wait_for_approval、submit_authorization_request、poll_request_status、cancel_request、list_requests 與 get_request。使用管理員權杖後,另提供專案、路由規則、代理、團隊與 webhook 管理工具。請求可攜帶操作細節,以及日誌、diff、截圖等附件供審核者參考。
- 適用情境
- 當代理在刪除資料、部署到正式環境、轉移資金或變更憑證與權限之前,必須取得人工決定時使用。它適合需要核准環節的監督式工作流程,也適合在正式環境中由宿主應用程式強制執行核准閘門、而非依賴代理主動呼叫工具的情境。若代理的操作不涉及核准要求,則無需使用。
- 執行需求
- 需要 cQnce 帳號與專案 API 金鑰:本機 npm 套件透過環境變數 CQNCE_API_KEY 提供,遠端端點 mcp.cqnce.app 則透過 Authorization Bearer 標頭提供。執行本機套件需要 Node.js 18 以上版本。選用的環境變數 CQNCE_ADMIN_TOKEN(租用戶管理員 JWT)可啟用專案、代理、團隊與回呼管理工具。需要能連線 cQnce API 的網路,也可透過選用的 CQNCE_BASE_URL 指向私有部署。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 cQnce MCP,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"cqnce-mcp": {
"type": "http",
"url": "https://mcp.cqnce.app/mcp"
}
}
}README
@cqnce/mcp-server
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.
Quick start
Set the CQNCE_API_KEY environment variable to your project API key before running.
Approval modes
Mode 1 — Agent-requested approval
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.
Mode 2 — Enforced approval gate (recommended for production)
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):
Cursor
Add to .cursor/mcp.json in your project (or the global ~/.cursor/mcp.json):
Any MCP client (stdio transport)
Cloud agents (Streamable HTTP / remote MCP)
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):
Self-hosting
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).
Configuration
Tools
Core (requires CQNCE_API_KEY)
Admin (requires CQNCE_ADMIN_TOKEN)
Project management, routing rule configuration, agent/team management, and webhook callbacks.
Recommended system prompt
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:
Example
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.
Requirements
- Node.js 18+
- A cQnce account and project API key — sign up free
來源:README.md,提交 ae05e67
工具
0版本歷史
1- v0.1.3最新Sep 28, 2026


