Explainer

MCP: giving AI controlled access to your systems

What Model Context Protocol is, why it matters, and how to design an MCP service with clear access boundaries.

A glass cube with pulled-out drawers and a red key resting on top

Imagine hiring a contractor and handing them a key. The question is not whether they are honest, but which doors that key opens. Model Context Protocol is, at its core, a way to issue a set of specific keys instead of one universal master key.

The problem it solves

A language model on its own can do exactly one thing: continue text. It has no access to your CRM, your warehouse, or your knowledge base. To make the model useful in a real workflow, you have to connect it to systems, and that is where the difficulties begin.

The first reflex is: “give the model access to the database and let it figure things out.” That is a bad idea for three reasons. The model does not know which data is sensitive. It does not distinguish “read” from “modify.” And it generates plausible text, not a guaranteed correct query — meaning sooner or later it will produce something unexpected.

The second approach is a separate integration for every “model × system” pair. It works, but the number of pairs grows as a product, and every update has to be repeated everywhere.

MCP offers a third path: a system describes itself once, as a set of tools, and any compatible client can use those tools. Instead of five separate “connectors” for five models, you get one service that every protocol-capable client already understands.

  1. 01

    Model

    Sees only the list of permitted tools

  2. 02

    MCP service

    Describes actions, data, and scenarios one by one

  3. 03

    Your systems

    CRM, warehouse, knowledge base — out of direct reach

What this looks like in practice

An MCP service declares three things. Let us walk through the example of a delivery service connected to an agent.

Tools — actions that can be performed. Not “access to the orders table,” but specifically find_order(number) and delivery_status(number). Each tool has declared parameters and a declared response.

Resources — data that can be read: a document, a record, a reference table. Also item by item, not wholesale.

Prompts — predefined usage scenarios that the client can offer to the user.

The model sees only this list. It does not know what is inside — SQL, a third-party API, or a file on disk — and it cannot step outside what has been declared. If the tool “delete order” is not in the list, that action is impossible in principle, not merely “discouraged by instructions.”

Where exactly the boundary lies

This is the key difference from the approach of “we’ll write in the prompt what is forbidden.”

A prompt is a request. The model usually complies, but this is probabilistic behavior, and one inventive phrasing from a user can change it. A list of tools is a technical boundary. It cannot be talked around, because it operates at the level of the service’s code, not its text.

The practical rule: everything that must be guaranteed is implemented in the service; everything that is merely desirable can be written in the prompt.

From this follows how to design tools:

  • one tool — one action with predictable consequences;
  • narrow parameters: order(number), not query(any_sql);
  • permissions are checked inside the tool, by the user’s role, not by the model’s word;
  • data-modifying actions are kept separate from read-only ones and, where needed, require confirmation by a human.

There is one more useful consequence of this separation: the same service serves both the “intelligent agent” and an ordinary interface. An action the model calls as a tool, a developer can trigger with a button. Validation logic is not duplicated, because it lives inside the service.

Traceability

The second advantage, mentioned less often: every tool call can be logged. Who made the request, which tool was invoked, with which parameters, and what came back.

This turns the agent from a black box into a process that can be reviewed after the fact. When something goes wrong, you see the chain of actions, not just the final answer. For any organization that must be able to explain its decisions, this is not a nice-to-have — it is a launch requirement.

When MCP is not needed

Not every task requires it. If the agent only reads documents and answers questions about them, you need search over a knowledge base, not a set of tools — a simpler and cheaper construction.

MCP starts paying off when the model has to act: create records, change statuses, reach out to several systems within one scenario. In other words, where the cost of an error is higher than the cost of an imprecise answer.

Where to start

Take one recurring process that is already well documented and has a clear outcome. For example, creating a procurement request: check the stock balance, calculate the total, create the document, send it for approval. Write out the steps a human performs in it, and mark which of them are calls to a system. Those calls will become your first set of tools.

Start by limiting yourself to read-only tools: search, view, check. Enable write actions after the log shows that the agent behaves predictably.

Then comes a narrow launch: one scenario, a limited group of users, logging enabled. After a few weeks of real calls, you will see which tools are missing and which turned out to be unnecessary. That is a more reliable way to design the set than trying to predict it in advance.

And the main point: MCP is not a fashionable add-on for agents, but ordinary interface discipline. Each system describes what it can do; the model chooses among what is permitted; the human sees the log. Then AI in your business stops being a source of risk and becomes just another user — with limited permissions, under supervision, and with keys only to the doors you chose to hand over.

Try Ukrainian AI right now

Eney 1 runs in the browser with no installation. For teams and enterprises we'll show how to deploy a private setup.