Vaikora › Blog › Product Updates
vaikora-guard-mcp: install it in five minutes, enforce policy on every tool call before it runs
Most MCP proxies sit between your agent and your tools and log what happens. Vaikora Guard MCP blocks before anything happens. That is not a subtle difference. A log tells you what your agent did. A policy decision before execution means certain actions never reach the tool at all.
The package is published on PyPI as `vaikora-guard-mcp`, MIT licensed, written in Python, and self-hosted. You can read every line. If you want to run it inside your own network with no data leaving your environment, that is exactly what it was designed for.
What the proxy actually does
Vaikora Guard MCP sits inline between an AI agent and the tools it calls via the Model Context Protocol. Before each tool call executes, the proxy evaluates the action against a deterministic policy and returns one of four decisions: allow, block, modify, or require-approval.
Deterministic here has a specific meaning. Identical input produces identical output. There is no probabilistic scoring that behaves differently across runs. Your policy says "block any tool call that writes to a production database outside business hours" and the proxy enforces that, every time, with no variance.
Enforcement latency is P50 8ms, P99 45ms. For most agentic workflows, that overhead is not visible.
Every decision is written to a SHA-256 hash-chained audit log. Each entry is signed into the chain, so the record is tamper-evident. If a decision is ever challenged during an incident review or a compliance audit, you can prove the exact sequence of what the proxy allowed and blocked and when.
Installing and running it
```
pip install vaikora-guard-mcp
```
That installs the proxy. You then point your MCP-compatible agent at the proxy endpoint instead of directly at the tool server. No SDK migration. The proxy adapts to whichever LLM your agent is using. It supports twelve LLM providers out of the box.
A minimal policy file is a YAML document that describes which tool calls are permitted under which conditions. The proxy ships six content inspection modules, so you can inspect the payload of a tool call for things like credential patterns, PII, or prompt injection attempts, not just the name of the tool being called.
Compliance presets ship for HIPAA, PCI-DSS, GDPR, SOC 2, and ISO 27001. If your organization already has a compliance framework, you are not writing policy from scratch.
A concrete scenario
An AI coding agent has access to a file-read tool and a shell-execution tool. Without a policy gate, the agent can read `/etc/passwd` or run arbitrary shell commands if the LLM decides that is the right action. The model is not trying to cause damage. It is following the instruction it was given, and tool access is not differentiated.
With Vaikora Guard MCP inline, you write a policy that blocks shell-execution tool calls entirely in that environment, and restricts file-read to paths under `/workspace`. The proxy evaluates those constraints before the tool runs. The agent never receives a successful response from a blocked call. There is nothing to undo.
Where the open-source proxy ends and the control plane begins
The proxy handles per-action enforcement. If you need centralized policy management across multiple agents, a UI for writing and versioning policies, integration with your existing SIEM or security tooling, and compliance reporting tied to the audit log, that is what Vaikora's enterprise control plane adds.
Data443's Vaikora platform integrates natively with Microsoft Sentinel, CrowdStrike Falcon, SentinelOne, and AWS Security Hub. The same audit telemetry that the open-source proxy generates feeds into those integrations in the enterprise tier.
The open-source proxy is not a stripped demo version. It enforces policy, writes the audit chain, and runs content inspection. Organizations that want to self-host a policy gate with no commercial dependency can do that.
What to check next
Clone or install the package and read the policy schema before you deploy it. Understand what the six content inspection modules cover and which ones apply to your agent's tool surface. If your agents operate in a regulated environment, check whether one of the shipped compliance presets maps to your framework before writing custom rules. And if you are evaluating whether to run the proxy standalone or integrate the control plane, the audit log format is the right place to start: it tells you exactly what you would need to export into your existing security tooling.
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