Vaikora Guard MCP
OfficialClick on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Vaikora Guard MCPEvaluate action: read user emails for marketing campaign"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Vaikora Guard MCP
A Model Context Protocol server that puts deterministic policy enforcement in front of every AI agent tool call. Open source under MIT. Part of the open-core Vaikora AI runtime control gateway by Data443.
About Vaikora
Vaikora is an open-core AI runtime control gateway by Data443. Every AI agent action gets checked against deterministic policy before it executes, and every decision is signed into a SHA-256 audit chain. Compliance presets ship for SOC 2 Type II, HIPAA, GDPR, PCI DSS, and ISO 27001.
Two open-source components:
vaikora-llm-gatewayis the reference gateway. Self-host in your own infrastructure.vaikora-guard-mcp(this repo) is the MCP server companion. Drop it in front of MCP tools like Snowflake, Xero, GitHub, or any internal MCP integration.
The commercial Vaikora Control Plane (hosted by Data443) adds multi-tenant administration, the approvals UI, real-time dashboards, and a vendor SLA. Self-host the open-source path or buy the hosted product. Both share the same policy engine.
What this does
Vaikora Guard MCP lets any MCP client (Claude Desktop, Claude Code, custom agents using the Anthropic SDK) call the Vaikora policy engine before executing a tool action. The agent describes what it wants to do, Vaikora evaluates the request against six deterministic content modules and the active policy set, and returns one of four outcomes with a SHA-256 audit receipt:
Outcome | Meaning |
| Action passes every policy, agent can proceed. |
| Action is permitted, but logged for audit review. |
| Action is permitted with a modification (e.g. PII redaction). |
| Action violates a policy, agent must not proceed. |
The server is a thin façade over the open-source vaikora-llm-gateway. All policy logic, audit storage, and threat intelligence enrichment live in the gateway. This MCP server adapts the MCP protocol to the gateway's HTTP API.
Why use it
Most MCP servers expose new capabilities to an agent. Vaikora Guard does the opposite: it adds a deterministic policy gate that an agent (or an orchestrator) consults before acting. Useful when:
You ship AI agents to customers and need an audit trail per action.
You want to enforce GRC controls (SOC analyst review, separation of duties, regulated-data handling) on actions an LLM proposes.
You want a fail-closed posture when the policy engine is unreachable, so unsafe actions cannot slip past.
Install
pip install vaikora-guard-mcpRequires Python 3.10 or newer. Installing the package creates a vaikora-guard-mcp CLI entry point that runs the MCP server over stdio.
Configure
Copy .env.example to .env and fill in:
VAIKORA_GATEWAY_URL=http://localhost:8000 # or your hosted Vaikora endpoint
VAIKORA_API_KEY=your-vaikora-api-key
VAIKORA_FAIL_CLOSED=trueRun a local vaikora-llm-gateway instance (Docker Compose recipe lives in that repo) or point at a hosted Vaikora endpoint your team operates.
Wire it into Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json on macOS (or %APPDATA%\Claude\claude_desktop_config.json on Windows):
{
"mcpServers": {
"vaikora-guard": {
"command": "vaikora-guard-mcp",
"env": {
"VAIKORA_GATEWAY_URL": "http://localhost:8000",
"VAIKORA_API_KEY": "your-vaikora-api-key"
}
}
}
}Restart Claude Desktop. The vaikora-guard server will show up in the MCP indicator and Claude can call its tools.
Full Claude Code config example lives in examples/claude-code-config.json.
Tools exposed
Tool | Purpose |
| Run a candidate action through the full Vaikora enforcement pipeline and return a decision. |
| Run a single content module (PII, jailbreak, injection, semantic, domain risk, email classification) against text. |
| Return the current policy + entitlement configuration in the gateway. |
| Append an entry to the Vaikora audit log after an action has executed. |
Resources exposed
Resource | Purpose |
| JSON snapshot of the active policy + entitlement set. |
| List of the six built-in content modules the gateway supports. |
Example call from an agent
# Pseudocode for an agent using the MCP tools
result = await mcp.call_tool(
"evaluate_action",
{
"action": "DELETE FROM customers WHERE country = 'US'",
"context": {"target_system": "prod_db", "agent_id": "support-bot-01"},
},
)
# result is JSON. Example shape:
# {
# "decision": {"outcome": "BLOCK", "matched_policy": "injection_detection", ...},
# "receipt_id": "sha256:abc...",
# "pipeline": [...],
# "latency_ms": 47
# }
if result["decision"]["outcome"] in ("BLOCK",):
raise PolicyViolation(result["decision"]["reason"])Logging and visibility
The server emits structured logs so operators can watch it live, post-hoc, and parse it with their existing tooling.
Where logs land:
Destination | Purpose | Format |
| Live tail (Claude Desktop, Claude Code, and any MCP client capture this) | JSON or human-readable |
Rotating file | Post-hoc analysis, long-running operators | Same format as stderr |
| Reserved for the MCP JSON-RPC protocol. Never written to. | n/a |
Default file paths:
Platform | Path |
macOS |
|
Linux |
|
Windows |
|
Override the path with VAIKORA_LOG_FILE=/your/path/vaikora.log.
What gets logged:
Event | Level | Fields |
| INFO | gateway_url, fail_closed, log_level, log_file, log_json |
| INFO | transport |
| DEBUG | (counts) |
| INFO / ERROR | uri, latency_ms, body_bytes |
| INFO / ERROR | tool, arg_keys, arg_preview, latency_ms, outcome, receipt_id, matched_policy |
| INFO / WARNING | method, path, status, latency_ms, outcome, receipt_id |
| ERROR | outcome, matched_policy, latency_ms, receipt_id, fail_closed |
| INFO | (none) |
Every tool call carries a per-call request_id correlation token that threads through every log line for that call, so operators can pivot on a single id to see the whole flow.
Sensitive data handling: API keys, JWTs, Authorization: Bearer … headers, basic-auth URL credentials, and GitHub-style tokens are scrubbed from log output. The redactor walks dicts recursively, so nested headers inside metadata also get scrubbed.
Tail it live (macOS):
tail -f "$HOME/Library/Logs/vaikora-guard-mcp/vaikora-guard-mcp.log" | jq .Switch to human-readable mode for local debugging:
export VAIKORA_LOG_JSON=false
export VAIKORA_LOG_LEVEL=DEBUG
vaikora-guard-mcpFail-closed by default
If the Vaikora gateway is unreachable, the server returns a synthetic BLOCK decision with matched_policy="gateway_unreachable". Set VAIKORA_FAIL_CLOSED=false for fail-open behavior. Fail-closed is the recommended posture for production agents handling regulated data.
Develop
git clone https://github.com/Data443/vaikora-guard-mcp.git
cd vaikora-guard-mcp
pip install -e ".[dev]"
pytest -q
ruff check .Run the server locally against a real gateway:
export VAIKORA_GATEWAY_URL=http://localhost:8000
export VAIKORA_API_KEY=...
vaikora-guard-mcpThe server will speak MCP over stdio. To talk to it interactively, point an MCP-compatible client at the same command.
How it relates to Vaikora
Vaikora is Data443's AI runtime control product. It sits between an AI agent and the world, evaluating every proposed action against deterministic policies before execution. Vaikora ships in two shapes:
HTTP gateway:
vaikora-llm-gateway, an open-source reverse proxy that enforces policy on LLM provider traffic (OpenAI, Anthropic, Gemini, OpenRouter).MCP server: this repo, which exposes the same enforcement engine to MCP clients so agent runtimes can call it directly.
Both share the same policy store, decision shape, and audit log. Pick whichever surface fits your agent runtime, or run both side by side.
Learn more about Vaikora: vaikora.com | Vaikora docs | Data443 AI runtime control.
License
MIT. See LICENSE.
Support
Email: support@data443.com
Vaikora docs: vaikora.com/docs
Vaikora Guard MCP integrates with the Claude API, Claude Code, and the Anthropic SDK. The integration is built on the open Model Context Protocol and does not imply any endorsement by Anthropic.
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/Data443/vaikora-guard-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server