
Casemargin Mcp Server
com.casemargin由 casemargin.com 发布v1.0.2更新于 Oct 24, 2026
Turn a support ticket into a structured case brief, or score its L2 escalation readiness.
概览
把粘贴的支持工单文本转成结构化案件简报,或给出 L2 升级就绪度评分,由 CaseMargin 的 AI 驱动。
- 可以做什么
- 根据粘贴的工单对话生成结构化案件简报:快速扫描含评估、下一步与状态,以及当前问题、已采取行动和关键背景。
- 对工单的 L2 升级就绪度打分(0–100),附各维度说明、L2 可能提出的问题和缺失项。
- 两个工具都只处理你提供的工单文本并返回结构化 JSON,不连接任何工单系统。
- 适用场景
- 适合客服人员或团队负责人在转交工单前快速获得一致、结构化的摘要,或判断案件是否具备升级到 L2 的证据。适用于能把工单文本粘贴或传入 AI 客户端的工作流程。
- 运行要求
- 通过 npx 以 stdio 在本地运行(需 Node.js),无需预先安装。可选的 CASEMARGIN_API_KEY 可将简报生成从匿名按 IP 限额提升到账户配额;就绪度检查无需密钥。需要能访问 CaseMargin 的 API。
安装
在 SourceWeft 中
- 打开 控制台中的 Casemargin Mcp Server,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
CaseMargin MCP Server
CaseMargin MCP server exposes support case reasoning tools — generate structured case briefs and check escalation readiness from any MCP-compatible AI client (Claude Desktop, Claude Code, Cursor, and others). It sits above helpdesk data layers: it doesn't read tickets from Zendesk or any ticketing system — you pass ticket content in, it returns structured analysis powered by the same AI that runs casemargin.com.
Tools
generate_case_brief
Generate a structured case brief from a support ticket thread. Returns an assessment, what has been tried, current status, and recommended next step.
Input: ticket_content (string) — the full ticket thread: messages, internal notes, whatever you paste or pipe in. 10–50,000 characters.
Output (structured JSON):
check_escalation_readiness
Analyze whether a support ticket is ready to escalate to L2. Returns a readiness score (0–100), dimensional breakdown, predicted L2 questions, and missing items.
Input: ticket_content (string) — the ticket notes to evaluate. 10–20,000 characters.
Output (structured JSON):
Installation
Nothing to install ahead of time — npx fetches the package on first run. Add this to your claude_desktop_config.json and restart Claude Desktop:
Cursor and Claude Code take the same shape of config in their own files. The config lives at ~/Library/Application Support/Claude/ on macOS and %APPDATA%\Claude\ on Windows. Quit and reopen the app rather than closing the window — the config is read at process start.
The API key is optional — without it, brief generation runs on the anonymous per-IP tier. Get a free key (8 briefs/month) at casemargin.com/signup. The escalation readiness check is free and needs no key. Drop the whole env block to run keyless.
Also on the MCP Registry as com.casemargin/casemargin-mcp-server, and on npm.
Running from source
Only needed if you're modifying the server:
Then point command at node and args at the absolute path of the built dist/index.js.
Example usage
"What's happening with this ticket?"
Paste a ticket thread into your AI client and ask what's going on:
You: What's happening with this ticket?
Customer reports VPN drops every ~30 min since Monday. Rebooted router, reinstalled client v4.2, issue persists. Firewall logs show DHCP lease renewing every 30 min. Customer is on the Premium SLA, CFO is affected. Told them we'd escalate if not fixed by Friday…
Claude calls generate_case_brief and returns a structured brief:
Quick scan — Recurring VPN disconnects tied to a 30-minute DHCP lease renewal on a Premium SLA account with an executive affected; moderate-to-high urgency. Next step: Extend the DHCP lease time on the affected scope and confirm whether the drops track lease renewals. Status: Actively being worked.
…plus the full breakdown of current problem, actions already taken (each with outcome), and key context.
"Is this ticket ready to escalate?"
You: Is this ticket ready to escalate to L2?
(pastes the same thread)
Claude calls check_escalation_readiness and returns the score with a breakdown:
62/100 — borderline. Problem clarity is strong (80), but troubleshooting evidence is thin (55) — no packet capture or client logs attached — and business impact is asserted, not quantified (40). Before escalating, L2 will ask: "What do the VPN client logs show at the moment of the drop?" and "Does the issue follow the user across networks?"
Security and privacy
The server makes network calls and reads environment variables, so supply-chain scanners flag both. SECURITY.md documents the full extent: one outbound origin, two environment variables, and no filesystem, subprocess, dynamic-code, install-script, or telemetry access at all.
Two things worth knowing up front. Only the ticket_content you pass to a tool leaves your machine — nothing else is collected, and raw ticket text is never stored server-side. And because the API key travels as a request header, the server refuses to start if CASEMARGIN_API_URL points at a non-https origin other than loopback, rather than silently sending your key in cleartext.
Releases are published from GitHub Actions with npm provenance, so you can verify the tarball came from this repository:
About CaseMargin
CaseMargin turns raw support tickets into structured case briefs so the next agent picks up cold in seconds, not minutes. The web app, Zendesk integration, and free Escalation Readiness Score tool live at casemargin.com.
来源:README.md,提交 f850ea3
工具
0版本历史
1- v1.0.2最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分