top of page

How to use MCP tools with a PydanticAI Agent

  • Writer: Finn Andersen
    Finn Andersen
  • Mar 14
  • 1 min read



The Model Context Protocol enables connecting AI Agents/LLMs to external resources and tools using a standardized interface. I wanted to explore how it worked and how MCP servers could be used with my AI Agent framework of choice, PydanticAI. 


Turns out it's not very straightforward at the moment due to lack of official support... so I wrote an article describing how it can be done. Have a read if you're interested in seeing how MCP can be used in practice to empower an AI Agent.


Hopefully it won't be much longer before PydanticAI makes using MCP less of a pain! 

Comments


  • LinkedIn
  • GitHub-Mark_edited
  • Medium
bottom of page