MCP Fundamentals

Apr 10 2026 · Python 3, JavaScript, macOS , Windows, VS Code

Lesson 04: Advanced Features

Enforcing Roots

Episode complete

Play next episode

Next

Heads up... You’re accessing parts of this content for free, with some sections shown as obfuscated text.

Heads up... You’re accessing parts of this content for free, with some sections shown as obfuscated text.

Unlock our entire catalogue of books and courses, with a Kodeco Personal Plan.

Unlock now

In this video, you will verify that your server correctly enforces the filesystem boundaries you defined. You will run a test client that attempts to read a “safe” file and then attempts a “jailbreak” to read a secret file.

uv run --with mcp secure_server.py
uv run --with mcp root_client.py
See forum comments
Cinema mode Download course materials from Github
Previous: Understanding Roots Next: Understanding Sampling