Skip to content

Web console: realistic bank support-agent scenario#22

Merged
imran-siddique merged 1 commit into
mainfrom
feat/web-console-bank-scenario
Jul 24, 2026
Merged

Web console: realistic bank support-agent scenario#22
imran-siddique merged 1 commit into
mainfrom
feat/web-console-bank-scenario

Conversation

@imran-siddique

Copy link
Copy Markdown
Contributor

Follow-up to #21. Makes the browser console a real-looking example instead of the filesystem toy.

Scenario

A bank support agent wired to its tools through the cMCP gateway:

  • get_balance, get_customerpermitted. Forwarded to the tool; customer PII comes back masked (ssn: ***-**-4821).
  • transfer_funds, export_recordsforbidden. Denied at the gateway (403 POLICY_DENY); the tool is never contacted. The agent can read, but it cannot move money or bulk-export data.

Close the session for the signed GatewayClaim, verify it offline. Verified locally end to end: allowed 2 / denied 2, cmcp verifypartially_verified (6/7, hardware check absent in software-only mode).

Changes

  • tools_server.py — mock core-banking MCP server with realistic records (replaces the shared filesystem server for this demo).
  • policies/support-agent.cedar — permit reads, forbid TransferFunds / ExportRecords.
  • catalog.json — the four tools with valid definition_hash, fingerprints, and compliance/sensitivity classifications.
  • UI + README reframed to the bank scenario.

🤖 Generated with Claude Code

Replace the filesystem tools (write/read/list) with a bank support agent: it may
look up account balances and customer profiles, but policy forbids it from moving
money or bulk-exporting records. The forbidden calls are denied at the gateway
(403) and never reach the tool. Customer PII comes back masked.

Adds a small mock core-banking MCP server with realistic canned records. Same
real gateway, signed TRACE record, and offline verify as before.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@imran-siddique
imran-siddique merged commit cca5fab into main Jul 24, 2026
3 checks passed
@imran-siddique
imran-siddique deleted the feat/web-console-bank-scenario branch July 24, 2026 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant