VaikoraVaikora

Vaikora › Blog › Product Updates

MCP tool calls without authorization gates: the specific risk and how to close it

Product Updates · Nov 29, 2026 · 4 min read

An AI agent using MCP can discover every tool a server advertises and, unless something sits between discovery and execution, call any of them. The agent's own reasoning is the only gate, and that is not a gate.

This is the concrete problem with MCP tool authorization today. The protocol standardizes discovery and invocation but does not define a mandatory authorization layer. What fills that gap is a policy enforcement point that sits inline on every tool call, before the call leaves the agent runtime.

What happens at the wire level

When an agent connects to an MCP server it receives a tool manifest: a list of tool names, descriptions, and input schemas. Nothing in that manifest says which caller is allowed to invoke which tool, under which conditions, or at what rate.

The agent picks a tool based on the task. It sends a `tools/call` request with the tool name and arguments. The server executes. At no point in that exchange does the MCP protocol require the server to verify that this specific agent, running this specific task, with these specific argument values, is permitted to do what it is asking.

Your cloud IAM policy might restrict which service account can call a downstream API. That control is real. But it fires after the tool call has already been dispatched. If the tool writes a file, sends a message, or deletes a record before the IAM boundary is reached, the action has already happened.

Why agent reasoning is not authorization

LLM reasoning is probabilistic. The same prompt can produce different tool selections across runs depending on temperature, context window state, and model version. That means the set of tools an agent will call is not deterministic from the outside. You cannot audit it reliably, and you cannot block specific call patterns in advance based on the model's internal decisions alone.

Authorization must be deterministic: identical input produces identical decision. That property has to live outside the model.

Where the enforcement point goes

An inline proxy between the agent and the MCP server can inspect every `tools/call` request before it is forwarded. At that position it can check:

The proxy emits one of four verdicts: allow, block, modify, or require-approval. If the verdict is block, the call never reaches the MCP server. The agent receives a structured refusal it can reason about, but nothing executes.

This is exactly where Vaikora sits. It acts as an MCP-compatible inline proxy, intercepting each tool call and running it against a deterministic policy before forwarding or blocking. Policy decisions at P50 take 8ms, so the enforcement step is not the latency bottleneck in a typical agentic workflow.

A concrete scenario

Say an agent has access to three MCP tools: `read_file`, `write_file`, and `delete_file`. The intended task is document summarization, which requires only `read_file`.

Without an authorization gate, nothing prevents the agent from calling `write_file` or `delete_file` if a prompt injection or reasoning error leads it there. The MCP server will execute whatever it receives.

With an inline policy, you define: this agent identity may call `read_file` on paths matching `/data/docs/*`. Calls to `write_file` and `delete_file` are blocked unconditionally. Any `read_file` call with a path outside `/data/docs/` is also blocked. The policy is written once, enforced on every call, and every decision is written to a tamper-evident audit log so you have a full ordered record of what was allowed and what was not.

If you later need to investigate an incident, you have a SHA-256 hash-chained log that tells you exactly which tool was called, with which arguments, by which agent identity, and what verdict was issued. That is the difference between a system you can audit and one you can only guess at.

What to check in your current setup

If the answer to any of these is no or not easily, the gap is an authorization layer inline on the MCP call path, not a detection rule added after the fact.

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