The gap between an AI agent deciding to act and that action actually executing is where most security controls are absent. Vaikora Guard MCP closes that gap with a policy check that runs inline, before the tool call completes, every time.
The package is MIT-licensed, written in Python, and published on PyPI as `vaikora-guard-mcp`. You can read the source, run it locally, or build on top of it. This post walks through what it actually does at each step.
Where It Sits in the Call Path
An AI agent using the Model Context Protocol follows a predictable sequence: the agent selects a tool, formats the call, and the MCP framework routes it to the appropriate server. Vaikora Guard MCP inserts itself as a proxy at that routing step.
The agent sees a standard MCP interface. The tool server sees a standard MCP client. Between them, Vaikora Guard MCP intercepts every tool invocation and runs it through a policy engine before forwarding or blocking.
The result of that check is one of four things: allow, block, modify the call before it passes through, or hold for human approval. The agent does not proceed until the gate returns a verdict.
What the Policy Engine Evaluates
Each intercepted call carries the tool name, the arguments, and context about the agent session. The policy engine checks that payload against a set of deterministic rules.
Deterministic here is not a marketing claim. It means identical input always produces identical output. There is no probabilistic scoring that might allow the same call through one second and block it the next. That property matters when you need to explain after the fact why something was permitted.
The six content inspection modules cover categories like credential patterns in arguments, PII in payloads, and calls to tools outside an explicitly allowed set. You configure which modules are active and what their thresholds are.
A concrete scenario: an agent is given access to a file-writing tool and a web-request tool. A policy rule says the web-request tool may not be called with URLs outside an approved domain list. If the agent constructs a call to an external endpoint, the proxy blocks it before the request leaves the host. The agent receives a policy rejection, not a network timeout.
The Audit Log
Every decision the proxy makes gets written to a SHA-256 hash-chained log. Each entry covers the tool name, the arguments (or a hash of them, depending on your data handling preferences), the policy verdict, and a timestamp.
The chain structure means any tampering with a past entry breaks the hash of every subsequent entry. You can verify integrity by recomputing the chain. This is useful when you need to reconstruct exactly what an agent did during a session, in order, without relying on the agent’s own output as the record.
Connecting to the Control Plane
Running the open-source proxy alone gives you enforcement and local logging. Connecting it to the Vaikora Control Plane, which Data443 hosts, adds centralized policy management across multiple agents and integration with external security tooling.
The control plane pushes policies down to each proxy instance and pulls decision telemetry up. That telemetry feeds the integrations with Microsoft Sentinel, CrowdStrike Falcon, SentinelOne, and AWS Security Hub. A blocked tool call that maps to a high-severity policy becomes a signal in your existing detection workflow, with no custom pipeline to build.
The proxy supports 12 LLM providers without requiring you to change SDKs. If your team is running agents against different model APIs, the same proxy configuration applies across all of them.
What to Check Next
If you want to understand the enforcement logic before deploying anything, start with the source on PyPI (`pip install vaikora-guard-mcp`) and read the policy configuration schema. The module structure is straightforward and the allow/block/modify/approve branching is easy to trace.
If you are running agents in a production environment today without an inline policy gate, the first thing worth configuring is a tool allowlist. That alone prevents a large category of unintended actions. Add content inspection for credentials and PII as a second step once the allowlist is stable.
The control plane connects without code changes to the proxy. If centralized visibility across agent sessions matters to your team, that is the path from the open-source package to something that fits into an existing security workflow.