Vaikora › Blog › Product Updates
Vaikora Guard MCP is now open source: here is what that means for teams enforcing policy on agent tool calls
When an AI agent calls a tool, the call executes before most security controls ever see it. The agent reads a file, queries a database, or posts to an API, and your policy layer finds out afterward, if it finds out at all. Vaikora Guard MCP is the open-source component that closes that gap by sitting inline between the agent and the tool, applying a policy decision before execution.
The package is published on PyPI as `vaikora-guard-mcp`, written in Python, and licensed under MIT. That means you can read the enforcement logic, run it in your own environment, and audit exactly what it does before trusting it with production traffic.
What the proxy actually does
Every Model Context Protocol (MCP) tool call passes through Vaikora Guard MCP before the target tool receives it. The proxy inspects the call, runs it against your configured policy, and returns one of four decisions: allow, block, modify, or require-approval. The tool only executes if the decision is allow or modify. Block and require-approval stop execution at that point.
The decisions are deterministic. Identical input always produces identical output. There is no probabilistic scoring that lets a borderline call slip through on a good day and get caught on a bad one. Policy is policy.
The proxy ships six content inspection modules covering categories like data type detection and instruction pattern matching. That means you can write rules against what is actually inside a tool call, not just its metadata.
How to get it running
```
pip install vaikora-guard-mcp
```
From there you configure your policy rules, point your MCP-compatible agent at the proxy endpoint, and traffic flows through the gate. No SDK migration, no changes to the LLM provider you're already using. Vaikora supports 12 LLM providers in this configuration.
A concrete example: an agent is asked to retrieve customer records and email a summary to an external address. Without a policy gate, both actions execute. With Vaikora Guard MCP in place, you can write a rule that blocks any outbound data transfer containing fields matching a PII pattern, or holds it for human approval if the destination address is outside your domain. The retrieval call might be allowed; the outbound call gets blocked or queued. The agent stops there.
Enforcement performance at this layer
Adding an inline proxy raises the obvious question about latency. Vaikora Guard MCP is built to keep that overhead low. P50 enforcement latency is 8ms and P99 is 45ms. For the overwhelming majority of tool calls, the policy check adds less than 10 milliseconds. The proxy handles over 10,000 actions per second, so throughput is not a constraint in most deployment scenarios.
The audit record
Every decision the proxy makes is written to a SHA-256 hash-chained, tamper-evident audit log. Each entry records what the agent attempted, what policy applied, and what decision was returned. Because the chain is hash-linked, you can verify that no entry was deleted or altered after the fact.
That matters for compliance. If you are operating under HIPAA, PCI-DSS, GDPR, SOC 2, or ISO 27001, you need to show that controls applied and that the record of those controls has not been modified. The audit log is designed to satisfy that requirement without additional tooling.
Open source versus the control plane
Vaikora Guard MCP is the enforcement component. It runs in your environment, under your control, with your policy configuration. The commercial product is the Vaikora Control Plane, hosted by Data443, which adds centralized policy management, the approval workflow interface, SIEM integrations, and the compliance presets that map to specific regulatory frameworks.
The separation is intentional. Teams that want to self-host the enforcement layer entirely can do so. Teams that need a managed control plane with SIEM push (Microsoft Sentinel, CrowdStrike Falcon, SentinelOne, AWS Security Hub) can connect the open-source proxy to the enterprise tier.
What to check next
If you are evaluating agent security controls, the fastest path to understanding what Vaikora Guard MCP actually does is to run it locally against a test agent and inspect the audit log after a few tool calls. The PyPI package installs in one command. Review the enforcement logic in the source before deploying to any environment that handles real data, and confirm your policy rules cover the tool categories your agents actually call, not just the ones you planned for at design time.
See Vaikora enforce policy on your AI
Open-core AI runtime control. Self-host the MIT gateway free, or run the hosted Control Plane.
Get a demo Self-host the gateway
Vaikora