Notebooks
This repo contains example notebooks and MCP samples created while learning the Model Customization Protocol (MCP) through a DeepLearning.AI course in collaboration with Anthropic, the creators of MCP, and the deep learning community who contributed to the course.
Ask AI about Notebooks
Powered by Claude Β· Grounded in docs
I know everything about Notebooks. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
π MCP Learning Cookbook and Notes
Welcome to my personal learning repository for Model Context Protocol (MCP) and related Generative AI (GenAI) concepts. This repo includes:
- Notes and insights on MCP & GenAI
- Code implementations via cookbooks
- Links to external resources (Notion pages & courses)
Model Context Protocol (MCP)
Why MCP?
Understand the motivation and benefits of using MCP:
MCP Architecture
Explore the design and components of MCP:
LLM Chatbot
Hands-on examples using function tool calling with different providers:
-
π€ ChatBot using Anthropic
tool_calling_anthropic_chatbot.ipynb -
π€ ChatBot using OpenAI
tool_calling_openai_chatbot.ipynb
Creating MCP Server
Hands-on guide to creating an MCP server:
- π₯οΈ Creating an MCP Server
mcp_server.ipynb- This example aligns with exposing the tools via the MCP server.
Creating MCP Client
Hands-on guide to creating an MCP client:
- π₯οΈ Creating an MCP Client
mcp_client.ipynb- This example aligns with consuming the tools via the MCP client. Additionally, They contains the steps to run the MCP client and interact with the MCP server using LLMs.
Connecting Reference MCP Servers
Hands-on guide to connecting to reference MCP servers:
- π Connecting to Reference MCP Servers
connect_the_reference_mcp_servers.ipynb- This example demonstrates how to connect to various reference MCP servers likefilesystems,research_papers, andfetch.
MCP Resources and Prompts
Hands-on guide to using MCP resources and prompts:
- π Using MCP Resources and Prompts
prompts_and_resources_with_mcp.ipynb- This example shows how to run the MCP server and client, explore available tools, list and fetch resources, view all prompts, and use prompts with arguments to get results.
Contributions Welcome!
If youβd like to add examples using other providers or open-source models, feel free to open a pull request. Iβll review and merge it.
Learning Resources
Iβm learning MCP through a free course by DeepLearning.AI and Anthropic (creators of MCP):
MCP Course β Build Rich Context AI Apps
[!NOTE] This repository is a work in progress. More content and examples will be added regularly.
[!TIP] Use the Notion links & MCP Cookbooks above for deep dives and refer to them for practical code.
