Demonstrates how to build Model Context Protocol (MCP) servers with TypeScript, enabling large language models to interact with YouTube functionalities and custom prompts.
This repository contains the practical demonstrations from the Miduconf 2025 talk on programming Model Context Protocol (MCP) servers. MCP is an open standard enabling structured and secure communication between language models and external tools like APIs or databases. This project specifically showcases how to implement an MCP server in TypeScript, providing a suite of YouTube-related functionalities that allow large language models (such as GitHub Copilot Chat) to search videos, playlists, channels, generate video titles, and utilize pre-defined prompts or elicitations for enhanced interactions. It also illustrates how an MCP server can leverage the client's own AI models through 'sampling' for tasks like content generation.