惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
C
CXSECURITY Database RSS Feed - CXSecurity.com
博客园_首页
H
Hackread – Cybersecurity News, Data Breaches, AI and More
T
ThreatConnect
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 聂微东
H
Help Net Security
T
Threat Research - Cisco Blogs
Blog — PlanetScale
Blog — PlanetScale
A
Arctic Wolf
G
Google Developers Blog
量子位
U
Unit 42
I
InfoQ
V
V2EX
F
Fox-IT International blog
P
Privacy & Cybersecurity Law Blog
V
Visual Studio Blog
J
Java Code Geeks
大猫的无限游戏
大猫的无限游戏
C
CERT Recently Published Vulnerability Notes
博客园 - 三生石上(FineUI控件)
T
The Exploit Database - CXSecurity.com
T
Tailwind CSS Blog
SecWiki News
SecWiki News
Know Your Adversary
Know Your Adversary
MyScale Blog
MyScale Blog
宝玉的分享
宝玉的分享
The Hacker News
The Hacker News
Project Zero
Project Zero
Application and Cybersecurity Blog
Application and Cybersecurity Blog
月光博客
月光博客
Recent Commits to openclaw:main
Recent Commits to openclaw:main
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
G
GRAHAM CLULEY
C
Cisco Blogs
I
Intezer
Simon Willison's Weblog
Simon Willison's Weblog
O
OpenAI News
Recorded Future
Recorded Future
T
Tenable Blog
W
WeLiveSecurity
腾讯CDC
Stack Overflow Blog
Stack Overflow Blog
T
The Blog of Author Tim Ferriss
www.infosecurity-magazine.com
www.infosecurity-magazine.com
D
Docker
C
Cybersecurity and Infrastructure Security Agency CISA
PCI Perspectives
PCI Perspectives

Microsoft for Developers

How AI coding agents actually use your technology The AX stack: what’s fixed, where you can win Agentic-Agile: Why Agent Development Needs Agile (Not Just Prompts) Azure Cosmos DB Conf 2026 Recap: Lessons from Production LangChain.js for Beginners: A Free Course to Build Agentic AI Apps with JavaScript Securing MCP: A Control Plane for Agent Tool Execution Take your PostgreSQL-backed apps to the next level Awesome GitHub Copilot just got a website, and a learning hub, and plugins! Build a real-world example with Microsoft Agent Framework, Microsoft Foundry, MCP and Aspire Get started with GitHub Copilot CLI: A free, hands-on course The JavaScript AI Build-a-thon Season 2 starts today! GitHub Copilot Dev Days: Build faster with GitHub Copilot CLI, in VS Code & Visual Studio, and beyond! WinGet Configuration: Set up your dev machine in one command Bringing work context to your code in GitHub Copilot Making Windows Terminal awesome with GitHub Copilot CLI Announcing the JavaScript/TypeScript Modernizer for VS Code Host Your Node.js MCP Server on Azure Functions in 1 Simple Step
Improve your agentic developer tools by grounding in Microsoft Learn
Pieter de Br · 2026-05-29 · via Microsoft for Developers

Development workflows span terminals, IDEs, background agents, and custom assistants. What matters is whether they draw from the same current source. Learn MCP Server gives any MCP-compatible agent direct access to current Microsoft documentation – one endpoint, nothing to install, no authentication required.

What does that look like in practice? You give your coding agent the prompt: “create a CLI script to deploy Azure AI Foundry.” It reaches for az ml, the Azure ML extension – the right answer a year ago. It hits a Python dependency crash, spends 15 tool calls debugging import paths, and produces a script targeting a deprecated API surface. Another developer enters the same prompt with Learn MCP Server connected. The agent checks trusted up-to-date documentation first, finds az cognitiveservices (the current Foundry resource model), and delivers a working deployment script with model provisioning on the first try. Same model. The difference was whether the agent had access to current product documentation while it worked.

Agents are good at writing code, but they don’t know which API shipped last month. Language models training data has a cutoff, while technology evolves continuously. As a result, agents produce code that looks correct but may target deprecated APIs – leading to dependency failures, missing capabilities, or scripts that break when the old surface is retired. You can work around this with prompt engineering: add constraints, pin versions, test the output, iterate. That works. It also means you’re doing the verification the agent should be doing for you.

