VaikoraVaikora

Vaikora › Blog › Product Updates

MCP tool authorization without an inline enforcement point: what actually executes and what does not get stopped

Product Updates · Dec 1, 2026 · 3 min read

MCP configuration files describe what tools an agent can call. They do not enforce that description at the moment a call is made. Those are two different mechanisms, and conflating them is where most MCP authorization gaps come from.

The gap between declaration and enforcement

An MCP config lists tool names, parameter schemas, and sometimes scope hints. When an agent runtime loads that config, it knows which tools exist. What it does not do, by default, is evaluate each outgoing tool call against a policy before allowing execution. The call goes out, the tool runs, and if the action was out of scope, you find out afterward, in a log, if you have logging configured.

This is not a bug in MCP. It is a gap in where authorization is typically applied. The config is a capability declaration, not an enforcement point.

What inline enforcement at the tool call layer actually checks

An enforcement point that sits between the agent and the tool call can evaluate several things before the call executes:

A concrete example: an agent is authorized in its MCP config to call a `file_read` tool. At runtime, the agent constructs a call to `file_read` with a path argument pointing to `/etc/passwd`. The config says `file_read` is allowed. A policy engine evaluating the call inline sees the path argument, matches it against a path-traversal pattern in the content inspection module, and blocks the call before it reaches the tool. The config-level grant was valid; the specific call was not.

Without an inline enforcement point, that call executes.

How Vaikora handles this at the call layer

Vaikora sits inline between the agent and every tool call it makes over MCP. Each call is evaluated against deterministic policy before execution. The decision is allow, block, modify, or require approval. Identical input always produces the same decision, which matters for audit reproducibility.

The enforcement layer ships as `vaikora-guard-mcp`, an MIT-licensed Python proxy published on PyPI. It wraps existing MCP servers without requiring SDK changes. The enforcement latency is P50 8ms and P99 45ms, so it does not add perceptible delay to synchronous tool calls in most workflows.

Every decision, including allowed calls, is written into a SHA-256 hash-chained audit log. If a call is later disputed, the log entry is tamper-evident and contains the full decision context, not just a timestamp.

For teams running Microsoft Sentinel or CrowdStrike Falcon, Vaikora pushes high-severity enforcement events into those platforms natively. A blocked tool call that matches a critical-severity policy becomes an incident in your SIEM without custom pipeline work.

What this means for how you configure authorization

Authorization for MCP tool calls needs two layers, not one. The config layer declares what is reachable. The enforcement layer decides, at call time, whether the specific call is permitted.

If you only have the config layer, your authorization surface is: can the agent reference this tool at all? That is a coarse control. It does not account for what the agent passes as arguments, what it does with the response, or whether the call is part of a multi-step sequence that should be blocked as a pattern even if each individual step looks valid.

The practical check: pull your MCP server logs and look at the last 100 tool calls that succeeded. For each one, ask whether you have a record of the specific arguments passed and whether those arguments were evaluated against any policy before the tool ran. If the answer is no, you have a gap between your authorization intent and what is actually enforced.

The next step is to put an enforcement proxy in front of those calls, define per-tool parameter policies, and verify that blocked calls surface as signals in your existing detection workflow rather than disappearing silently.

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

More from the Vaikora blog