🎯 About this course
Learn the main threats to MCP tools and agents and build layered defences: least privilege, real approval, untrusted-output handling, limited reach and an audit trail. Every lesson has a short reading, a video of at most five minutes and hands-on exercises that run in your browser; the lab is checked by tests and the course ends with a gamified quiz with sounds, badges and feedback. Practice runs on plain Python and test messages: there is no real AI model or MCP library in the labs.
By the end you will be able to
- Identify the main threats to a tool-using agent and explain why no single defence is enough.
- Apply least privilege and bind approvals to the exact action.
- Apply untrusted-output wrapping, host allowlists and a safe audit log.
- Build a refund server whose layered defences pass nine tests.