The real world test

We gave a coding agent a simple task: generate a bash script to deploy a Foundry instance. The agent chose the az ml extension, which uses az ml workspace create --kind hub to create Foundry resources. This was the documented approach until recently. When the extension failed to load (a Python dependency conflict with rpds-py), the agent started debugging: reinstalling pip packages, testing Python import paths, checking system vs. CLI Python versions, inspecting .so files. Fifteen tool calls later, the extension loaded, and the script ran – but it targeted the old hub-and-project model through the ML workspace API.

The agent chose az ml - the right answer a year ago - and hit a dependency crash on first run
Image 1: The agent chose az ml – the right answer a year ago – and hit a dependency crash on first run.

Then we used the same prompt, same model, but with Microsoft Learn MCP Server connected. The agent queried Microsoft Learn for current Foundry deployment guidance, found the quickstart documentation, and used az cognitiveservices – the current API surface for Foundry resources. No extension to install. No dependency issues. The script created an AIServices resource, a project, and deployed a model with version pinning, SKU configuration, and capacity settings. It had interactive prompts, idempotency checks, and connection info output. The agent didn’t need to be told which API to use. It read the docs. The result: working code on the first try, no manual correction, and fewer steps from prompt to production.

The agent's first action was querying Microsoft Learn. It found the current API surface before writing any code
Image 2: The agent’s first action was querying Microsoft Learn. It found the current API surface before writing any code.
  Without grounding  With grounding 
Prompt  “create a CLI script to deploy Azure AI Foundry”  Same 
Agent’s first action  Web search  Microsoft Docs Search 
API chosen  az ml (deprecated for Foundry)  az cognitiveservices (current) 
Blocked by  rpds.rpds Python dependency crash  Nothing 
Debug steps before producing code  15+ tool calls  0 
Model deployment included  No  Yes (gpt-4.1-mini, versioned, with SKU) 
Result  Script targeting old hub-and-project API  Working end-to-end deployment script 

What is Learn MCP Server

Learn MCP Server gives agents direct access to Microsoft Learn documentation, code samples, and guidance through the Model Context Protocol (MCP). Instead of relying on training data that’s months or years old, agents can search and retrieve current, official content as part of their reasoning.

It works with any MCP-compatible client: GitHub Copilot CLI, Visual Studio Code, Visual Studio, and others like Claude Code. The server is remote (https://learn.microsoft.com/api/mcp, which MCP clients understand) – nothing to install or host. No authentication required. You can even use Learn MCP Server in agent you build in Foundry or Copilot Studio.

When a Microsoft technology is in scope – deploying an Azure service, migrating a .NET application, configuring a Bicep template – the agent can query Learn for current guidance and reason over it alongside your codebase. That means fewer outdated patterns, fewer manual verification loops, and docs showing up where the decisions happen instead of in a separate browser tab.

Diagram showing how an AI agent on your computer connects to the remote Learn MCP Server, which draws from Microsoft Learn documentation, to produce working code targeting current features
Image 3: Diagram showing how an AI agent on your computer connects to the remote Learn MCP Server, which draws from Microsoft Learn documentation, to produce working code targeting current features

Set it up

GitHub Copilot CLI:

/plugin install microsoftdocs/mcp 
/restart

VS Code: Open the extensions pane, search for “@agentPlugins microsoft-docs” and select Install.

Try it

Connect the tools you already use to Learn MCP Server and try it on your next task that touches a Microsoft product or service. The quickest way to see the difference is to ask your agent something that changed recently – a new API, a renamed service, a deprecated flag – and see whether it gets it right on the first try.

Connect with us in the Learn MCP Server repository for additional configurations and more information.

Author

Pieter de Bruin

Pieter de Bruin is technical program manager working on Microsoft Learn partnerships. He focuses on improving customer experience through better MCP Server integrations and practical, scalable solutions. With a broad technical background, he helps teams and partners bring learning to life across the Microsoft ecosystem.