Skip to content

Step 2 — Add Microsoft Learn MCP

The base BC code is the implementation — what code runs when you post an invoice, how a Non-Inventory Item is processed, what events fire and when. The Microsoft Learn MCP is the process — how Microsoft intends these features to be used, what the recommended setup is, what is the user story.

Both matter. Code shows the how. Docs explains the why.

Install the MCP

The Microsoft Learn MCP is a remote server — no local installation needed. You just point your agent at https://learn.microsoft.com/api/mcp.

Open Cursor Settings → Tools & Integrations → MCP Servers and add:

{
  "microsoft-learn": {
    "type": "http",
    "url": "https://learn.microsoft.com/api/mcp"
  }
}

Restart Cursor. The MCP will appear in the tools list.

In the Extensions panel, type @mcp in the search box and install the Microsoft Learn MCP extension. It wires the remote server automatically — no manual config needed.

Alternatively, add to your .vscode/mcp.json:

{
  "servers": {
    "microsoft-learn": {
      "type": "http",
      "url": "https://learn.microsoft.com/api/mcp"
    }
  }
}

Run this once in your terminal:

/plugin install microsoft-docs@claude-plugins-official

Restart Claude Code. The MCP will be available in all sessions.

Watch it in action

Once it's connected, verify — ask the agent "what does Microsoft Learn say about Non-Inventory Items in Business Central?" and check that it returns a sourced answer with a learn.microsoft.com link.

Step 3 — Produce tech-design.md