Most MCP servers pass tool calls straight through to execution. vaikora-guard-mcp sits in front of that execution step and applies a policy decision first: allow, block, modify, or hold for human approval. If the call is blocked, the tool never runs.
The package is MIT-licensed, written in Python, and published on PyPI as `vaikora-guard-mcp`. You can self-host it. No vendor account required to get started.
What Problem This Solves
An AI agent operating through the Model Context Protocol can call tools that read files, write to databases, hit external APIs, or trigger shell commands. The agent decides which tool to call and with what arguments. Without a gate in front of those calls, the only control you have is whatever the tool itself enforces, which is usually nothing beyond authentication.
The standard MCP flow: the LLM produces a tool call, the MCP client executes it, the result comes back. vaikora-guard-mcp inserts a policy check between "LLM produces the call" and "client executes it." If the policy says block, the call stops there. The tool receives nothing.
How the Proxy Works
vaikora-guard-mcp runs as a local MCP-compatible proxy. Your agent connects to the proxy instead of connecting to the tool server directly. The proxy receives every tool call, evaluates it against configured policy rules, and either forwards the call, drops it, rewrites arguments before forwarding, or routes it to an approval queue.
Policy rules are defined in configuration. You specify conditions: tool name, argument patterns, data classifications detected in argument values, time of day, caller identity. You specify the action. The evaluation is deterministic: identical input always produces the same decision. There is no model involved in the policy step itself.
A concrete example: you have an agent with access to a `write_file` tool. You write a rule that blocks any call to `write_file` where the argument `path` matches `/etc/*` or the content argument contains a pattern matching a private key. The agent can still call `write_file` for permitted paths. Calls that match the rule stop at the proxy. The agent receives a rejection response and can handle it however its error logic dictates.
Installing and Running It
“`
pip install vaikora-guard-mcp
“`
From there you configure policy in a YAML file, point the proxy at your upstream MCP server, and point your agent at the proxy. The README in the repository walks through a minimal working setup. The proxy handles the MCP protocol framing so you do not need to modify your agent code or your tool server code.
The proxy ships six content inspection modules that run against argument values before the policy decision: pattern matching, data classification (PII, secrets, financial data), schema validation, rate limiting, and a couple of others. You enable the ones relevant to your environment.
Audit Trail
Every decision the proxy makes is written to a log entry. Entries are SHA-256 hash-chained, so the log is tamper-evident. You get an ordered record of every tool call that passed through the proxy, what decision was made, and why. That record matters for compliance and for incident investigation. If an agent did something unexpected, you can reconstruct exactly what it called, what arguments it passed, and what the proxy decided.
This is the audit property that most tool-level logging cannot provide, because tool-level logging only captures calls that actually reached the tool. Calls blocked at the proxy are logged too.
What Connects to What
The open-source proxy works standalone. If your team needs centralized policy management across multiple agents or multiple environments, the Vaikora Control Plane (the commercial product hosted by Data443) connects to the proxy and lets you manage policy, review approval queues, and query audit logs from one place. The proxy is also compatible with the enterprise control plane’s SIEM integrations, including Microsoft Sentinel and CrowdStrike Falcon, so policy decisions can feed into existing security operations workflows.
But you do not need any of that to run the proxy. The PyPI package is complete on its own.
What to Check Next
Pull the package, read through the example policy configuration in the repository, and identify two or three tool calls in your current agent setup that have no existing guardrails. Write policy rules for those calls, run the proxy in log-only mode first to see what it would have blocked, then switch to enforcement mode. That sequence tells you fairly quickly whether your current agent behavior matches what you intended to allow.
The repository is at github.com/Data443/vaikora-guard-mcp. The PyPI listing is `vaikora-guard-mcp`.