
Desk
io.github.LAHutchins91v1.0.1更新于 Oct 5, 2026
Approved support answers, refund rules, and escalation limits for AI assistants, over MCP.
概览
让助手存储并查询支持团队已批准的答复、退款规则和升级限制,并据此核对承诺。
- 功能
- Desk 保存支持团队已批准的政策,并提供工具来创建支持台、保存和搜索已批准答复、保存和列出退款规则、升级限制与已批准承诺,以及获取支持台上下文。两个评估工具用于核对措辞:evaluate_commitment 只对已存储的措辞返回 APPROVED,否则返回 REFUSED;evaluate_escalation 会拒绝超出已保存限制的渠道或层级。助手应在回复前读取该政策,而不是自行编造更宽松的承诺。
- 适用场景
- 适用于必须在预先批准措辞范围内作答、并拒绝未获批准的退款、功能或时间承诺的客服或面向客户的助手。当你希望助手在做出任何承诺前查询一份统一存储的政策时,值得添加。
- 运行要求
- 远程 Streamable HTTP 端点(服务器的 /mcp 路径),或本地运行的实例(npm 安装、构建、启动;也提供 Docker 镜像)。需使用 Desk 账户进行 OAuth 登录;README 说明不要传入 Authorization 头,也不要粘贴 API 密钥或密码。支持工具需要 Pro 或有效试用(14 天,之后为 Pro)。托管账户使用 Supabase 进行登录和政策存储,使用 Stripe 计费;无账户的本地 stdio 将政策存储在 DESK_DATA_DIR 下。
安装
在 SourceWeft 中
- 打开 控制台中的 Desk,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。
其他 MCP 客户端
把它添加到你客户端的 mcpServers 配置中。
{
"mcpServers": {
"desk": {
"type": "http",
"url": "https://desk-mcp.vercel.app/mcp"
}
}
}README
Desk
Desk keeps a support team's approved answers, refund rules, and escalation limits, then lets an assistant read that policy before it replies.
An assistant can store and look up what the team has approved. It must refuse a refund, a feature, or a timeline that is not in the approved set. It does not invent a softer promise.
It works with ChatGPT, Claude, Gemini, Grok, and Cursor, plus any other MCP client that can do Streamable HTTP and OAuth. It is not a ChatGPT-only plugin.
Sign in with your Desk account when the assistant opens OAuth. Do not paste an API key or password into a header. Support tools need Pro or an active trial. The trial is 14 days, then Pro. Checkout shows the plan terms. This page does not print a price.
What the assistant can do
After you approve the connection, the server exposes these tools:
- list_support_desks
- create_support_desk
- save_approved_answer
- search_approved_answers
- save_refund_rule
- list_refund_rules
- save_escalation_limit
- list_escalation_limits
- save_approved_commitment
- list_approved_commitments
- evaluate_commitment
- evaluate_escalation
- get_desk_context
evaluate_commitment returns APPROVED only for wording already stored. Otherwise it returns REFUSED and the assistant must not promise that refund, feature, or timeline. evaluate_escalation refuses a channel or tier that is outside the saved limit. The assistant only calls these tools when you and the host allow it.
Connect
Run the server and use its /mcp path. With the default local base, that is http://localhost:3000/mcp. A deployed host uses the same path on APP_BASE_URL.
Cursor, in ~/.cursor/mcp.json or a project .cursor/mcp.json:
Claude Code:
Do not pass an Authorization header. Other clients add the same URL, choose OAuth, and leave client id and secret empty. Desk supports dynamic client registration. Full steps for ChatGPT, Claude, Gemini, Grok, and Cursor are on the server's /connect page.
When stdin is a terminal, Desk serves Streamable HTTP. When stdin is not a terminal, it also speaks MCP on stdio. That is the same choice continuity-mcp makes, so a launcher such as Glama can attach stdin.
Registry metadata for this server is in server.json (io.github.LAHutchins91/desk).
Run
Hosted accounts use Supabase for sign-in and policy storage, and Stripe for the 14-day trial and Pro. Copy .env.example to .env and set the variables there. supabase/schema.sql creates the tables. Stripe price ids belong in the environment. Desk never displays the amount.
Local stdio, with no account configured, stores one operator's policy under DESK_DATA_DIR (or the system temp directory). HTTP tool calls still require OAuth and an active trial or Pro.
A container without a terminal on stdin speaks MCP on stdio and still listens on port 3000.
来源:README.md,提交 a85f80a
工具
0版本历史
1- v1.0.1最新Oct 5, 2026
