Product Deep-Dive
Aieges Smart Gateway
Transparent MCP intercept layer that inspects every AI tool call in real time.
The Smart Gateway sits between your AI clients (Claude, Gemini, Codex, Grok) and your MCP servers. Every tools/call request passes through the Gateway for policy evaluation, threat detection, and audit logging — all at sub-2ms latency.
Performance at a Glance
<2ms
Inspection Latency
p99 overhead per request
Streamable HTTP
Protocol
MCP-native transport
147+
Threat Patterns
Built-in detection rules
Zero
Cloud Dependency
100% offline capable
MCP Protocol Interception
The Model Context Protocol (MCP) defines how AI models call external tools. The Smart Gateway intercepts these calls at the transport layer using Streamable HTTP, providing:
Request Inspection
Every tools/call, tools/list, and resources/read request is parsed, validated against your policy rules, and logged before forwarding.
Response Validation
Responses from upstream MCP servers are also inspected. The Gateway can redact sensitive data, inject audit metadata, or reject responses that violate content policies.
Streamable HTTP Transport
The Gateway uses MCP's Streamable HTTP transport for bidirectional communication. This enables real-time streaming of tool results while maintaining the inspection pipeline.
Client (Claude/Gemini/Codex)
│
▼ Streamable HTTP
┌─────────────────────────┐
│ AIEGES Smart Gateway │
│ ┌───────────────────┐ │
│ │ Policy Engine │ │ ← Evaluate rules
│ │ Threat Detector │ │ ← 147+ patterns
│ │ Audit Logger │ │ ← Immutable log
│ └───────────────────┘ │
└─────────────────────────┘
│
▼ Streamable HTTP
MCP Server (upstream)Routing Prefixes
Tool calls are routed based on their name prefix. This allows the Gateway to segment traffic and apply different policies per operation type.
memory_*Memory operations routed to MNEMON or compatible memory backends.
plan_*Planning and orchestration tool calls routed to the planner service.
hybrid_*Operations requiring both memory and planning, fanned out to multiple upstreams.
Model-Agnostic Multiplexer
The Smart Gateway is model-agnostic. It works with any AI client that speaks MCP, regardless of the underlying model:
Claude
Gemini
Codex
Grok
Multiple AI clients can connect simultaneously. The Gateway multiplexes requests across upstream MCP servers while maintaining per-client audit trails and policy enforcement.
Ready to get started?
Install the Smart Gateway in minutes with Docker or a native Rust build.
AIEGES Quickstart →