You are watching v1 from 2 Oct 2026, an earlier version of this video. Back to the current version, v2

Trusting a Server Is a Decision

Created by Abhyuday DesaiPublished , v1 of 2Runs 4 min 39 sec
1 view

About this video

In Episode 11 of MCP Explained, we look at what a connected server is allowed to touch, and who decides. The last video's agent wrote a file to disk without asking anyone. That is three decisions left to the host: whose code we run, who approves a call before it executes, and what to do with the text that comes back. We read each one in the agent's own code, including the API key sitting inside the one folder we allowed.

You'll learn how to:

  • Understand what adding a server really does: it runs someone else's code on your machine, with your account's access
  • Apply least privilege: hand a server only the folder it needs, and know where that limit is actually enforced
  • Find the approval gap in the serving loop, and what the specification says a host must do before a tool runs
  • See how a tool result becomes context the model reads, and how a planted line could steer it: prompt injection
  • Keep the safe stance: treat what a server returns as data to check, never as instructions to follow

This video is for developers comfortable with Python and calling a model API. Every command is shown on screen and runs from the companion repo.

What changed

  1. v204 Oct 2026abhydesai4 min 38 sece72f5eb

    Scene two's closing line now names the host's three decisions directly; the signpost to the code moves to scene three.

    Same chapters. Transcript: 1 of 30 lines changed.

    Show the differencesHide the differences
    1. These choices are left to the host, and the host is us. There are three, and this video takes them in order. Let's start with the code.

      MCP leaves it to the host to decide what's allowed, and in this case the host is us. That gives us three decisions to make, and this video takes them in order.

    0 views0 likes on this version
  2. v102 Oct 2026abhydesai4 min 39 sec805b43c

    First published version.

    1 view0 likes on this version