CO/AI Subscribe
Wednesday · June 17, 2026 · Issue No. 898
Video

MCP is all you need

Watch on YouTube

Pydantic MCP unlocks Python data validation power

Pydantic's new Model Composition Protocol might just revolutionize how Python developers handle data validation. In a recent tech talk, Samuel Colvin—the creator of Pydantic—introduced MCP, potentially the most significant enhancement to the popular data validation library since its inception. For developers who regularly wrangle with complex data structures, this seemingly technical update offers surprising flexibility that could dramatically simplify codebases across numerous Python projects.

Key points from Samuel's presentation:

  • MCP (Model Composition Protocol) introduces a new approach to composing Pydantic models, allowing for more flexible and powerful data validation patterns beyond inheritance
  • The protocol addresses limitations in Pydantic V1's model composition, providing better support for complex nested data validation scenarios
  • MCP enables working with immutable data structures while maintaining type validation, substantially improving both correctness and developer experience

Why MCP matters more than you might think

The most insightful aspect of Colvin's presentation is how MCP fundamentally changes Pydantic's approach to data validation. Rather than forcing developers to structure their validation logic around class inheritance—which can quickly become unwieldy—MCP allows for more composable, flexible patterns that better represent real-world data.

This shift matters because data validation sits at the heart of modern application development. Whether you're building APIs, processing user inputs, or integrating with external services, the ability to reliably validate, transform, and manipulate structured data determines both your application's reliability and your development velocity. By making these patterns more intuitive and maintainable, MCP could significantly reduce the complexity tax that many Python projects pay when dealing with complex data structures.

Beyond the presentation: Practical applications

What Samuel didn't explicitly cover is how transformative MCP could be for microservice architectures. In distributed systems, where data constantly flows between services, robust validation becomes critical. Previously, teams might define similar but slightly different validation models across services, leading to inconsistencies and bugs. With MCP, a shared validation library becomes more practical—models can be composed and customized per service without duplicating core logic.

Consider a financial services application that processes transaction data. The core transaction model might include dozens of fields, but different microservices need different subsets with additional validation rules. Before M

Share: X LinkedIn Email
Video Feed

More videos

All videos →
Claude Fable 5: When Capability Meets Economics
Video

Claude Fable 5: When Capability Meets Economics

Anthropic released Cloud Fable 5 with a paradox built in: safeguards sophisticated enough to let a mythosclass model...

Run Agentic AI Entirely on Your Mac—No Cloud, No Latency, No Privacy Tradeoffs
Video

Run Agentic AI Entirely on Your Mac—No Cloud, No Latency, No Privacy Tradeoffs

Apple’s MLX framework is mature enough now that you can run serious agentic AI workflows locally on Silicon...

Hermes Agent Master Class
Video

Hermes Agent Master Class

Welcome to the Hermes Agent Master Class — an 11-episode series taking you from zero to fully leveraging...

CONSULTING

Outsider
Labs.

A management consulting team focused on AI transformations for executives and business owners.

Work with us →