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 1 of 5 · 12 min

How MCP works, and where it breaks

AGI: NOT ESTABLISHED · RSI: EXPERIMENTAL

The Model Context Protocol lets an agent discover tools on a server and call them. Each tool publishes a name, a description and a parameter schema. The agent reads the description to decide when and how to call it.

That design creates the attack surface: whatever is in the description becomes part of the agent's instructions; whatever the schema allows becomes reachable; whatever the server returns flows back into the agent's context.

Common failure classes include tool poisoning, tool shadowing, excessive permissions, token misuse, command injection, server-side request forgery and supply-chain compromise of the server itself.

Key points

  • Tools = name + description + schema.
  • Descriptions are read as instructions.
  • Schemas define what is reachable.
  • Returns flow back into context.

In the CAIN-42 codebase

  • mcp-security-scanner/engine.py — deterministic detector for MCP tool definitions

Practice check

Practice 1 · choose one

What does the agent read to decide how to use an MCP tool?

Practice 2 · true or false

“Data returned by an MCP tool can influence the agent's next actions.”