Microsoft Learn MCP
Server Details
Official Microsoft Learn MCP Server – real-time, trusted docs & code samples for AI and LLMs.
- Status
- Healthy
- Last Tested
- Transport
- Streamable HTTP
- URL
- Repository
- MicrosoftDocs/mcp
- GitHub Stars
- 1,528
- Server Listing
- Microsoft Learn Docs MCP Server
Glama MCP Gateway
Connect through Glama MCP Gateway for full control over tool access and complete visibility into every call.
Full call logging
Every tool call is logged with complete inputs and outputs, so you can debug issues and audit what your agents are doing.
Tool access control
Enable or disable individual tools per connector, so you decide what your agents can and cannot do.
Managed credentials
Glama handles OAuth flows, token storage, and automatic rotation, so credentials never expire on your clients.
Usage analytics
See which tools your agents call, how often, and when, so you can understand usage patterns and catch anomalies.
Tool Definition Quality
Score is being calculated. Check back soon.
Available Tools
3 toolsmicrosoft_code_sample_searchMicrosoft Code Sample SearchRead-onlyIdempotentInspect
Search for code snippets and examples in official Microsoft Learn documentation. This tool retrieves relevant code samples from Microsoft documentation pages providing developers with practical implementation examples and best practices for Microsoft/Azure products and services related coding tasks. This tool will help you use the LATEST OFFICIAL code snippets to empower coding capabilities.
When to Use This Tool
When you are going to provide sample Microsoft/Azure related code snippets in your answers.
When you are generating any Microsoft/Azure related code.
Usage Pattern
Input a descriptive query, or SDK/class/method name to retrieve related code samples. The optional parameter language can help to filter results.
Eligible values for language parameter include: csharp javascript typescript python powershell azurecli al sql java kusto cpp go rust ruby php
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | a descriptive query, SDK name, method name or code snippet related to Microsoft/Azure products, services, platforms, developer tools, frameworks, APIs or SDKs | |
| language | No | Optional parameter specifying the programming language of code snippets to retrieve. Can significantly improve search quality if provided. Eligible values: csharp javascript typescript python powershell azurecli al sql java kusto cpp go rust ruby php |
Output Schema
| Name | Required | Description |
|---|---|---|
| results | No |
microsoft_docs_fetchMicrosoft Docs FetchRead-onlyIdempotentInspect
Fetch and convert a Microsoft Learn documentation webpage to markdown format. This tool retrieves the latest complete content of Microsoft documentation webpages including Azure, .NET, Microsoft 365, and other Microsoft technologies.
When to Use This Tool
When search results provide incomplete information or truncated content
When you need complete step-by-step procedures or tutorials
When you need troubleshooting sections, prerequisites, or detailed explanations
When search results reference a specific page that seems highly relevant
For comprehensive guides that require full context
Usage Pattern
Use this tool AFTER microsoft_docs_search when you identify specific high-value pages that need complete content. The search tool gives you an overview; this tool gives you the complete picture.
URL Requirements
The URL must be a valid HTML documentation webpage from the microsoft.com domain
Binary files (PDF, DOCX, images, etc.) are not supported
Output Format
markdown with headings, code blocks, tables, and links preserved.
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL of the Microsoft documentation page to read |
microsoft_docs_searchMicrosoft Docs SearchRead-onlyIdempotentInspect
Search official Microsoft/Azure documentation to find the most relevant and trustworthy content for a user's query. This tool returns up to 10 high-quality content chunks (each max 500 tokens), extracted from Microsoft Learn and other official sources. Each result includes the article title, URL, and a self-contained content excerpt optimized for fast retrieval and reasoning. Always use this tool to quickly ground your answers in accurate, first-party Microsoft/Azure knowledge.
Follow-up Pattern
To ensure completeness, use microsoft_docs_fetch when high-value pages are identified by search. The fetch tool complements search by providing the full detail. This is a required step for comprehensive results.
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | a query or topic about Microsoft/Azure products, services, platforms, developer tools, frameworks, or APIs |
Output Schema
| Name | Required | Description |
|---|---|---|
| results | No |
Claim this connector by publishing a /.well-known/glama.json file on your server's domain with the following structure:
{
"$schema": "https://glama.ai/mcp/schemas/connector.json",
"maintainers": [{ "email": "your-email@example.com" }]
}The email address must match the email associated with your Glama account. Once published, Glama will automatically detect and verify the file within a few minutes.
Control your server's listing on Glama, including description and metadata
Access analytics and receive server usage reports
Get monitoring and health status updates for your server
Feature your server to boost visibility and reach more users
For users:
Full audit trail — every tool call is logged with inputs and outputs for compliance and debugging
Granular tool control — enable or disable individual tools per connector to limit what your AI agents can do
Centralized credential management — store and rotate API keys and OAuth tokens in one place
Change alerts — get notified when a connector changes its schema, adds or removes tools, or updates tool definitions, so nothing breaks silently
For server owners:
Proven adoption — public usage metrics on your listing show real-world traction and build trust with prospective users
Tool-level analytics — see which tools are being used most, helping you prioritize development and documentation
Direct user feedback — users can report issues and suggest improvements through the listing, giving you a channel you would not have otherwise
The connector status is unhealthy when Glama is unable to successfully connect to the server. This can happen for several reasons:
The server is experiencing an outage
The URL of the server is wrong
Credentials required to access the server are missing or invalid
If you are the owner of this MCP connector and would like to make modifications to the listing, including providing test credentials for accessing the server, please contact support@glama.ai.
Discussions
No comments yet. Be the first to start the discussion!
Your Connectors
Sign in to create a connector for this server.