G Talks Tech podcast

Build a Custom MCP Network Assistant With Python and FastMCP

11/6/2026
0:00
27:53
Manda indietro di 15 secondi
Manda avanti di 15 secondi
This episode is the audio from a YouTube video. Some segments reference on-screen demos. Watch the full video at https://youtu.be/LZrmRdSMiJ0 Every network engineer has asked an AI chatbot for help, then had to manually copy and paste show command output back and forth the whole time. This episode walks through building a custom MCP server with FastMCP and Netmiko that gives Claude Desktop live, read-only access to real Cisco IOS lab devices, so you can ask questions in plain English and get answers pulled straight from your running network. What you’ll learn How to build an MCP server from scratch with FastMCP and Netmiko How MCP (Model Context Protocol) actually works and why it matters now that it’s an open standard How to test a custom MCP server with MCP Inspector before wiring it into anything How to connect a custom MCP server to Claude Desktop without falling into the Connectors trap How to whitelist safe commands and redact sensitive output (passwords, SNMP strings, MD5 keys) before anything reaches the AI How to diagnose a real OSPF Hello/Dead timer mismatch using a single plain-English query How the same MCP server works inside Claude Code from the terminal, and what changes when more tools are in play Chapters 00:00 Intro 01:44 Building the MCP Server 03:31 What MCP Actually Is 06:11 Server Code Walkthrough 09:05 Testing With MCP Inspector 11:05 Wiring Into Claude Desktop 14:55 Live Demo: Tools and Blocked Commands 17:10 Security Demo: Redaction in Action 20:14 The Headline Query: Diagnosing OSPF 23:50 Bonus: Same Server in Claude Code 26:04 Recap and What’s Next Resources GitHub (full MCP server, lab YAML, setup instructions): https://github.com/GTalksTech/netops-toolkit/tree/main/scripts/netmiko/mcp-network-assistant Blog post (written walkthrough): https://gtalkstech.com/blog/mcp-network-assistant/ FastMCP: https://github.com/jlowin/fastmcp Netmiko (Kirk Byers): https://github.com/ktbyers/netmiko Heads up on this one: it’s a screen-share build, so there is real terminal work you can’t see here. The reasoning and the findings all stand on their own in audio. If you want to replicate the lab, the video version is worth the watch. Support the show: https://ko-fi.com/gtalkstech

Altri episodi di "G Talks Tech"