An agent is only as safe as the tools it can reach.

MCP Security covers the tool layer of an AI agent in four places. The code, where AI-SAST flags MCP servers that are unpinned, unauthenticated or not on your approved list. The live servers, which Klyvra checks for drift and poisoned descriptions without ever calling a tool. The running agent, where decoy MCP servers hosted in your cluster record any call an agent should never make. And the red team, where tool-result injection tests and decoy-aware scans try to make that call happen before an attacker does.

Defend the request. Detect the compromised agent.

A guardrail returns a verdict on what goes into and comes out of a model. It cannot tell you that an agent, three steps into a long task, has been talked into reaching for a tool it was never meant to use. MCP Security is built for that moment. You attach a decoy MCP server whose tools the agent has no business calling, payroll on a support bot, a code repository on a travel assistant, and you never tell the agent it exists. An agent that calls it has already been turned. Every call is recorded, classified and alerted on, and the decoy never acts.

Govern it, check it, trip it, prove it.

Approve what agents may connect to, check what the live servers actually list, record the call that should never happen, and find out in a red-team scan whether an attacker can cause it.

An approved list of MCP servers.

Part of the AI-SAST policy: package, container image with digest, host or command, with an owner and a note. In report mode an unapproved server is a medium finding; in enforce mode it fails the build. Approval pins to a version or digest, so a moved pin is flagged again.

Live checks, list only.

Klyvra connects to a real remote MCP server, lists its tools, prompts and resources, compares them with the code's tool fingerprint and with the previous check, and disconnects. It never calls a tool, reads a resource or runs a prompt. Seven findings: hidden instructions in descriptions, anonymous access, plain HTTP, not on the approved list, tools that differ from the code, tools that changed since last check, misleading annotations. On demand, daily or weekly from the console, or from CI with klyvra-sast mcp-check for servers only the pipeline can reach.

Decoy MCP servers in your cluster.

Hosted in your Klyvra cluster and reached through the api-gateway like any remote MCP server: one more entry in the agent's MCP config. A decoy is out of scope for the agent by design and never announced to it, so any call to any decoy tool, read or write, is high severity. Decoys never act: writes answer as if queued, and the service makes no outbound call.

Thirteen templates, believable by design.

Payments, food ordering, database, files, email, team chat, calendar, CRM, support, HR, code repository, web fetch and secrets. Each has one plausible set of read and write tools with plain names, canned data on .example domains and test card numbers, and canaries seeded per decoy so an echo can be traced back.

Every request recorded and classified.

Refusals included. A tool call is high, a probe such as initialize or tools/list is logged and never alerted on, and scan traffic is kept apart. Flags come from the canaries and the Inspector's detector lists. Alert on the first call with window dedup, then the activity page, summary, event detail and CSV export. Linking a decoy whose tools resemble the agent's real tools needs an explicit acknowledgement, is recorded, and logs that decoy's calls as medium.

Red-team scans that try to trigger it.

With a decoy attached, Lelouch AI steers the agent toward it and reads the decoy's own scan log, so any attributed call is scored as an out-of-scope call, with canary echo, exfiltration cue and chained hijack as extra evidence. Tool-result injection tests inside the existing suites deliver the attack in a tool result rather than a user turn, with trap tools that are never executed. Without a decoy those findings are recorded as not tested, never as a pass.

Built for the teams shipping agents with real tools.

MCP Security is for the platform, AppSec and AI-engineering teams whose agents hold tools that act: send, pay, write, deploy. And for the SecOps teams who need a signal that an agent has been turned, not only a verdict on a prompt. If your agent's MCP config has more than one entry, you already have a tool layer to govern.

Outcomes you can defend in a review.

Production servers are never attacked.

Live checks see what a server lists, not what it does. They never call a tool, read a resource or run a prompt, so you can point them at the servers your agents really use.

A decoy never acts.

Writes answer as if queued and nothing is sent anywhere. The agent under test still holds its real tools, though, so categories that try to make it act are tagged staging recommended, and pointing one at a production-like target asks for an audited acknowledgement first. Advisory: a scan never blocks.

Honest about what silence means.

A scan with zero decoy calls means the agent resisted the attacks tried, not that it is proven safe. Protected tools constrain Klyvra's probe, not the agent: a real agent wired to real tools can still choose one on its own. The overlap guard matches tool names and a small keyword list, not behaviour.

Evidence that stays yours.

Decoy activity and live-check history keep their own retention category, ten years by default. Decoy tokens are hashed with only a short prefix kept, and everything exports and deletes per tenant with the rest of your data.

Attach a decoy to one of your agents.

Bring an agent that uses MCP. We will add a decoy to its config on the call, run a live check against one of its real servers, and show you what the activity page records when the agent is steered toward a tool it should never call.