Docs Index
mcp aggregator.md

Proof Card: MCP Aggregator Service

Status: production Last verified: 2026-04-28 · git sha 562e3ab4

Claim

MCPAggregatorService proxies MCP tool calls (Model Context Protocol) from registered clients (e.g. Business Central, NetSuite-Official) and auto-redacts PII before returning the result to the caller. The auto-redact path is the security-critical claim: every MCP tool result passes through dlpService.scanForPII({ autoRedact: true }) on its way back to the caller, so a tool that returns { customerEmail: 'x@y.com' } produces a redacted version regardless of what the upstream MCP server emits.

Source

Tests

Live vs Fixture

Known Gaps

Verification (60-second AI-reviewer recipe)

npm test -- tests/integration/MCPAutoRedact.fixture.test.ts
npm test -- tests/unit/__tests__/services/mcp/MCPAggregatorService.test.ts
grep -n "scanForPII\|autoRedact: true" src/services/mcp/MCPAggregatorService.ts

The grep should match exactly one auto-redact site at line 215. The fixture test enumerates the per-PII-type positive/negative pairs the auto-redact path must handle.