Glossary · AI agents

MCP (Model Context Protocol)

The Model Context Protocol (MCP) is an open protocol through which AI applications connect to servers that expose tools, resources and prompts, so a model can discover and invoke them in a standard way.

MCP was introduced by Anthropic in late 2024 and is now implemented by many AI applications and tool vendors. It defines three roles: a host (the AI application, such as a chat client, IDE or agent runtime), the client inside it that holds a connection, and an MCP server that exposes capabilities. Messages are JSON-RPC 2.0, carried over standard input and output for local servers or over streamable HTTP for remote ones. After an initialize handshake, a client can list a server's tools (functions the model may call, each with a name, description and input schema), resources (data the application may read) and prompts (templated instructions). Tool definitions can carry annotations, such as a hint that a tool is read-only.

How it is used in practice

Organizations use MCP to give agents access to internal systems without writing a custom integration per model: an MCP server for the ticketing system, one for the code host, one for a database, each reusable across AI applications. Developers install community MCP servers to extend their coding assistants. Security teams, in turn, have to answer new questions: which MCP servers are in use, which tools each exposes, what those tools can change, which credentials the servers hold, and which agents may call which tools.

Common pitfalls

  • Letting the model decide. If the only check on a tool call is the model's own judgment, prompt injection in any content the agent reads can trigger it.
  • Trusting annotations. A server's claim that a tool is read-only is a claim; a malicious or careless server can mislabel a destructive tool.
  • Tool poisoning. Tool descriptions are read by the model, so a server can hide instructions in them.
  • Over-privileged server credentials. An MCP server often holds a broad token for the system it fronts, which every connected agent then borrows.
  • Unknown servers. A locally installed server is code running with the user's permissions.

How TrustIvan relates to it

TrustIvan NHI Security's MCP connector reads what a server publishes through the protocol's own initialize and tools/list handshake over streamable HTTP, and records its tools and resources. Each tool gets an effect (read, write, administrative, authenticate or unknown), seeded from the server's read-only hint and correctable by a person with a stated reason. Agents start with no tool entitlements. Before forwarding a tool call, an agent runtime asks NHI Security's runtime gate, which answers allow, challenge or deny using the stricter of the declared action and the tool's recorded effect. The gate does not sit in the network path: it decides only for a runtime that asks it. See MCP server guardrails.

Related terms

On the platform: MCP security. All glossary terms

See TrustIvan on your own estate.

Book thirty minutes with an engineer and bring an image, a repository or a cloud account, or start free on the hosted service.