What your AI apps can do with Microsoft Learn
- Search Microsoft documentation
- Find code samples
Microsoft Learn MCP tools
3 tools, listed by Toolstile from the server itself on 29 October 2026. The server decides what it offers and can add or rename tools at any time; after you connect, Toolstile shows the current list.
| Tool | What it does | Suggested rule |
|---|---|---|
microsoft_docs_search | 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 … | Allow (read-only) |
microsoft_code_sample_search | 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 … | Allow (read-only) |
microsoft_docs_fetch | 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. | Allow (read-only) |
Suggested access for each AI app
- 3 tools marked read-only (
microsoft_docs_search,microsoft_code_sample_search,microsoft_docs_fetch). These are usually safe to allow.
These are hints the server reports about its own tools, not guarantees.
Coding agent in Claude Code or Cursor. Allow the read tools so the agent can look things up without stopping, and require approval for tools that change shared data.
Chat or research app in Claude Desktop. Allow reading and searching. Allow writes only where you want the app to act for you.
Unattended agent, such as a scheduled Codex job. No one is watching the session, so keep it narrow: allow what the job needs, require approval for changes and block the rest.
Blocked tools are removed from the tool list an app sees, so it won't try them. Because rules apply per app, the same Microsoft Learn connection can be broad in one app and read-only in another, and the credential stays in Toolstile instead of each app's config file.
How it works with Toolstile
- Connect once. Add Microsoft Learn to a workspace (no sign-in). Toolstile keeps the credential, so no agent config holds it.
- Choose access per app. Give Claude Code every Microsoft Learn tool, give Cursor only the read tools, or keep Microsoft Learn away from an app entirely.
- Share approved accounts. Teammates use the connection without copying tokens, and you can remove access in one place.
- Review activity. See which app called which tool and when, so you can tighten access with evidence.
Add the Microsoft Learn MCP server to an AI app
Through Toolstile, every AI app uses one gateway entry, whichever servers you connect. In Claude Code:
claude mcp add --transport http toolstile 'https://toolstile.com/mcp'Then connect Microsoft Learn in your workspace and choose which of its tools that app may use. Client setup covers Codex, Cursor and Claude Desktop.
To connect directly instead, add the Microsoft endpoint to each app separately. In Claude Code:
claude mcp add --transport http microsoft-learn 'https://learn.microsoft.com/api/mcp'In Cursor's mcp.json:
{
"mcpServers": {
"microsoft-learn": {
"url": "https://learn.microsoft.com/api/mcp"
}
}
}Some servers accept only clients they have approved, or need a token header. Check the Microsoft MCP documentation for what your client needs.
Before you connect
No account needed.
Server details
| Detail | Value |
|---|---|
| Publisher | Microsoft |
| Endpoint | https://learn.microsoft.com/api/mcp |
| Authentication | No sign-in |
| Categories | Development |
| Tool list | 3 tools, observed 29 October 2026 (discovery) |