AI & LLMs

MCP Explained: The Missing Layer Between AI and Applications

Every AI application has been building its own integrations with tools and data. The Model Context Protocol, released as an open standard in November, aims to replace that N×M problem with one protocol. We explain what MCP is, how it works, why it is gaining momentum and what it means for businesses.

By EthicalHat Research · · 3 min read
Infographic: Before and after the Model Context Protocol

Large language models are only as useful as the context they can reach. A brilliant model that cannot see your tickets, query your database or read your documents is limited to general knowledge.

Until recently, connecting models to systems meant custom work in every application. ChatGPT had plugins, IDE assistants had their own extension formats, and every internal chatbot had bespoke integrations. With N AI applications and M tools, you needed something close to N × M integrations.

In late November, Anthropic released the Model Context Protocol (MCP) as an open standard to fix that.

What MCP is

MCP is a protocol, a set of rules for how an AI application and an external system talk, rather than a product. It defines three roles:

  • Host: the AI application the user interacts with (a desktop assistant, an IDE, an agent).
  • Client: a component inside the host that maintains a connection to one server.
  • Server: a program that exposes capabilities from some system, such as GitHub, a database, a file system or an internal API.
flowchart LR
  subgraph Hosts["AI applications (hosts)"]
    H1[Desktop assistant]
    H2[IDE]
    H3[Custom agent]
  end
  subgraph Servers["MCP servers"]
    S1[GitHub]
    S2[Postgres]
    S3[Google Drive]
    S4[Internal API]
  end
  H1 <-->|MCP| S1
  H1 <-->|MCP| S3
  H2 <-->|MCP| S1
  H2 <-->|MCP| S2
  H3 <-->|MCP| S4
  H3 <-->|MCP| S2

Build a server for your system once, and any MCP-compatible host can use it. Build a host once, and it can use any MCP server. The N × M problem becomes N + M.

What servers provide

MCP servers can expose three kinds of capability:

  • Tools: functions the model can call, such as create_issue, run_query or search_documents. Each has a name, a description and a JSON schema for its inputs.
  • Resources: data the application can read and attach to the conversation, such as files, database records or API responses.
  • Prompts: reusable templates a user can pick, such as "review this pull request" or "summarise this incident".

Under the hood, messages use JSON-RPC 2.0. Servers can run locally, launched by the host and communicating over standard input and output, or remotely over HTTP.

A tool call from the model's side looks like this on the wire:

json
{
  "jsonrpc": "2.0",
  "id": 7,
  "method": "tools/call",
  "params": {
    "name": "search_issues",
    "arguments": { "repo": "example/api", "query": "timeout in payments", "state": "open" }
  }
}

Why it is gaining momentum

  • It is open. The specification and SDKs (Python, TypeScript and more) are open source.
  • Early adoption is real. Claude Desktop supports it, developer tools including Zed, Replit, Codeium and Sourcegraph have announced support, and companies such as Block and Apollo were early adopters. The community has already published a large number of servers.
  • It matches how agents work. Agents need to discover and call tools dynamically. MCP gives them a standard way to do that.
  • It decouples models from integrations. You can switch or combine model providers without rewriting every connection.

What it means for businesses

Internal systems become AI-accessible. Writing an MCP server for an internal API, knowledge base or database is often a small project, and it makes that system available to every approved AI tool your staff use.

Vendor choice improves. Integrations are not locked to one AI provider's plugin format.

Governance becomes central. When connecting a tool to AI is easy, the questions shift to which servers are allowed, with what credentials, for whom.

Security questions to ask early

MCP is young, and its security model is still evolving. Before rolling it out widely:

  • Which servers are approved? Community servers vary widely in quality. Treat them like any third-party code with access to your systems.
  • What credentials does each server hold? Scope them tightly, ideally per user rather than a shared admin token.
  • What can tools do? Separate read-only tools from those with side effects, and require user confirmation for the latter.
  • What can the model be tricked into? Tool results and resources can contain prompt-injection attempts. Combining a server that reads untrusted content with one that can send data out deserves special care.
  • Is usage logged? Every tool call should be attributable and auditable.

The bottom line

MCP addresses a genuine problem, the integration layer between AI and everything else, with an open and simple design. If adoption continues at its current pace, it could become to AI applications what HTTP APIs are to web applications. Organisations should start experimenting with it now, while putting the governance in place that a universal connector demands.

Our agentic AI security team builds MCP servers for internal systems, and our application security testing covers MCP deployments.

EthicalHat Research

The EthicalHat research team: penetration testers, SOC analysts and engineers writing about security, software engineering and AI.

Want an expert opinion on your own systems?

Email info@ethicalhat.com or call +1-844-838-4422. Our security engineers are happy to talk it through.