One MCP interceptor screening every tool call against 31 pre-mapped rules across seven jurisdictions — deterministically, before execution, with an audit trail your DPO can hand a regulator.
# Before Aegis Guard Gateway — opaque, unaudited, non-compliant @mcp.tool() async def screen_candidates(payload: dict) -> dict: return hiring_pipeline.evaluate(payload) # ───────────────────────────────────────────────────────────────── # After: one import, one decorator on each tool. from aegis_guard.middleware.interceptor import compliance_gate @mcp.tool() @compliance_gate("screen_candidates") # ← intercepts, classifies, blocks, and signs async def screen_candidates(payload: dict) -> dict: return hiring_pipeline.evaluate(payload) # Every call now produces a signed AuditRecord (excerpt): # { # "risk_tier": "HIGH_RISK", "top_violation_article_ref": "Article 6(2)", # "control_ids": ["AG-DATAPREP-01", "AG-NOTICE-01", "AG-LOG-01"], "is_blocked": false, "action": "AUDIT_WRITTEN", # "top_violation_rule_id": "HIGH-A3-S4-EMPLOY", "hmac_sha256": "a3f8…c91d" # }
Aegis Guard Gateway doesn't just cover the EU AI Act. Every jurisdiction below is built on real, binding law — each rule cites its primary-source provision, not a policy draft or non-binding framework — and the rule set keeps growing as new jurisdictions are researched and activated. Five rulesets are already enforceable today. Three individual rules are wired ahead of the date their law applies and are flagged as forward-looking risks until then: Colorado's, ahead of 1 January 2027; and India's two, ahead of 13 May 2027.
The EU AI Act came into force in August 2024, the UK's new automated-decision regime since 5 February 2026, and Nigeria, Singapore, and Egypt already enforce their own data-protection duties on automated processing. Every automated decision touching employment, credit, healthcare access, marketing, or biometric data is now a regulated event in at least one jurisdiction you operate in — whether your legal team knows the tool exists or not.
Subliminal manipulation, social scoring, real-time biometric surveillance in publicly accessible spaces — Article 5 prohibited uses are absolute bans with fines up to €35M or 7% of global turnover. Without interception at the point of execution, your agents may already be crossing these lines.
CV screening, credit scoring, student assessment, law enforcement analytics — eight Annex III categories require full documentation of AI decision logic. A log file is not an audit trail. A JSONL record without cryptographic integrity proof is inadmissible evidence of compliance.
The EU AI Office is building tool-call-level inspection capability. MCP and agent frameworks are specifically in scope. "We didn't know the tool existed" is not a viable defence when your model context protocol server is actively running high-risk classification pipelines.
Enterprise certification programmes increasingly require ISO/IEC 42001 conformance, and conformance turns on being able to show which controls each AI operation engages. Manual mapping exercises become instantly stale when your agent fleet evolves weekly. Aegis Guard Gateway attaches control ids to every finding automatically, from its own control registry.
What this is, precisely. The control registry is Aegis Guard Gateway's own — ids like AG-LOG-01, named for what they do. It is not ISO/IEC 42001 Annex A, no correspondence to it has been verified, and none is claimed. Treat the tagging as a consistent internal taxonomy that makes findings comparable across rules and jurisdictions, not as a conformance claim.
Rather than auditing outputs after the fact, Aegis Guard Gateway intercepts every JSON-RPC tool call at the point of execution — before your tool's own business logic runs — classifying the intent, blocking prohibited operations, and writing a cryptographically signed audit record in a single atomic operation. Your compliance posture is enforced, not reported.
Compliance tooling usually forces a trade-off between what Legal needs, what Security will approve, and what Engineering will actually ship. Aegis Guard Gateway is designed so none of the three has to compromise.
Every evaluation — block, high-risk record, or clean pass — produces a signed, timestamped record mapped to the exact statute and control that triggered it.
Aegis Guard Gateway runs in-process, inside your own perimeter — no payload ever leaves your environment to reach a third-party classifier.
Aegis Guard Gateway instruments an existing FastMCP tool without touching its business logic — you add an import and a decorator, nothing else moves.
@compliance_gate("tool_name") wraps an async @mcp.tool() function directly, in place.Run a sample tool call through the pipeline below and watch each layer respond, in the same order it runs on every real call.
search_public_guidance
Evaluation of your own tool calls is by invitation. Use the sample scenarios above, or contact us for a guided walkthrough.
READY
See how this maps to your environment.
Request an Architecture ReviewAegis Guard Gateway inserts itself at the MCP tool-invocation boundary using one @compliance_gate decorator on each tool. Each call to a wrapped tool is intercepted before the tool runs. Tool name, all key paths, all nested values, and semantic conjunctions are extracted as structured signal vectors.
Existing agent implementations require no modification to business logic. One import and one decorator instruments an entire MCP server in under five minutes. The interceptor is deployed in your environment — no traffic leaves your perimeter.
Claude Desktop / OpenAI / custom agent sends JSON-RPC request to your MCP server.
{"method": "tools/call", "params": {...}}Payload is extracted before the decorated tool function is invoked.
_extract_all_text(payload) → signalsAll wired rules evaluated in-process. PROHIBITED tier triggers an immediate block.
_run_all_rules(tool_name, payload)HMAC-SHA256 record appended to append-only JSONL log. Optionally forwarded to your SIEM via webhook.
Unlike probabilistic LLM-based classifiers, Aegis Guard Gateway uses a fully deterministic, explainable scoring model with four independent signal dimensions. Each dimension has a fixed maximum contribution weight, making every classification decision independently auditable and reproducible from the raw payload alone.
The engine evaluates every wired rule simultaneously — the 23 EU AI Act rules, Nigeria's NDPA 2023 rules, the UK's Data (Use and Access) Act 2025 rule, Singapore's PDPA 2012 rule, Egypt's PDPL rule, Colorado's SB26-189 rule and India's two DPDP Act rules (the Colorado and India rules are wired now for forward-looking flagging; those duties take effect on 1 January 2027 and 13 May 2027 respectively) — through the same scoring model. Every match returns a ScoreBreakdown object logging each dimension's contribution, the pre-clamp total, and whether an exception pattern reduced the score.
Every compliance evaluation — whether it results in a block, a high-risk record, or a clean pass — generates an AuditRecord sealed with HMAC-SHA256 using a 32-byte minimum secret. The hash covers the canonical serialisation of the full record, making any post-hoc tampering immediately detectable. Each signed record can chain to the one before it in the same workflow — turn each link below to see the idea.
AI system impact assessment — structured evaluation of effects on individuals, groups and society
Due diligence requirements — conformity, transparency and third-party assessment before deployment
Operational monitoring and control — continuous performance, drift and safety monitoring in production
Every enterprise has a different risk tolerance. A financial institution subject to FCA scrutiny may need stricter detection than a research lab operating under academic exemptions. Aegis Guard Gateway's operator threshold system lets your CISO dial sensitivity per EU AI Act tier without touching a single rule definition.
Three environment variables override the engine's per-rule confidence floor at runtime. Production environments enforce a safety invariant: thresholds cannot be inverted, and observe-only mode for PROHIBITED operations is hard-blocked.
A tool call enters the AI data path. Aegis Guard Gateway evaluates it against the EU AI Act risk taxonomy — Prohibited, High-Risk, Transparency — before the tool runs, applies a fail-closed enforcement decision, and writes the outcome to a tamper-evident audit trail. Tool-call arguments are never written to it. Caller identities are pseudonymised with a keyed hash when the caller-identity policy is set to pseudonymise; the default stores them as given.
Every rule shipped with Aegis Guard Gateway is pre-mapped to its governing Article or statute, risk tier, and control ids from the Aegis Guard Gateway control registry. Your compliance team does not write detection logic. They configure thresholds and review evidence.
| Tier | Rules | Jurisdictions | Example |
|---|---|---|---|
| Prohibited | 11 | EU · India | Real-time remote biometric identification in publicly accessible spaces (Art. 5(1)(h)) |
| High Risk | 18 | EU · UK · Nigeria · Singapore · Egypt · Colorado · India | Employment, HR & recruitment scoring (Annex III §4); cross-jurisdiction automated-decision and consent-withdrawal duties |
| Transparency | 2 | EU | Chatbot disclosure and deepfake / synthetic media labelling (Art. 50) |
Nigeria's Data Protection Act 2023 governs cross-border transfers and processing after a data subject's objection — real, binding law, already enforced.
The UK repealed UK GDPR Article 22 and replaced it with a new automated-decision-making regime (Articles 22A–22D) under its own Act.
Singapore's Personal Data Protection Act requires an organisation to cease processing once an individual withdraws consent, unless another lawful basis applies.
Egypt's Personal Data Protection Law prohibits direct electronic marketing unless the sender provides a clear mechanism to refuse or withdraw consent. Its grace period ended on 31 October 2026.
Colorado's Automated Decision-Making Technology Act requires deployers to give notice before use, explain adverse decisions, honour requests to access and correct personal data, and offer meaningful human review for consequential decisions in employment, housing, lending, insurance, healthcare, education, and government services. Wired now so it flags as a forward-looking risk, not a live violation — the underlying obligations do not take effect until 1 January 2027. A federal court order of 27 April 2026 (X.AI LLC v. Weiser, D. Colo. No. 1:26-cv-01515) bars the Attorney General from starting enforcement, including investigations, for alleged violations of SB24-205 or its replacement, SB26-189, occurring on or before the 14th day after the court rules on xAI’s preliminary injunction motion. The order pauses enforcement and leaves the law in place (court docket checked 27 November 2026).
A scheduled Regulatory Watch Loop checks each jurisdiction's primary regulator directly — the European Commission, GOV.UK / DSIT, Ireland's Data Protection Commission, Nigeria's NDPC & NITDA, Singapore's PDPC, and Egypt's Ministry of Communications and Information Technology — surfacing new developments for review before they become a gap in your compliance posture. This is regulatory intelligence: the early-warning layer that feeds rule development, separate from the rule engine itself. Enforced rule coverage today comes from five reviewed, activated rulesets — the EU AI Act, Nigeria's NDPA, UK GDPR under the Data (Use and Access) Act 2025, Singapore's PDPA, and Egypt's PDPL (28 rules, above). Each new jurisdiction is added once its rule is built and reviewed. Ireland's coverage comes through the EU AI Act as an EU member state, with its own Data Protection Commission adding a dedicated monitoring layer on top. Colorado's rule is wired for forward-looking flagging ahead of its 1 January 2027 effective date (see above); Watch Loop coverage for its regulator is a planned future addition.
Your procurement cycle, your legal review cycle, and your engineering integration cycle all need to complete before the relevant enforcement date, whichever jurisdiction it falls in. Aegis Guard Gateway is designed to compress the integration timeline to days, not quarters.
An Aegis Guard Gateway Architecture Review is a structured 90-minute session with our compliance engineering team. We map your current MCP server topology against the jurisdictions you actually operate in, identify the highest-priority integration points, and deliver a written risk assessment and deployment plan your General Counsel can sign off on.
Not ready to talk? Try the sample scenarios above, or book a guided walkthrough.
Available for on-premise, VPC, and air-gapped deployments. NDA-protected review. · Privacy Policy · Security Overview