Navigate Select ESC Close

Build ANYTHING With an Advanced MCP Server (Python, Authentication, Databases & More)

2025-07-25 Education
70.5k
1.7k
63
Tech With Tim
Tech With Tim
2.0m subscribers

Unlock all features

FREE: Get instant access to 10 AI summaries, chats, or transcripts per day.

Description

In this video, I'll give you a full tutorial on building advanced servers in Python. That means we're going to go beyond the basics. I'm not just going to show you how to set one up. I'm going to talk to you about more advanced features like authentication, databases and the underlying protocol and how that actually works. 🎞 Video Resources 🎞 Get started wit h Stytch: https://stytch.com/?utm_source=referral&utm_medium=youtube&utm_campaign=techwithtim_q3_2025 Code in this video: https://github.com/techwithtim/AdvancedMCPServerWithAuth Claude Code: https://www.anthropic.com/claude-code Claude Code Windows Setup: https://docs.anthropic.com/en/docs/claude-code/setup NGROK Download: https://ngrok.com/downloads/windows?tab=download Stytch Docs: https://stytch.com/blog/mcp-authentication-and-authorization-servers/ 👉 Check out PyCharm, the Python IDE for data and web professionals: https://jb.gg/check_out_pycharm_ide Want to make real money with coding? I share high-signal insights on careers, monetization, and leverage in my free newsletter. Join here and get my guide How to Make Money With Coding instantly: https://techwithtim.net/newsletter ⏳ Timestamps ⏳ 00:00:00 | Overview 00:01:10 | What is MCP? 00:02:12 | Important MCP Concepts and Architecture 00:03:48 | MCP Transport 00:05:10 | MCP Server Components 00:06:08 | Authorization 00:09:54 | MCP Authorization Server 00:12:26 | Identity Providers 00:14:02 | Basic MCP Server Setup 00:21:22 | Claude Code Connection 00:26:47 | Adding Authentication 00:43:00 | Building the Auth Page 00:53:41 | Adding Databases 01:05:29 | Fixing User Identification Hashtags #Python #MCP #ClaudeCode

Top Comments (10)

@Avishake-Miniontek 2025-08-07

Thanks a bunch. I was working with MCP. Looked through the official documents, They confused me to the core. (Chose not to ask an AI with Search tool), Went to YouTube, watched a bunch of videos, none helped. But the `transport` explanation you gave helped me execute my full code written while working. You deserved a million likes.

8
@ceejay1353 2025-07-25

Love the unpaid content, and love that you're addressing things that aren't getting covered enough.

10
@pankpunk1 2026-04-25

Thankyou for the course; I modified it a bit to use codex mcp server and was able to get going ;

0
@newcode7847 2025-08-20

Man, you just saved me a ton of work. I was actually tasked with setting up OAuth for the company’s MCP server. You got another sub.Thanks a lot!

2
@pavelk5109 2026-02-15

Thank you! It’s a very clear and simple explanation, and a real enabler for many people developing with MCP.

0
@gauravbhosle2167 2026-03-17

Thank you for the detailed explanation. I do have a follow-up question: In real-world scenarios, we typically work with databases, and APIs are created to access that data. To call these APIs, an access token is required. How can we invoke such APIs within a tool, and how do we map the OAuth-authenticated user to the corresponding user in the third-party resource provider’s database so that the API can be called on their behalf?

1
@YT_guruuuu 2025-08-05

This kind of deep dive is so valuable especially for building something robust I’ve been layering Genum AI into projects like this to manage prompt-driven logic and it’s been a huge help when adding AI components on top of advanced backend setups anyone else doing hybrid builds like that?

2
@kashaa-gaiv 2025-07-31

love the way you break things down and simplify it thanks a lot

1
@ariethegamedev2251 2025-07-26

Thanks again, was struggling with community work and docs

3 1 replies
@RafaelBroseghini 2025-07-25

OAuth 2.1 compliant IDPs make things so much easier! nice demo

1

Unlock the Data Inside
Turn Videos into Knowledge

  • Get FREE 10/day: transcripts, summaries, chats
  • Chat with videos, export text & PDF
  • $1 free API credit for RAG, chatbots & research

Free forever plan • All features unlocked

App screenshot