Official Microsoft Learn MCP Server – powering LLMs and AI agents with real-time, trusted Microsoft docs & code samples.
Quick Install
Copy the config for your editor. Some servers may need additional setup — check the README.
Add to claude_desktop_config.json:
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"MicrosoftDocs/mcp"
]
}
}
}
Run in terminal:
claude mcp add mcp npx -y MicrosoftDocs/mcp
Add to .cursor/mcp.json:
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"MicrosoftDocs/mcp"
]
}
}
}