From the course: Hands-On AI: Implementing Agentic Systems

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Model Context Protocol (MCP)

Model Context Protocol (MCP)

- [Instructor] No discussion of agents would be complete without talking about MCP or model context protocol. Remember when I said an agent is only as useful as the data sources and tools it has access to? In the previous approach, we might have to code each and every data source a tool we want to use, or maybe the model providers would have to understand how to use each one. Either way, it creates a terrible mess. This is where MCP comes into play. At its base, MCP is a standardization effort to make more data sources and tools available to LLMs. It takes a lightweight approach in packaging capabilities and simple APIs using JSON-RPC specifically, and then making those interfaces simple and reusable. MCP introduces a simple client server approach where the server handles all the complexity and the inconsistencies of the underlying service, and the client has a simple, machine understandable interface to use. With Gmail, you might have a function called "send email" with some…

Contents