Mirage Academy · Model Context Protocol

Model Context Protocol: how an AI assistant calls a tool, one step at a time

The Model Context Protocol (MCP) defines the messages between a client and a server through which an assistant learns about tools and calls them. This page walks through one call in eight steps from a Mirage Academy lesson, shows the limits the Academy puts on recorded MCP calls, and uses a real server as the example. You can start free without payment details.

Start your first courseBrowse courses

Who is involved

Five parties share one tool call

The lesson "The path of one tool call" shows an assistant for invoice questions. The names in it are example names.

  1. User

    The person who asks. The host checks with them before sensitive actions.

  2. Model

    It returns a tool call, get_invoice in the lesson, and gives the answer at the end.

  3. Host

    The application, the Desk Assistant in the lesson. It starts the client, converts the tool definitions into the model's format, logs the call and appends the result.

  4. MCP messages

    Client

    The client "invoice" in the lesson. It sends tools/list and tools/call to the server.

  5. MCP messages

    Server

    It answers with the tool list and with the result of a call.

Five lanes side by side: user, model, host, client and server. The band of MCP messages sits over client and server.

The flow

Eight steps from start to answer, four of them MCP messages

The numbers show order only. MCP messages run between the client and the server. Everything else is host code or the model's part.

One call, step by step

MCP message: 4Host code: 3Model: 1

UserModelHostClientServer

MCP messageStep 1 of 8

tools/listThe client asks the server which tools it offers. This is an MCP message.

All eight steps as text
  1. 1. tools/listMCP message. The client asks the server which tools it offers. This is an MCP message.
  2. 2. The answer with ttlMs and cacheScopeMCP message. In the lesson both values are in the result so the list can be cached. In the lesson that counts as an MCP message.
  3. 3. The host converts the definitionsHost code. It turns them into the model's tool format. That is host code and not part of MCP.
  4. 4. The model returns a callModel. In the lesson it is the call get_invoice.
  5. 5. The host logs and asksHost code. It logs the call and asks the person before sensitive actions. That is host code too.
  6. 6. tools/callMCP message. The client sends the call to the server. This is an MCP message.
  7. 7. The resultMCP message. The server answers the client. This is an MCP message.
  8. 8. The host appends the resultHost code. That is host code. Then the model answers.
One tool call in eight steps on five lanes, to click through. Four messages run between client and server, three steps are host code, and in one of them the host asks the person.

Limits

The Academy applies four fixed limits to recorded MCP calls

The Academy records calls against Mirage demo accounts. A recording only looks at things. A call that could change something is not recorded.

Call in the planGets recorded

  1. Count

    At most eight calls

    A plan has between one and eight calls.

  2. Allow list

    Only approved tools

    Each tool must be on the product's allow list.

  3. Read only

    Read only

    Tools whose name contains a write verb such as delete, create, update or run are not recorded.

  4. Credentials

    No credentials

    A tool that would hand back credentials, and a placeholder such as api_key in double curly braces in the arguments, are not recorded.

A recorded call passes four limits in a row: count, allow list, read only, no credentials. The first limit shows eight slots.

A real server

A real server: MirageScouting offers sixteen read-only tools

Mirage runs a public MCP server for MirageScouting. The install steps for Claude, ChatGPT, Microsoft Copilot and Gemini are on the Scout page.

MirageScouting server

all read-only
  • Sixteen tools, all read-only

    The page says: "Your assistant calls these for you. None of them writes anything."

  • Every data call is logged

    According to the page, every data call, a tool call or a resource read, is logged so access can be audited.

  • Every result links back

    According to the page, each result links to the MirageScouting page it came from.

The MirageScouting server as a card with sixteen dots for its sixteen read-only tools, beside the three statements from the Scout page.

Use MirageScouting in your AI assistant →

How you learn it

Lesson, lab, coach and proof make up the learning path

Whether a course covers MCP is stated on its course page in the catalog.

  1. 01

    Lesson

    A short visual explanation, then questions, a task and a quiz. The call above comes from an explanation like that.

  2. 02

    Lab in the browser

    Depending on the course you write code, run queries or solve tasks. The Academy checks every exercise automatically.

  3. 03

    AI coach

    You explain what you understood by voice, and the coach follows up. It is an AI.

  4. A rule decides here

    Certificate

    Depending on the course, the Academy issues a certificate with a verification code, and where the course has it switched on also a confirmation of participation. According to the Academy it is Mirage's own statement and not a state-recognized degree.

Four stations in a row: lesson, lab in the browser, AI coach and certificate.

Start

You start on the Free plan, without payment details

Every course states its level before you start. According to the Academy, many labs need no code.

The box for the Free plan with a link to the pricing page.
  • Most courses are in English today, and the first German courses are in preparation.

Learn to build AI agents →MCP tools and integrations course →

Questions about MCP and the course

  • What is the Model Context Protocol?

    In the Academy lesson, MCP is the set of messages between a client and a server, for example tools/list and tools/call. What the host does before and after, such as converting definitions and logging calls, is host code and not part of MCP.

  • Do I need programming skills?

    It depends on the course. Every course states its level before you start. According to the Academy, many labs need no code at all.

  • How do I practice MCP?

    You learn in short lessons, practice in a browser lab that checks every exercise automatically, and explain what you learned to an AI coach. The course page in the catalog says what a course covers.

  • Can I use the MirageScouting server in my assistant?

    Yes. The Scout page describes the steps for Claude, ChatGPT, Microsoft Copilot and Gemini. It also lists the sixteen tools and the privacy rules.

  • Do I get a certificate, and is it recognized?

    Depending on the course, the Academy issues a certificate with a verification code. Where the course has it switched on, a confirmation of participation comes with it. Both are Mirage's own statements, not a state-recognized degree.

  • Is the course available in German?

    Most courses are in English today. The first German courses are in preparation. The site and the coach work in German and English.

  • What does it cost?

    The Free plan costs nothing and you start without payment details.