{"id":3006,"date":"2025-12-08T20:12:20","date_gmt":"2025-12-08T20:12:20","guid":{"rendered":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/2025\/12\/08\/microsoft-learn-mcp-server-elevates-development\/"},"modified":"2025-12-08T20:12:20","modified_gmt":"2025-12-08T20:12:20","slug":"microsoft-learn-mcp-server-elevates-development","status":"publish","type":"post","link":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/2025\/12\/08\/microsoft-learn-mcp-server-elevates-development\/","title":{"rendered":"Microsoft Learn MCP Server Elevates Development"},"content":{"rendered":"<p>Have you tried asking GitHub Copilot about Aspire 13 or the new Agent Framework and found it either hallucinated an answer or told you that those things didn\u2019t exist? This happens because the model used was trained before those things did exist, so it doesn\u2019t know how to answer or help you. As you continue to innovate and move at the speed of AI, you need a development assistant that can keep up with the latest information.<\/p>\n<p>Introducing the MS Learn Model Context Protocol (MCP) server tools. In this post, we\u2019ll explore how the Learn MCP server enhances the developer experience with Copilot, showcase practical examples, and provide straightforward integration instructions for Visual Studio, Visual Studio Code, the Copilot Command Line Interface, and the Copilot Coding Agent.<\/p>\n<h2>What Is the MS Learn MCP Server?<\/h2>\n<p>The MS Learn MCP server is a managed content provider designed to seamlessly provide Copilot with high-quality, up-to-date, context-aware Microsoft product documentation, code samples, and learning resources to ensure it has the latest information to provide the developer with the best results. Whether you\u2019re building a new AI agent or optimizing an existing WinForms application, the Learn MCP server ensures Copilot has the information it needs.<\/p>\n<h2>Enhancing the Developer Experience<\/h2>\n<p>By integrating the Learn MCP server with Copilot, .NET developers benefit from a more intelligent and responsive coding environment. Here\u2019s how it makes a difference:<\/p>\n<ul>\n<li>Improved Code Suggestions: Copilot delivers code suggestions and explanations backed by trusted Microsoft Learn content, reducing the risk of outdated or incorrect guidance.<\/li>\n<li>Context Awareness: The MCP server returns documentation and code samples specific to your scenario\u2014whether you\u2019re working with .NET 10, experimenting with Aspire, or building APIs in C#.<\/li>\n<li>Faster Problem Solving: Instead of leaving your editor to search for documentation, you get instant, in-place answers and code references, accelerating your workflow.<\/li>\n<li>Learning While Coding: Accessing MS Learn modules and tutorials helps you upskill in real time as you work on projects.<\/li>\n<\/ul>\n<h2>Key Use Cases: MCP Server in Action with Copilot<\/h2>\n<ul>\n<li>On-Demand API References: While implementing authentication in ASP.NET Core, Copilot\u2014powered by the Learn MCP server\u2014provides inline references to the latest Microsoft Identity documentation and code samples specific to your framework version.<br \/>\n<img data-opt-id=1560619704  fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2025\/12\/MSLearn-APIReference.webp\" alt=\"Screenshot of Copilot Chat using MS Learn MCP Server to get API references\" \/><\/li>\n<li>Best Practice Recommendations: As you write a new MCP Server, Copilot surfaces best practices from MS Learn, ensuring your implementation follows current guidelines.\n<p><img data-opt-id=1208195261  fetchpriority=\"high\" decoding=\"async\" src=\"https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2025\/12\/MSLearn-BestPracticeRecommendation.webp\" alt=\"Screenshot of Copilot Chat using MS Learn MCP Server to get best practice information\" \/><\/p>\n<\/li>\n<li>Learning New Frameworks or Libraries: When experimenting with technologies like gRPC or SignalR, Copilot can recommend relevant MS Learn modules and code samples, accelerating onboarding and knowledge acquisition.<br \/>\n<img data-opt-id=237638385  data-opt-src=\"https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2025\/12\/MSLearn-Learning.webp\"  decoding=\"async\" src=\"data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%20100%%20100%%22%20width%3D%22100%%22%20height%3D%22100%%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect%20width%3D%22100%%22%20height%3D%22100%%22%20fill%3D%22transparent%22%2F%3E%3C%2Fsvg%3E\" alt=\"Screenshot of Copilot Chat using MS Learn MCP Server to get information about a framework or library\" \/><\/li>\n<\/ul>\n<h2>Integration Instructions<\/h2>\n<p>Ready to harness the power of the Learn MCP server with Copilot? Below are step-by-step guides for integrating the MCP server into your favorite tools.<\/p>\n<h3>Visual Studio<\/h3>\n<ol>\n<li>Make sure you are on Visual Studio 2026 or Visual Studio 2022 version 17.14.<\/li>\n<li>The MS Learn MCP Server is built-in and is available for you to use, just make sure they are turned on when you submit your chat.<\/li>\n<\/ol>\n<p><img data-opt-id=1946247363  data-opt-src=\"https:\/\/devblogs.microsoft.com\/dotnet\/wp-content\/uploads\/sites\/10\/2025\/12\/MSLearn-Tools.webp\"  decoding=\"async\" src=\"data:image/svg+xml,%3Csvg%20viewBox%3D%220%200%20100%%20100%%22%20width%3D%22100%%22%20height%3D%22100%%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Crect%20width%3D%22100%%22%20height%3D%22100%%22%20fill%3D%22transparent%22%2F%3E%3C%2Fsvg%3E\" alt=\"Screenshot of Visual Studio Copilot Chat Tools\" \/><\/p>\n<h3>Visual Studio Code<\/h3>\n<ol>\n<li>Open VS Code and go to the Extensions view.<\/li>\n<li>Ensure you have the GitHub Copilot extension installed.<\/li>\n<li>Go to the MCP Server section and select the search icon.<\/li>\n<li>Search for Microsoft Docs and select Install.<\/li>\n<\/ol>\n<h3>Copilot CLI<\/h3>\n<ol>\n<li>In the Copilot CLI, type <code>\/mcp add<\/code><\/li>\n<li>Give it the name \u201cmicrosoft-docs\u201d<\/li>\n<li>Select \u201c2\u201d for HTTP<\/li>\n<li>Provide the remote URL: <a href=\"https:\/\/learn.microsoft.com\/api\/mcp\">https:\/\/learn.microsoft.com\/api\/mcp<\/a><\/li>\n<li>Ctrl+S to save the server.<\/li>\n<\/ol>\n<h3>Copilot Coding Agent (CCA)<\/h3>\n<ol>\n<li>In your repo, go to your settings and select Copilot &gt; Coding Agent.<\/li>\n<li>Scroll down to the Model Context Protocol section.<\/li>\n<li>Add the following to the text box:<\/li>\n<\/ol>\n<pre><code class=\"language-json\">{ \r\n    \"mcpServers\": { \r\n        \"microsoft-docs\": { \r\n        \"type\": \"http\", \r\n        \"url\": \"https:\/\/learn.microsoft.com\/api\/mcp\", \r\n        \"tools\": [\"*\"]\r\n        }\r\n    }\r\n}<\/code><\/pre>\n<h2>Conclusion<\/h2>\n<p>Integrating the Microsoft Learn MCP server with Copilot supercharges your development workflow, providing trusted, up-to-date, context-aware content exactly when and where you need it. Whether you\u2019re new to .NET or a seasoned developer, this enhanced experience means faster solutions, better code quality, and continuous learning without leaving your preferred tools. Try integrating the Learn MCP server today and experience a smarter, more connected way to develop with .NET!<\/p>\n<p>Learn more at these helpful resources.<\/p>\n<ul>\n<li><a href=\"https:\/\/learn.microsoft.com\/training\/support\/mcp\">MS Learn MCP server documentation<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/MicrosoftDocs\/mcp\">MS Learn MCP server GitHub Repo<\/a><\/li>\n<\/ul>\n<p>The post <a href=\"https:\/\/devblogs.microsoft.com\/dotnet\/microsoft-learn-mcp-server-elevates-development\/\">Microsoft Learn MCP Server Elevates Development<\/a> appeared first on <a href=\"https:\/\/devblogs.microsoft.com\/dotnet\">.NET Blog<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Have you tried asking GitHub Copilot about Aspire 13 or the new Agent Framework and found it either hallucinated an [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3007,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[7],"tags":[],"class_list":["post-3006","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-dotnet"],"_links":{"self":[{"href":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/wp-json\/wp\/v2\/posts\/3006","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/wp-json\/wp\/v2\/comments?post=3006"}],"version-history":[{"count":0,"href":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/wp-json\/wp\/v2\/posts\/3006\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/wp-json\/wp\/v2\/media\/3007"}],"wp:attachment":[{"href":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/wp-json\/wp\/v2\/media?parent=3006"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/wp-json\/wp\/v2\/categories?post=3006"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rssfeedtelegrambot.bnaya.co.il\/index.php\/wp-json\/wp\/v2\/tags?post=3006"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}