mcp-case-management
v1.1.0Case Management MCP Server — investigations, complaints, fraud disputes, deviations, and incidents across regulated industries: read and gated-write tools…
A horizontal case-management layer for ADK-Rust Enterprise agents working investigations, complaints, disputes, deviations, and incidents across regulated industries. 18 MCP tools spanning the full case lifecycle — intake, triage, investigation, evidence/chain-of-custody, SLA & regulatory clocks, and gated closure — with an immutable audit trail on every mutation. One case model serves many domain agents. Each agent specializes the generic Case via domain and case_type, while sharing the same lifecycle, evidence handling, task planning, SLA tracking, and audit trail.
Summary extracted from the README.
Case Management MCP Server
A horizontal case-management layer for ADK-Rust Enterprise agents working investigations, complaints, disputes, deviations, and incidents across regulated industries. 18 MCP tools spanning the full case lifecycle — intake, triage, investigation, evidence/chain-of-custody, SLA & regulatory clocks, and gated closure — with an immutable audit trail on every mutation.
What It Does
One case model serves many domain agents. Each agent specializes the generic Case via domain and case_type, while sharing the same lifecycle, evidence handling, task planning, SLA tracking, and audit trail.
| Domain | Agents this server backs |
|---|---|
| Banking | AML Transaction Monitor · Fraud Dispute Triage Agent |
| Energy & Utilities | Energy Theft Detection Agent |
| Healthcare | Patient Complaint Resolution Agent |
| Insurance | Regulatory Complaints Agent · SIU Fraud Triage Agent |
| Manufacturing | EHS Incident Assistant |
| Pharmaceuticals | GxP Deviation Investigator · Pharmacovigilance Case Triage |
| Retail & E-commerce | Fraud Review Agent |
Architecture
Key Principles
- One model, many domains — a single
Caseworkflow (intake → triaged → investigating → pending_info/escalated → resolved → closed) fits investigation, complaint, dispute, deviation, and incident processes. - Defensible by construction — every mutation appends an immutable
AuditEntry(actor, action, detail, timestamp). Investigations need a chain of custody. - Evidence by reference, not value — artifacts are stored by URI in a content store; the case never holds raw bytes or PII. Subjects/parties are opaque tokens/refs.
- Statutory clocks — per-
case_typeSLA policies set acknowledge/resolve deadlines (e.g.RegE-10-day-provisional,DOI-15-day-response,PV-15-day-expedited,GxP-deviation-30-day) with breach detection. - Gated writes — closing a case (legally significant) requires approval in production; valid workflow transitions are enforced; closure is blocked while tasks remain open.
- Configurable triage — keyword →
case_type/queue/priority/severity rules are added at runtime, no code changes.
Tools (18)
Agentic Workflows (3)
| Tool | What It Does | When To Use |
|---|---|---|
intake_case |
End-to-end: classify → deduplicate against open cases → create case (or link to existing) with SLA clocks | "Open a case for this alert/report" |
triage_case |
Re-classify, check SLA breach risk, find related open cases, recommend priority/queue/escalation (advisory) | "Triage this case" |
investigate_case |
Generate a domain-appropriate task checklist, attach it, advance the case to investigating | "Start the investigation" |
Case Lifecycle (8)
| Tool | What It Does |
|---|---|
create_case |
Open a case with domain, type, priority, severity, subject ref |
get_case |
Full details: parties, evidence, notes, tasks, SLA, audit trail |
search_cases |
Filter by text, domain, type, status, assignee, queue |
update_case |
Change priority, severity, queue, or tags |
transition_case |
Move through valid workflow states |
assign_case |
Assign to an investigator/handler |
close_case |
Close with disposition + summary (gated, blocked by open tasks) |
get_audit_trail |
Immutable chain of custody |
Evidence, Tasks & Parties (5)
| Tool | What It Does |
|---|---|
add_note |
Internal or external case-journal note |
add_evidence |
Attach an artifact reference to the chain of custody |
add_task |
Add an investigation task with optional due window |
complete_task |
Mark a task done |
link_entity |
Link an account/transaction/meter/claim/batch/device/policy by reference |
Triage Configuration (2)
| Tool | What It Does |
|---|---|
add_triage_rule |
Add a keyword → type/queue/priority/severity rule |
classify_text |
Classify free text with a confidence score (advisory) |
Workflow
intake ──▶ triaged ──▶ investigating ──▶ resolved ──▶ closed
│ │ ▲ ▲
└─▶ escalated ─┘ └─ pending_info┘
Transitions are validated; illegal hops (e.g. intake → investigating) are rejected. close_case refuses while any task is open and requires approval in production.
Example
> intake_case(
report: "9 cash deposits just under $10k over 5 days on account ACCT-8841",
domain: "banking", reporter: "tm-system", subject_ref: "acct:ACCT-8841")
→ outcome: case_created | CASE-1005 | aml_investigation
priority: high | severity: major | queue: AML Investigations
sla: { policy: "AML-30-day-review", acknowledge_due: ..., resolve_due: ... }
trace: [classify, deduplicate(no_duplicate), create_case]
> investigate_case(id: "CASE-1005", actor: "analyst.jane")
→ status: investigating | tasks_created: 4
(90-day history · KYC/CDD review · structuring indicators · SAR decision)
> close_case(id: "CASE-1005", actor: "analyst.jane",
disposition: "referred", summary: "SAR filed, ref SAR-2231")
→ gated in production; blocked if tasks remain open
Installation
1. Build
git clone https://github.com/zavora-ai/mcp-case-management
cd mcp-case-management
cargo build --release
2. Add to your MCP client
Claude Desktop / Kiro / Cursor / Windsurf:
{
"mcpServers": {
"case-management": {
"command": "/path/to/mcp-case-management"
}
}
}
3. Tune triage (optional, via tools)
> add_triage_rule(keywords: ["skimming","atm"], case_type: "fraud_dispute",
queue: "Fraud Disputes", priority: "high", severity: "major")
4. Use it
> intake_case(report: "Suspected meter tampering at MTR-3310", domain: "energy_utilities",
reporter: "amr-analytics", subject_ref: "meter:MTR-3310")
Data Handling & Privacy
- No raw PII. Subjects and linked entities are opaque references/tokens (
acct:…,meter:…,patient:tok-…). Evidence is referenced by content-store URI, never embedded. - Auditability. Every state change is appended to an immutable audit trail with actor, action, and timestamp — suitable for regulatory review.
- Least privilege. Read tools are
read_only; mutations areinternal_write; closure is gated (requires_approval).
MCP Server Manifest
server_id = "mcp_case_management"
display_name = "Case Management"
version = "1.1.0"
domain = "operations"
risk_level = "high"
writes_allowed = "gated"
transports = ["stdio"]
Contributors
License
Apache-2.0 — see LICENSE for details.
Part of the ADK-Rust Enterprise MCP server ecosystem.
Registry Compliance
This server implements the ADK MCP SDK contract:
- HealthCheck — async health probe for registry monitoring
- mcp-server.toml — manifest declaring tools, risk classes, and approval gates
- Structured tracing —
RUST_LOGenv-filter for observability
rmcp and MCP compatibility
This server is built with rmcp 3.1.2 and requires Rust 1.94.1 or newer. The rmcp 3 rollout retains legacy MCP initialization compatibility and targets MCP protocol revisions 2025-11-25 and 2026-07-28.
MCP 2026-07-28 rollout (P4 workflow/business)
This server uses rmcp 3.1.2 and adk-mcp-sdk 0.2 with a minimum supported
Rust version of 1.94.1. It accepts stateless MCP 2026 requests with
per-request protocol, client identity, and capability metadata while retaining
the legacy MCP 2025-11-25 initialize flow for ordinary tools.
- Tasks:
add_task,complete_task - MRTR approvals:
close_case - Discovery and routing: rmcp serves on-demand discovery and validates the
per-request protocol envelope; HTTP deployments can route with
Mcp-MethodandMcp-Name. The packaged binary currently uses stdio. - Caching:
tools/listreturns a publicttlMsof 60,000 for MCP 2026; rmcp omits the cache fields for legacy clients. - Deprecated extensions: this server does not add new Roots, Sampling, or dynamic client-registration dependencies.
Protected tools require MCP_REQUEST_STATE_KEY with at least 32 high-entropy
bytes. All replicas must share that key so sealed approval state can resume on
another instance. Approval state is bound to the client identity, tool, and
arguments and expires after two minutes. Missing identity, invalid state,
rejection, or legacy protocol use fails closed. Task records are process-local
for the current stdio runtime; use a durable task store before deploying the
server behind scale-to-zero HTTP infrastructure.