
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
