Post Content
â In this theater session, Software Engineer Eleanor Boyd walks through building a custom MCP (Model Context Protocol) server in Visual Studio Code using GitHub Copilot and Python. She walks through a real use case, fetching PyPI package data, and shows how to connect your tool to Copilotâs Agent Mode for powerful AI-assisted coding.
https://code.visualstudio.com/docs/copilot/chat/mcp-servers
https://www.linkedin.com/in/eleanorjboyd/
00:00 â Intro: Build an MCP Server in VS Code
00:09 â Overview of GitHub Copilot Features
02:17 â Agent Mode in VS Code Explained
03:05 â Branch Coverage in Python with Coverage.py
05:00 â Using Copilot to Fetch Package Version Info
05:34 â What Is MCP (Model Context Protocol)?
07:14 â MCP Tools and Real-World Use Case
08:12 â Building a PyPI Info Tool with MCP
09:02 â Setting Up Python Environment in VS Code
11:03 â Generating PyPI Script with Copilot
13:59 â Converting Script into MCP Tool
15:40 â Running and Testing the MCP Server
17:23 â Registering MCP Server in VS Code
18:22 â Using the Tool in Agent Mode
20:50 â Live Demo: Querying PyPI Packages
21:38 â Recap: Benefits of MCP in VS Code
22:14 â Q&A: Optimizing Tool Descriptions
23:49 â Q&A: Sharing MCP Tools with Others
25:56 â Closing Remarks and Thank You   Read More Microsoft DeveloperÂ