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)
- 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. - 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.
- 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.
- 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.
- The human revokes; the next call is refused. A stolen token replayed without the key is refused.
- Two independent audit trails appear side by side, linked only by
jti.
Deliberately out of scope
| Not done | Why |
|---|---|
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 JWT | Outside Daon's literal claim |
| Amount caps / account numbers in the UI or token | Keeps 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 itself | Phase 4 never transits the platform — two logs, said out loud |
| Multi-hop delegation, live step-up | Known V1 gaps |
| The Integration SDK | Out of POC scope |
MCP resources and prompts | Mandates 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)" .-> PDSClaude 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
| Target | POC | Revisit when |
|---|---|---|
| Real itsme (eIDAS OIDC) | Fake "Sign in with itsme" screen, 3 test identities | itsme sandbox access |
| Platform backend: Spring Boot + Keycloak identity broker doing RFC 8693 token exchange | ~100-line Node/Express stub signing with jose, in-memory state | Building 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 binding | Legal validation; a real provider |
| Revocation: per-call introspection | Kept (fail-closed) | — |
| PoP — format undecided for the product | DPoP (RFC 9449) + bsha, without the DPoP-Nonce challenge | Production hardening |
| Mandate ~15 min + refresh | 1 hour, no refresh | Real product |
| HTTPS everywhere + header redaction | http://localhost, no TLS | Any non-localhost deployment |
Pseudonymous sub, agent_label treated as identifying | Readable itsme:be:sofie.maes; free-text label | Real itsme |
| Schema polling + drift re-confirmation (0.6–0.8) | Registration + review only | Post-POC |
| PostgreSQL | PDS on H2 (file mode); stub in memory | Productisation (JPA-only code keeps it a config change) |
| Setup-code redemption rate-limited and logged | In-memory map, no rate limiting | Before internet exposure |
| One agent key per machine — product strategy open | One key per machine | Decision on the agent-key strategy |
Published npx @veritia/mcp-server | Local Windows-native checkout, node dist/index.js (package private: true, not on npm) | Scope reserved + ready to publish |
Technology and versions
| Piece | Stack |
|---|---|
| PDS | Clone 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 stub | Node 20, TypeScript, Express 4, jose 5 |
| SPA | Angular 21 (standalone components) — needs Node 20.19+ |
| Outil Local | TypeScript, @modelcontextprotocol/sdk 1.30.0, jose |
| MCP protocol | Negotiates 2025-11-25 (session-scoped Streamable HTTP); 2026-07-28 not yet implemented by either SDK |
| Orchestration | podman 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.