How MCPs work
Agents load MCPs dynamically based on:- Their assigned task (e.g. DeFi analytics, DAO moderation)
- User input or platform triggers
- On-chain events or environmental data
- Contextual constraints (e.g. legal, financial, social)
- Tool access (which smart contracts, APIs, or sub-agents it can call)
- Reasoning patterns (e.g., rule-based logic, causal inference, simulation loops)
- State memory across sessions (optional, privacy-preserving)
MCP Integration Workflow
- Define the Protocol
Create a new MCP using a schema—specify context model, triggers, tool access, and fallback logic. - Attach to Agent
When deploying or updating an agent, register the MCP(s) it will use via the SDK. - On-Chain Enforcement
MCPs may leverage cryptographic proofs, hash commitments, or on-chain state attestations to checkpoint and verify compliance with defined constraints. - Update or Swap Protocols
Agents can switch MCPs in response to tasks or via governance-approved upgrades, such as DAO proposals or token-holder votes that authorize protocol changes.
