VSCode + MCP: Chat with Your API using GitHub Copilot
TL;DR In this article, you’ll learn how to: Build a FastAPI Books API Expose it with MCP Chat with it in VS Code using GitHub Copilot Agent Mode Bonus: Extend into AI-powered interactions with Ollama + OpenWebUI Introduction Why would you ever want to chat with your API in VS Code using MCP? Because you can!

TL;DR
In this article, you’ll learn how to:
- Build a FastAPI Books API
- Expose it with MCP
- Chat with it in VS Code using GitHub Copilot Agent Mode
- Bonus: Extend into AI-powered interactions with Ollama + OpenWebUI
Introduction
Why would you ever want to chat with your API in VS Code using MCP?
Because you can!