VVeritia documentation

Proof of concept

POC overview

What the proof of concept demonstrates, what it deliberately leaves out, its topology, and every simplification compared with the target product.

Built from 4 source documents

What it demonstrates (in ~6 minutes)

  1. A provider registers live: declares its MCP endpoint, Veritia calls tools/list, parses it deterministically (no AI), shows a review screen, the admin clicks J'accepte, a non-guessable link is issued.
  2. A realistic provider — an existing Spring Boot service with its own Keycloak and REST API — carries the mandate layer as an isolated MCP route, without changing its core security.
  3. A human (mocked itsme) arrives via the provider's link, gets a bank-signed account link, and issues a scoped, signed mandate for one agent key.
  4. Claude Desktop calls the bank's tool through the local tool, which adds a DPoP proof per request; the bank verifies everything, applies its own rules, executes and logs.
  5. The human revokes; the next call is refused. A stolen token replayed without the key is refused.
  6. Two independent audit trails appear side by side, linked only by jti.

Deliberately out of scope

Not doneWhy
Any write action — read-only tools only (get_balance, list_transactions)Stays clear of PSD2 and of Daon's claim 1
Per-call behavioural scoring — static JWTOutside Daon's literal claim
Amount caps / account numbers in the UI or tokenKeeps the liability-wording review off the critical path. Narrower per-tool request caps (tool_constraints) were added 2026-10-12
Claiming to prove the tool call itselfPhase 4 never transits the platform — two logs, said out loud
Multi-hop delegation, live step-upKnown V1 gaps
The Integration SDKOut of POC scope
MCP resources and promptsMandates authorise actions with consequences (tools); adding them would rename allowed_tools for no demo value

Topology

graph TB
    subgraph client["Client machine (Windows)"]
        CD["Claude Desktop (the agent)"]
        OL["Outil Local — TypeScript MCP proxy<br/>holds agent key + mandate"]
        CD -- "stdio / MCP" --> OL
    end
    subgraph us["Veritia platform (POC)"]
        SPA["Angular SPA — all platform UI<br/>fake itsme, registration, mandate form, dashboard"]
        STUB["Node/Express stub — in-memory<br/>JWKS · sign · introspect · revoke · discover · account-link · setup codes · audit"]
        SPA --> STUB
    end
    subgraph pdsbox["Provider — Banque Test (podman compose)"]
        PDS["PDS — Spring Boot 3.5 + Spring AI MCP<br/>REST + MCP route · H2"]
        FILTER["Isolated filter on /mcp/** — mandate + DPoP + account-link re-verify"]
        KC["PDS's own Keycloak (bqt realm)"]
        PDS --- FILTER
        PDS --- KC
    end
    H["Human (browser)"] --> SPA
    STUB -- "Phase 0: tools/list · account-link assert" --> PDS
    OL -- "Authorization: DPoP + DPoP proof" --> FILTER
    FILTER -- "JWKS + introspection every call" --> STUB
    SPA -. "Trace Prestataire (read-only)" .-> PDS

Claude Desktop never talks to the provider directly. The platform is a browser SPA plus a deliberately tiny stub serving only what a real downstream process (the PDS) must verify. Components: POC components.

Deliberate simplifications

TargetPOCRevisit when
Real itsme (eIDAS OIDC)Fake "Sign in with itsme" screen, 3 test identitiesitsme sandbox access
Platform backend: Spring Boot + Keycloak identity broker doing RFC 8693 token exchange~100-line Node/Express stub signing with jose, in-memory stateBuilding the real platform (backend is throwaway; the Angular SPA may be kept)
Provider folds Veritia into its core trust (multi-issuer)Isolated route (option B)A pilot chooses multi-issuer
Account linking via silent OIDC (Variant 1)Front-channel signed assertion (Variant 2) with mocked customer login, server-to-server transport, no browser bindingLegal validation; a real provider
Revocation: per-call introspectionKept (fail-closed)—
PoP — format undecided for the productDPoP (RFC 9449) + bsha, without the DPoP-Nonce challengeProduction hardening
Mandate ~15 min + refresh1 hour, no refreshReal product
HTTPS everywhere + header redactionhttp://localhost, no TLSAny non-localhost deployment
Pseudonymous sub, agent_label treated as identifyingReadable itsme:be:sofie.maes; free-text labelReal itsme
Schema polling + drift re-confirmation (0.6–0.8)Registration + review onlyPost-POC
PostgreSQLPDS on H2 (file mode); stub in memoryProductisation (JPA-only code keeps it a config change)
Setup-code redemption rate-limited and loggedIn-memory map, no rate limitingBefore internet exposure
One agent key per machine — product strategy openOne key per machineDecision on the agent-key strategy
Published npx @veritia/mcp-serverLocal Windows-native checkout, node dist/index.js (package private: true, not on npm)Scope reserved + ready to publish

Technology and versions

PieceStack
PDSClone of IAMDevBox/keycloak-spring-boot-oauth2 (MIT, upstream 223cde71), Spring Boot 3.5.13, JDK 21, spring-ai-bom 1.1.8 (MCP Java SDK 0.18.3, Streamable HTTP), Nimbus JOSE, JPA + H2 + Flyway, Keycloak 26
Platform stubNode 20, TypeScript, Express 4, jose 5
SPAAngular 21 (standalone components) — needs Node 20.19+
Outil LocalTypeScript, @modelcontextprotocol/sdk 1.30.0, jose
MCP protocolNegotiates 2025-11-25 (session-scoped Streamable HTTP); 2026-07-28 not yet implemented by either SDK
Orchestrationpodman compose (3 containers: pds, pds-keycloak, web-platform-stub) inside WSL2; SPA via ng serve; Outil Local + Claude Desktop native on Windows

Ports: Keycloak 8080 · PDS 8081 · stub 3000 · SPA 4200.

Status, tests and how to run: POC status & testing. Exact wire: wire reference.

Generated 2026-11-30 by documentation/build.mjs · edit the Markdown, never this HTML.