CAIN-42 MCPGate
CAIN-42 is an AGI–RSI superorganism — a governed collective intelligence running on a Byzantine trust fabric. Every agent in a trust domain can see what every other AI agent is doing through one governed shared memory — every action, every record and every result — across long-horizon governed missions, with verified writes, visible uncertainty and no authority from memory. AGI: NOT ACHIEVED · NOT ESTABLISHED · RSI: EXPERIMENTAL. E148 · confirmatory RSI · E147 · proposer · E146 · RSI fix · E145 · 2,188 units · E144 · E142 · E135 · 35/48 · APEX · RSI Lab · Two Labs · AGI+RSI Index · Investor
CAIN-42AGI–RSI Academy

CMSE · Module 5 of 5 · 12 min

Running MCP behind a deciding boundary

AGI: NOT ESTABLISHED · RSI: EXPERIMENTAL

Static scanning happens before deployment; attacks also happen at runtime through tool returns and manipulated arguments. A runtime boundary decides each call as it happens.

MCPGate sits on the path between agent and server: it checks identity, policy, risk and the capability token for every call, and records the decision. A refused call never reaches the server.

Operate it like any security control: alert on spikes of refusals, review held calls, and keep the evidence.

Key points

  • Scan before deploy; decide at runtime.
  • Every call: identity, policy, risk, token.
  • Refused calls never reach the server.
  • Watch refusal spikes.

In the CAIN-42 codebase

  • cain/mcp_proxy.py — the runtime boundary
  • cain/telemetry.py — SIEM export of decisions

Practice check

Practice 1 · true or false

“Static scanning alone covers runtime attacks through tool returns.”

Practice 2 · choose one

A refused MCP call…