SevyDevy

MCP: one plug for every tool

Saket Bhatnagar, Updated , 9 min, Beginner, Early access

Summary

  • MCP, the Model Context Protocol, is an open standard for connecting AI apps to tools and data.
  • A tool is wrapped once as an MCP server, and then any MCP-ready AI app can use it, like one USB-C charger for every phone.
  • MCP makes connecting simpler, not automatically safer: you still choose which servers to trust and what needs your approval.

Open the drawer in any Indian home and you will find a tangle of chargers. The thin round pin for an old phone, the micro-USB, the one that only fits Papa’s tablet. Every new device meant hunting for the right cable.

Then USB-C arrived. One kind of plug, and the same cable charges your phone, your laptop and your earbuds. AI apps had a charger drawer problem too, until a shared plug for tools came along. That plug is MCP.

The problem: every app wired to every tool

In the last two lessons, a model asked for tools and an agent used them in a loop. But someone has to write the code that connects each AI app to each tool: the calendar, the email, the company database, the code repository.

Say your college builds three AI apps: a chat helper, a coding assistant and a library bot. Each needs four tools. Wired one by one, that is three times four, twelve separate connectors. Each speaks its own format, and each breaks when a tool changes.

With one shared standard, each app learns the standard once and each tool is wrapped once. That is three plus four, seven pieces. A fifth tool costs one new piece, not three. This is the whole reason MCP exists.

Think of it like thisMCP is UPI for AI tools

Before UPI, paying a friend meant knowing their bank, branch and IFSC code, or using the same wallet app they used. Then UPI set one shared set of rules. Now Asha in Jaipur can pay Kabir in Kochi from any UPI app, into any bank, by scanning one QR code. No app had to make a special deal with every bank. Each app and each bank followed UPI once.

In real lifeIn AI
Any UPI app on your phoneAny MCP-ready AI app (the host)
Each bank joining UPI onceEach tool wrapped once as an MCP server
The shared UPI rulesThe Model Context Protocol
One QR code works with every appOne MCP server works with every MCP app
You still enter your PIN to approveYou still approve risky tool actions

Three apps, three tools, one standard

Each AI app speaks MCP once and each tool is wrapped as one MCP server. Any app can now use any tool, without a custom connector for every pair.

Diagram connections:

  • Chat helper to MCP (speaks MCP)
  • Coding assistant to MCP (speaks MCP)
  • MCP to Calendar server (any app)
  • MCP to Files server (any app)
  • MCP to Database server (any app)
  • Chat helper: An AI app that speaks MCP.
  • Coding assistant: Another AI app, same standard.
  • MCP: The shared rules both sides follow.
  • Calendar server: Wraps a calendar as MCP tools.
  • Files server: Wraps a folder of documents.
  • Database server: Wraps a company database, read-only.

MCP was first published as an open standard in late 2024. Through 2025, most major AI chat apps, coding tools and code editors added support, and thousands of MCP servers appeared. Today the project is looked after by an open foundation under the Linux Foundation, so no single company owns it.

Try it yourselfBefore MCP, and with MCPRead each “before” story, then flip the card to see how the same job looks once both sides speak MCP.

Host, client and server: the three roles

MCP uses three words you will hear often. They sound technical, but they map neatly onto what you already know from tool calling.

An MCP server can run on your own laptop, for example to read files in one folder. Or it can live on the internet, run by the company behind a service. Either way, the host talks to it in the same format.

What an MCP server can offer, and who decides when it is used
What it offersWhat it isWho decides whenExample
ToolsActions the model can ask to runThe model asks; the app checkscreate_event, search_orders
ResourcesData the app can attach as contextThe appA project README, a table’s layout
PromptsReady-made instructions a person can pickYouA “summarise this meeting” template

Here is the key link to the last lessons. MCP does not replace tool calling. The host reads the tool list from MCP servers and offers it to the model as its tool menu. The model asks for a tool exactly as before. MCP only standardises how those tools are found and called.

json
{
  "name": "find_free_slots",
  "title": "Find free calendar slots",
  "description": "List free 30-minute slots in the user's calendar on a given date.",
  "inputSchema": {
    "type": "object",
    "properties": {
      "date": { "type": "string", "description": "Date as YYYY-MM-DD" }
    },
    "required": ["date"]
  },
  "annotations": { "readOnlyHint": true }
}

Notice it looks a lot like the weather tool from the tool calling lesson. The readOnlyHint tells the host this tool only reads, so it is a good candidate to run without asking you every time.

What MCP does not do, and how to stay safe

A standard plug does not make every charger safe. A cheap, badly made charger can still damage your phone. MCP is the same: it makes connecting simpler, but a server you plug in can be careless or even harmful.

  • Install servers only from sources you trust, the way you would only install a well-known app.
  • Give each server the smallest access it needs. A calendar server that only reads cannot delete your meetings.
  • Keep approval on for actions. Sending, paying, deleting and posting should wait for your yes.
  • Remember that tool descriptions and tool results are text the model reads. A bad server could hide instructions in them.
  • Watch the menu size. Every tool description costs tokens in the context window, so connect what you use, not everything you can find.

Check yourself

Check yourself

Five AI apps each need the same six tools. Why does MCP help?

Pick an answer to see why it is right or wrong.

Check yourself

In MCP, which part is the AI app you actually type into?

Pick an answer to see why it is right or wrong.

Check yourself

A friend says, “It is an MCP server, so it must be safe to install.” What do you tell them?

Pick an answer to see why it is right or wrong.

Remember these three

  1. MCP is an open standard plug between AI apps and tools, so each tool is wrapped once and works everywhere.
  2. The host is your AI app, each client links to one server, and each server wraps one system’s tools and data.
  3. MCP standardises connecting, not trust: pick servers carefully, limit access and keep human approval for actions.

Questions people ask

What is MCP in AI?

MCP, the Model Context Protocol, is an open standard that lets AI apps connect to outside tools and data in one shared way. A system is wrapped once as an MCP server, and any MCP-ready app can then use it.

Is MCP the same as an API?

Not exactly. An API is one service’s own way of being called. MCP is a common layer on top, so AI apps can discover and use many different services the same way. An MCP server often calls the service’s API behind the scenes.

Do I need to code to use MCP?

Not to use it. Many AI apps let you add an MCP server from their settings. Building your own server does need some coding, and official kits exist for common languages.

Who owns MCP?

MCP is an open standard. It was first published in late 2024 and is now looked after by an open foundation under the Linux Foundation, with the specification public at modelcontextprotocol.io.

Keep learning

Practise it with Lala

A question on this lesson, hints and a review.

Practise GenAI