The MIT-licensed `vaikora-guard-mcp` package, published on PyPI, puts a policy-checking proxy between your MCP client and any MCP server. Every tool call passes through it. If the call violates policy, it is blocked before the tool executes.
That single sentence is the entire architecture. The rest is configuration.
Why a Proxy Rather Than Instrumentation Inside the Agent
The common alternative is to add policy checks inside the agent code itself: a function that runs before `call_tool()`, a decorator, a wrapper class. That works until someone upgrades the agent framework, adds a new tool, or the agent calls a tool through a path the developer did not anticipate. The check then silently disappears.
A proxy does not have that problem. The MCP client connects to `vaikora-guard-mcp` on a local port. `vaikora-guard-mcp` connects upstream to the real MCP server. The agent code does not change. The policy layer cannot be bypassed by modifying the agent, because the agent never connects directly to the tool server.
This matters for auditability. Every call that passes through the proxy is written to a SHA-256 hash-chained, tamper-evident audit log. Each entry is signed into the chain. You can verify after the fact that no entries were removed or reordered.
What "Policy Check" Means in Practice
Vaikora ships six content inspection modules. When a tool call arrives at the proxy, those modules inspect the request before it moves upstream. The result is one of four decisions: allow, block, modify, or require-approval.
A concrete example: an MCP agent calls a file-write tool with a payload that contains what looks like a credit card number. The PCI-DSS compliance preset flags the content. The proxy blocks the call and logs the decision. The tool never receives the request. The agent gets back a structured error response.
The same mechanism applies to prompt injection patterns in tool arguments, attempts to call tools outside an allowed list, or requests that exceed a data-volume threshold you define.
Identical input always produces an identical decision. There is no probabilistic scoring that lets a slightly rephrased call slip through. The enforcement is deterministic.
Installing and Connecting It
`vaikora-guard-mcp` is written in Python and available directly from PyPI:
“`
pip install vaikora-guard-mcp
“`
Configuration is a YAML file. You point it at the upstream MCP server address, define your policy rules or select a compliance preset (SOC 2, HIPAA, GDPR, PCI DSS, ISO 27001), and start the proxy. Your MCP client config changes one line: the server address becomes the proxy address.
No SDK migration. No changes to the agent logic. The proxy speaks standard MCP, so any compliant client connects without modification.
The enforcement latency at P50 is 8ms and at P99 is 45ms. For most agent workflows, that is not perceptible. For high-frequency pipelines, the proxy handles more than 10,000 actions per second.
What the Audit Log Gives You
Every decision record in the log includes the tool name, the arguments (or a redacted version if the policy requires it), the decision, the rule that triggered it, and a timestamp. Each record is chained to the previous one using SHA-256 hashes.
If a regulator or an internal investigation asks what an agent did over a given window, you can produce an ordered, tamper-evident record. You can prove the record is complete because any gap or modification breaks the chain.
This is different from application logs, which are mutable. The hash chain is the control.
How the Open-Source Package Relates to the Control Plane
`vaikora-guard-mcp` is self-hosted and MIT-licensed. You run it, you own the data. For teams that need centralized policy management across multiple agents, an alerting pipeline into their existing SIEM, or native incident promotion into Microsoft Defender for Cloud or SentinelOne, Data443’s Vaikora Control Plane sits on top of the same enforcement engine.
The open-source package is not a limited version of the commercial product. It enforces policy. The Control Plane adds the management layer: a UI for policy authoring, alert routing, SIEM integrations, and the hash-chain log store.
What to Check Next
If you are running any MCP-based agent in a production environment, the first thing to verify is whether tool calls are logged at all today. If the answer is "in the application logs," check whether those logs are mutable and whether you have a policy layer that can block a call rather than detect it afterward.
Install `vaikora-guard-mcp` from PyPI, point it at your existing MCP server, and run a test call against each of the compliance presets relevant to your environment. The blocked call and the audit entry together are the two things worth confirming before you go further.
The source is on GitHub if you want to review the inspection modules or contribute.