Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Build MCP Servers With Tools From Scratch With LangChain

Krish Naik via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn to build Model Context Protocol (MCP) servers from scratch using LangChain in this comprehensive 36-minute tutorial. Discover how MCP standardizes the way applications provide tools and context to language models, and explore how LangGraph agents can utilize tools defined on MCP servers through the langchain-mcp-adapters library. Start with an introduction to the project scope and understand what you'll be building throughout the session. Set up your development environment using the UV package manager for efficient project management. Create a Math MCP Server to handle mathematical operations and calculations. Build a Weather MCP Server to provide weather-related functionality and data retrieval. Develop a client application that integrates with your MCP servers, demonstrating how to connect and utilize the tools you've created. Test your complete application to ensure all components work together seamlessly. Gain hands-on experience with the Model Context Protocol ecosystem and learn practical implementation techniques for building robust MCP servers that can enhance language model capabilities with custom tools and context.

Syllabus

00:00:00 Introduction
00:00:54 What we are going to Build
00:06:36 Project Set up With UV Package
00:12:21 Build Math MCP Server
00:17:53 Building MCP Weather Server
00:23:00 Building the Client With MCP Integration
00:30:40 Test the application

Taught by

Krish Naik

Reviews

Start your review of Build MCP Servers With Tools From Scratch With LangChain

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.