Conformance Runner Suites

Use Cases 4–8: MCP Tools, UI Extensions (ui:// & a2ui://), Safety Gates & Error Recovery

This workbench executes Use Cases 4 through 8 (POST /api/conformance/mcp-tools / operationId: runMcpToolsConformance) against a target Producer server strictly via the generated Producer OpenAPI client.


Automated Checks & Interactive Previews

  • Use Case 4 — Public / M2M Catalog Search & Tier 2 MCP App (ui:// + AppBridge): Uses an M2M client_credentials token to call tools/list and search_catalog_items, verifies 10+ digit item_id values are string-typed, reads ui://widget/catalog-carousel.html (text/html;profile=mcp-app), and mounts the interactive widget in a sandboxed iframe with AppBridge JSON-RPC 2.0 postMessage.
  • Use Case 5 — Bilateral Personal Data Retrieval (get_user_reservations): Verifies that get_user_reservations rejects M2M tokens with -32302 (USER_PERMISSION_DENIED) and returns the authenticated user's reservations when called with a user-linked OAuth 2.1 Bearer token.
  • Use Case 6 — Mutating Transaction & Tier 3 Declarative UI (create_reservation + A2uiSurfaceDocument): Calls create_reservation, validates the embedded a2ui://reservation-confirmation (application/json+a2ui) payload against A2uiSurfaceDocument (version, surfaceId, root, components, dataModel), and renders the declarative card below.
  • Use Case 7 — Annotation-Driven Safety Gates (update_reservation_notes vs. cancel_reservation): Executes update_reservation_notes (idempotentHint: true, destructiveHint: false) with automatic retry, and halts cancel_reservation (destructiveHint: true) behind the Destructive Action Confirmation Gate unless explicitly confirmed.
  • Use Case 8 — Structured JSON-RPC Error Codes (-32300..-32500) & Stateless Session Hydration: Exercises all 5 standard error codes plus isError: true, and verifies that a follow-up request with a rotated Mcp-Session-Id header is transparently hydrated without HTTP 404.

1. Run MCP Tools Conformance Suite (Use Cases 4–8)

Configure the target Producer Base URL and Destructive Action Confirmation Gate setting to run Use Cases 4–8.

2. Live Tier 2 (ui:// MCP App) & Tier 3 (a2ui:// Card) Preview

When Use Cases 4 and 6 run, the fetched ui://widget/catalog-carousel.html MCP App widget and a2ui://reservation-confirmation declarative surface render interactively below.