Hive Mind
Barclays, 2021 to now
Barclays, Markets Pre-Trade (embedded with the trading desk)
Every desk that wanted an AI assistant was building its own bespoke integration into pre-trade tooling and market data, with its own credentials and no shared audit trail.
- An internal MCP server giving agents governed access to pre-trade tools, market-data services and team knowledge through one service.
- OAuth 2.1 with PKCE against corporate SSO. Short-lived per-user tokens travel end to end, so every tool call runs under the caller's own entitlements, with a full audit trail.
- Tool annotations drive the harness: read-only tools run freely, state-changing calls stop at a human approval gate, and anything unannotated is denied.
- Typed JSON Schema contracts, recoverable structured errors, response-size limits to protect the context window, OpenTelemetry per tool call, and an eval suite on tool selection and argument accuracy before each release.
MCP, OAuth 2.1, TypeScript, OpenTelemetry, Evals
Try it in the lab: Per-user tokens for an MCP server
Try it in the lab: Tool gate playground

