
Quirna
io.github.quirna由 GitHub 账号 quirna 发布v0.1.2更新于 Oct 24, 2026
Ask a human before your agent acts: approval requests decided on a phone.
概览
Quirna 让 AI 代理在执行重要操作前,通过手机向真人发起审批请求,只有对方同意后才继续。
- 可以做什么
- 按操作类别发起审批请求,可附带标题信息、标识信息、环境与风险等级
- 对已存在且仍待处理的审批请求按 ID 继续等待结果
- 返回 authorized 真/假的结构化结果,非批准一律报告为未授权
- 适用场景
- 适用于会执行退款、生产部署、破坏性迁移等重要操作的代理,需要由组织策略指定的真人在手机上做出决定,并留下可验证的签署记录。
- 运行要求
- 通过 npx 或全局安装 @quirna/mcp 在本地运行。需要在 QUIRNA_API_KEY 中提供 Quirna 控制台注册的 System 密钥,并配置策略,审批人手机上需安装 Quirna 移动应用(目前为内测)。可选变量用于设置请求者名称与 ID、默认环境、等待时长和 API 地址。
安装
在 SourceWeft 中
- 打开 控制台中的 Quirna,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
@quirna/mcp
Ask a human before your agent acts. Official Quirna server for the Model Context Protocol.
Add one block of config and your agent gains a tool it can call before doing something consequential — a refund, a production deploy, a destructive migration. A named human approves it on their phone. The agent proceeds only if they said yes, and the decision is signed and kept.
Nothing moves until someone says yes.
Your agent's framework may already have a way to pause for confirmation. This is different in three ways that matter once it is not just you at the terminal:
- The decision leaves the loop. It goes to whoever your policy nominates, on their phone, behind Face ID — not to whoever happens to be watching the agent run.
- Who approves is policy, not prompt. Quorum, risk tier and which group is asked live in your organization's settings. The agent cannot choose its own approvers, and neither can a prompt injection.
- It leaves evidence. Every decision is signed at the moment it is made, and exports to a file a third party can verify without trusting us.
Install
Nothing to install: the config below runs it on demand with npx. To pin it,
npm install -g @quirna/mcp and use quirna-mcp as the command.
Before you start
The mobile app is in private beta. Decisions are made on the phone and nowhere else — the Console configures policies and never decides one — so without the app an approval request is created and then waits until it expires. Write to [email protected] and we will get you in. Everything else below works today.
Then, in the Console:
- A System key. Open Users → Systems and register one for this agent.
You get a key (
ck_…), shown once. - A Policy, which decides who approves a given kind of request and how many of them are needed.
- The app, on the phone of whoever will approve.
Configure your agent
Claude Code — claude mcp add quirna --env QUIRNA_API_KEY=ck_… -- npx -y @quirna/mcp
Cursor (~/.cursor/mcp.json), Claude Desktop
(claude_desktop_config.json) and most other clients take the same shape:
Environment
On the key. It lives in your agent client's config file, which is often in a dotfile and sometimes in a repo. Treat it as a deployment credential: give each agent its own System rather than sharing one, scope it in the Console to the kinds it may request, and rotate it there if the file gets somewhere it should not be. A System key can only ask — it can never approve anything.
The tools
request_approval
Creates the request and waits for a human.
Notably absent: who approves, how many are needed, how long it stays open. Those are the organization's to decide in the Console, once, for every caller — an agent that could pick its own approvers would not be a control.
check_approval
Takes an approval_id and waits for that existing request. Use it when
request_approval came back still pending; calling request_approval again
would put the same action in front of a second human.
What the agent gets back
Anything that is not APPROVED opens with NOT AUTHORIZED, followed by
why, and by an explicit instruction not to perform the action. The structured
result carries authorized: true | false for code that parses instead of
reading.
Asking and getting an answer is a successful tool call, whatever the answer
was — a denial is the product working, not a failure. isError is reserved for
the cases where the tool could not run at all and nothing was learned: Quirna
unreachable, a key rejected, the call aborted. So an agent can tell "a human
said no" from "the approval system is down", which are opposite situations, and
nothing invites it to retry a denial into a second person's hands.
When nobody answers
An agent running unattended at 3am will hit this: the request expires and the action is never authorized. That is the correct outcome, not a bug to design around. If your agent needs to run without anyone awake, the answer is a policy whose condition does not require a human for that case — not a longer timeout.
Two timeouts are in play, and they are not the same:
QUIRNA_WAIT_MS(default 90s) is how long a tool call waits before returning the approval id so the agent can resume. It exists because agent clients kill long tool calls. The request stays live.- The policy's expiry (set in the Console) is how long the request stays open. Only this one can time a request out.
Links
- quirna.com — what it is
- console.quirna.com — policies, groups, systems
@quirna/sdk— for calling Quirna from your own code instead
MIT © Quirna
来源:README.md,提交 8dc9bb8
工具
0版本历史
1- v0.1.2最新Sep 27, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分