|
| 1 | +--- |
| 2 | +title: Agentic AI tools for Windows development |
| 3 | +description: Learn how to enhance AI coding agents with Windows-specific context using MCP servers, custom instructions, and community plugins. |
| 4 | +ms.date: 03/03/2026 |
| 5 | +ms.topic: article |
| 6 | +--- |
| 7 | + |
| 8 | +# Agentic AI tools for Windows development |
| 9 | + |
| 10 | +AI coding agents work best when they have access to accurate, up-to-date context about the frameworks and APIs you're using. By connecting your agent to the right tools and resources, you can significantly improve the quality of the code it generates for Windows apps. |
| 11 | + |
| 12 | +The following resources help you give your AI coding agent deeper knowledge of Windows development, from official Microsoft documentation to community-contributed best practices. |
| 13 | + |
| 14 | +## Microsoft Learn MCP Server |
| 15 | + |
| 16 | +The [Microsoft Learn MCP Server](/training/support/mcp) gives AI coding agents direct access to official Microsoft documentation. It's a remote [Model Context Protocol (MCP)](https://modelcontextprotocol.io/) server that lets agents search documentation, fetch complete articles, and find code samples from Microsoft Learn. |
| 17 | + |
| 18 | +This means your agent can look up the latest API references, find working examples, and verify its suggestions against official docs — all without you having to copy and paste documentation into your chat context. |
| 19 | + |
| 20 | +**Key details:** |
| 21 | + |
| 22 | +- **Free to use**, no authentication required |
| 23 | +- Works with MCP-compatible clients like VS Code, Visual Studio, and other agentic development environments |
| 24 | +- Powered by the same knowledge service behind [Copilot for Azure](https://azure.microsoft.com/products/copilot) and Ask Learn |
| 25 | + |
| 26 | +**Get started:** |
| 27 | + |
| 28 | +Add the following MCP server endpoint to your agent or IDE configuration: |
| 29 | + |
| 30 | +``` |
| 31 | +https://learn.microsoft.com/api/mcp |
| 32 | +``` |
| 33 | + |
| 34 | +For step-by-step setup instructions, see [Get started with the Learn MCP Server in VS Code](/training/support/mcp-get-started) or [in Foundry](/training/support/mcp-get-started-foundry). |
| 35 | + |
| 36 | +## WinUI 3 development plugin for GitHub Copilot |
| 37 | + |
| 38 | +The [Awesome Copilot](https://github.com/github/awesome-copilot) repository is a community-driven collection of custom instructions, agents, skills, and plugins for GitHub Copilot. These resources teach Copilot about specific frameworks so it generates more accurate and idiomatic code. |
| 39 | + |
| 40 | +The [WinUI 3 Development plugin](https://github.com/github/awesome-copilot/tree/main/plugins/winui3-development) is built specifically for Windows App SDK developers. It prevents common mistakes — like using legacy UWP APIs that no longer work in WinUI 3 — and guides Copilot toward correct, modern patterns. |
| 41 | + |
| 42 | +The plugin includes: |
| 43 | + |
| 44 | +- **WinUI 3 Expert agent** — an expert agent that covers UWP-to-WinUI 3 API migration rules, XAML controls, MVVM patterns, windowing, threading, app lifecycle, dialogs, and deployment |
| 45 | +- **Migration guide skill** — a slash command (`/winui3-development:winui3-migration-guide`) with API namespace mappings, before/after code snippets, and a step-by-step migration checklist |
| 46 | +- **Custom instructions** — rules applied to XAML, C#, and `.csproj` files that prevent the most common Copilot code generation mistakes, such as using `CoreDispatcher` instead of `DispatcherQueue`, or `MessageDialog` instead of `ContentDialog` |
| 47 | + |
| 48 | +**Install the plugin:** |
| 49 | + |
| 50 | +```bash |
| 51 | +copilot plugin install winui3-development@awesome-copilot |
| 52 | +``` |
| 53 | + |
| 54 | +This copies the plugin's agents, skills, and instructions into your project's `.github/` directory, where Copilot picks them up automatically. |
| 55 | + |
| 56 | +**Browse and discover more plugins:** |
| 57 | + |
| 58 | +You can browse all available Copilot customizations using the [Awesome Copilot extension for VS Code](https://marketplace.visualstudio.com/items?itemName=TimHeuer.awesome-copilot), which lets you preview and install resources directly into your workspace. |
0 commit comments