Skip to main content
Help MCP Security
MCP Security

What MCP security protects against

2 min read·2 views·100% found this helpful

MCP lets your AI agents call external tools to fetch data and take actions — but those tools can carry hidden instructions or change after you've trusted them. G8KEPR's MCP Security pillar inspects tool definitions and tool calls, so you can catch a malicious or compromised tool before it quietly turns your agent against you.

What MCP is

The Model Context Protocol (MCP) is the standard that lets an AI assistant or agent call external tools — functions exposed by an MCP server that can read data, call APIs, or take actions on your behalf. Each tool advertises a name, a description, and an input schema, and the model reads that definition to decide when and how to call it.

Because the model trusts what a tool says about itself, the tool definition itself is an attack surface.

The risks of MCP tool calls

  • Tool poisoning — hidden instructions embedded in a tool's description or schema that hijack the agent (for example, quiet directions to also exfiltrate your API keys).
  • Rug-pulls — a tool that looks safe when you approve it, then silently changes its definition or behavior later.
  • Injection through tool output — malicious text returned by a tool that the model treats as new instructions.
  • Over-broad actions — a tool invoked with more access than the task needs, enabling data exfiltration or destructive calls.
  • Untrusted servers — tools served from sources you never vetted.

What G8KEPR's MCP pillar defends

  1. 1.Pins approved tools. When you approve a tool, G8KEPR records a canonical hash (fingerprint) of its definition. If the name, description, or schema drifts afterward, the tool is flagged as a rug-pull. See How rug-pull and tool-poisoning detection works.
  2. 2.Scans definitions for poisoning. Tool descriptions and schemas are inspected for injected instructions and known manipulation patterns.
  3. 3.Inspects calls in real time. Tool calls and their arguments are analyzed, and suspicious ones are flagged or blocked according to your policy.
  4. 4.Correlates activity across your agents, so repeated or coordinated abuse surfaces as a single incident instead of scattered noise.

MCP detection runs fail-open by default, so a detection hiccup won't block legitimate tool calls. To have risky calls blocked outright, switch the sensor to fail-closed — see Enabling fail-closed mode.

Where to go next

Was this helpful?Still stuck? Submit a request →

Related articles