Skip to content

Development integration

Microsoft Learn MCP server for Claude, Codex and Cursor

Search official Microsoft and Azure documentation. Connect the Microsoft MCP server to Toolstile once, then choose which of its tools Claude Code, Codex, Cursor and Claude Desktop may use.

Free plan available. Server credentials stay in Toolstile, not in agent configs.

On this page

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.

ToolWhat it doesSuggested rule
microsoft_docs_searchSearch 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_searchSearch 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_fetchFetch 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

  1. Connect once. Add Microsoft Learn to a workspace (no sign-in). Toolstile keeps the credential, so no agent config holds it.
  2. 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.
  3. Share approved accounts. Teammates use the connection without copying tokens, and you can remove access in one place.
  4. 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:

Shell
claude mcp add --transport http toolstile 'https://mcp.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:

Shell
claude mcp add --transport http microsoft-learn 'https://learn.microsoft.com/api/mcp'

In Cursor's mcp.json:

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

DetailValue
PublisherMicrosoft
Endpointhttps://learn.microsoft.com/api/mcp
AuthenticationNo sign-in
CategoriesDevelopment
Tool list3 tools, observed 29 October 2026 (discovery)

Microsoft MCP documentation