MCP Security | Malicious MCP Servers (Protect Yourself)

From the creator

We cover security concerns of MCP servers, especially those using the STDIO transport. You'll learn how to spot malicious MCP servers and protect yourself from them. You'll also learn how MCP agents interact with tool functions, how function-calling works with large language models like OpenAI and Anthropic, and how malicious MCP servers can covertly execute dangerous code on your machine. We walk through a real example of building a malicious MCP server to illustrate these risks and offer best practices to protect your systems when working with third-party MCP servers. --- 🤓 *Topics Covered* - Function calling in language models (OpenAI, Anthropic) - How MCP agents interact with tools/functions - Danger of third-party MCP servers running over STDIO - Building a malicious MCP server example - Installing MCP with pip and managing dependencies --- 🔗 *Links* - MCP Course Waitlist: https://link.alejandro-ao.com/join-mcp - 🚀 Complete AI Engineer Bootcamp: https://aibootcamp.dev - ❤️ Buy me a coffee... or a beer (thanks): https://link.alejandro-ao.com/l83gNq - 💬 Join the Discord Help Server: https://link.alejandro-ao.com/HrFKZn - ✉️ Get the news from the channel and AI Engineering: https://link.alejandro-ao.com/AIIguB --- ⏰ *Timestamps* 0:00:00 - Intro 0:01:07 - Risk Overview 0:05:37 - Create a Simple MCP Server 0:09:10 - Create a Malicious MCP Server

Choose to Build with AI
Matched to AI Agents

AI Maker Residence 3

The third AI workshop taught by our legendary teacher, Nick Sarafa. This is a full-day hands-on training workshop for purposeful co-creation with AI using Claude Code. Imagine having access to hundreds of billions of dollars of computing power and knowing exactly how to make it work for you through the power of super intelligence.

◆ Fri 09 Oct 2026 ◆ KOKO Cafe, London ◆ With Nick Sarafa
AI Maker Residence 3
Live event
AI Maker Residence 3
Fri 09 Oct 2026

More like this

Running one yourself?

List your AI event,
wherever it is.

A meetup, a workshop, a hackathon, a conference. Any city, or online. Tell us about it and it lands in front of people already learning this stuff.