Build Anything With a CUSTOM MCP Server - Python Tutorial

preview_player
Показать описание

In this video, I'm going to show you
how to build a custom MCP server in Python
and connect that to an AI agent. This is going to be very beginner
friendly, but it's going to illustrate
what MCP server actually is and how you make your own,
and how you can extend this to do some really cool stuff.

🎞 Video Resources 🎞

⏳ Timestamps ⏳
00:00 | Introduction to MCPs
01:41 | Setup/Install
04:09 | Basic MCP Example
04:59 | Installing in Claude Desktop
07:25 | Common Claude MCP Issues & Fixes
10:28 | Advanced MCP Server Demo

Hashtags
#Python #MCP #AIAgents
Рекомендации по теме
Комментарии
Автор

Tim soft launching his arms in this video. I see you

nascentnaga
Автор

Thanks, this is interesting.

Essentially this is about:
1. Interacting with an LLM ( using its capabilities as they are i.e you are not changing the core of the LLM)
2. Giving it a task ( prompt, query, request etc ..)
3. Giving it the data, tools, resources required to complete the task ( they all can come from multiple sources)
4. Specifying what to do with the output ( formatting it a certain way, saving it in a certain location, local or cloud etc...)
5. Specifying how often the task needs to be done.

I am sure there are other elements, but that's what was the takeaway for me.
Thank you for the introduction
I look forward to learning more, particularly how to link functions to achieve a desired outcome (built-in and user defined functions)
🙏

shareyourchristmas
Автор

the “don't get too distracted” and the blinking is one of the most distracting things you've done haha, here's an old subscriber, I hope this video gets me like the first flask/apis videos you did

dijei_fullfine
Автор

i was looking for tips in computer science major and i did not notice that the video was 5 years ago, when i click in the video i was like wtf this is the same guy hahaahahahahaha new follower

josephmiguelfelizmarte
Автор

The UV issue is probably that it adds UV to the path when you install it, so you either have to restart or run a powershell script that adds UV to the path immediately without the restart.

gatorpika
Автор

My boy tim look like he just came for lifetime fitness 🤣

DavidLee-znno
Автор

Hey Tim! This video was awesome. Just finished the complete video, with the exact same errors from windows. Thanks alot.

DashDashDashDash-lfue
Автор

I have no imgination, and look forward to your next vid! Keep up the Great Work!

Anil
Автор

Hello! So Tim arrives, appears... and everything becomes clearer, no more headaches! 😃

paulham.
Автор

Really very interesting. Appreciate all your demos.

Can you do a video on reinforcement fine-tuning of LLMs, please ?

ggm
Автор

Tim this is excellent tutorial and very well done ... Love it

Davidkiania
Автор

hey heads up, use Ctrl+R or hamburger > View > Reload instead of ending the task - seems to trigger a reload of MCP servers as well :)

hexbenjamin
Автор

This goes against YouTube standards, guns on full display! 💪

kamranzamanni
Автор

Amazing to practice. This is exciting and it sure is the future - there's a lot we can control here

thandokuhlebrianmsane
Автор

Dont get too distracted 😭 LOL
~ TechwithTankTopTim :D

P.s. MCP Server!!!! Was looking forward to your video :)

usamashami
Автор

I wasn't gonna watch the vid, but I saw the preview from the thumbnail. Dude, I never thought I'd see your biceps 😂

jewelbency
Автор

it seems like AI steal your shirt before stealing our jobs.😂

MD.ADE
Автор

9:31 Thank you so much! I'm facing this exact issue of Claude Desktop kept on showing me error "MCP <serverName>: spawn uv ENOENT" and "Could not connect MCP server <serverName>". Changing the command in the Claude config file works.

I'm on mac. which uv gave me this --> "/Users/<name>/.local/bin/uv" --> so update the command to --> "command": "/Users/<name>/.local/bin/uv"

shafiemukhre
Автор

Thanks for the video! One note though: pathlib has been preferred over os.path for years. I think it would be nice if you introduced people to that, rather than teaching them outdated ways of path manipulation,

JeroenRitmeester
Автор

Can you please make a video for making an AI agent that uses an existing MCP server? It seems that all the tutorials are about how to connect an IDE to an MCP server, and not making a deployable agent. It would also help to see an example of Ollama agents using MCP. Thank you!

aminekissai