From the course: Hands-On AI: Building AI Agents with Model Context Protocol (MCP) and Agent2Agent (A2A)

Execute the code-of-conduct app with MCP

- [Instructor] Let's now run the code of conduct MCP client and review the results. To run this client, we go to the Run function and select Run Python File in Dedicated Terminal. Here we first see the MCP server being started during the initialization process. The metadata for the resources loaded, is printed. It also shows the URI for the resources. The content that is retrieved from the resource is also printed. Then the user query and the final responses are also printed. This shows the MCP client and MCP server in action. We will build out two more MCP applications to demonstrate other capabilities of MCP in the upcoming chapters.

Contents