PyCon India 2025

Implementing an MCP Server for DBMS in Python — YDB’s Experience
2025-09-13 , Track 2

Discover how YDB leverages the Model Context Protocol (MCP) to bridge AI models with database systems. This session delves into the development of a Python-based MCP server that enables seamless interactions between large language models and YDB’s open-source Distributed DBMS. Learn about the design decisions, challenges faced, and the practical benefits of integrating MCP into data architecture. Ideal for developers and AI practitioners aiming to enhance AI capabilities with direct database access.


  • 1 min speaker intro
  • 4 mins introduction to MCP
  • 4 mins why Python is an excellent fit for implementing MCP, and what tools are available
  • 8 mins sharing of practical experience building an MCP server for DBMS integration in Python
  • 5 mins automated testing of MCP integrations
  • 3 mins lessons learned
  • 5 mins Q&A

Prerequisites

General understanding of Large Language Models (LLM) and Database Management Systems (DBMS). No deep knowledge of Python itself is necessary.

Additional Resources

https://modelcontextprotocol.io/

Target Audience

Beginner

Ivan Blinkov is a seasoned technical leader specializing in data storage and processing. Over the last decade, he was involved in the development of several database management systems, two of which are open-source: ClickHouse in the past and, currently, YDB.