Assignment
Try running the code provided in https://github.com/PacktPublishing/Learn-Model-Context-Protocol-with-Python/blob/main/Chapter02/Solutions/README.md to see how things work. The code should do the following:
- Initialize a connection
- Send an initialized notification
- List tools
- Call a tool and produce notifications
- Produce sample messages
The code is built up in steps, so it’s worth going through all the subfolders for your chosen runtime.
 
                                             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
     
         
                 
                 
                 
                 
                 
                 
                 
                 
                