Share via


Get started with Microsoft Learn MCP Server in Microsoft Copilot Studio

This article assists you in getting started using the Microsoft Learn Model Context Protocol (MCP) Server in Microsoft Copilot Studio. Learn MCP Server can be used in many ways. A common scenario is to add Learn MCP Server to an agentic development environment such VS Code, Visual Studio, GitHub.com and others, which is described in Get started. This article describes how to use Learn MCP Server in a custom solution leveraging Microsoft Copilot Studio with an agent, a language model, the MCP Server, and instructions. And similar concepts exist in Foundry.

The high-level process we walk through is:

  1. Create an agent
  2. Configure the agent

Prerequisites

In order to follow the steps in this article, you need to have access to Copilot Studio.

Create an agent / ## Configure the agent

The easiest way to configure an agent is using Copilot Studio if you already have access. If you don't, consider creating a trial to just test the creation experience in a temporary environment.

Note

Environments & solutions - When you are starting to experiment with Copilot Studio and agents, you probably do not have to worry about environments and solutions and it should just work. If it doesn’t, for instance because your organization has strict data loss prevention policies, or you want to export and import your agent, you should investigate environments and solutions.

  1. Click Agents in the left navigation

  2. Click + Create blank agent in the top navigation.

  3. Wait for the agent to be provisioned.

  4. In the Details section, click Edit and enter a Name and optional Description that describes your agent.

  5. In Select your agent's model, select a language model that suits the capabilities your agent needs. If you just want to chat, GPT-4.1 or 5 are fine. The language models available here may change as the industry and technology evolves.

  6. In Tools, click + Add tool. Note that here you have the option to either use the certified connector or create a new MCP connector. For simplicity, we are going to use the former.

  7. In Search for a tool, enter "Microsoft Learn Docs MCP" and click search

  8. Click on the Microsoft Learn Docs MCP Server

  9. Click Add and Configure

  10. Click Overview in the top navigation

  11. Enter instructions to help the agent understand when to use the tool:

When the question is about Microsoft products and services, use the Microsoft Learn MCP Server to seach for answers.
  1. Ask a question relevant to Microsoft Learn content, for instance: How to deploy a Microsoft Copilot Studio agent?
  2. Allow the agent to use the MCP server by clicking Open connection manager, which opens in a new browser tab.
  3. Click Connect and Submit
  4. Before you leave, click Save.
  5. Close the tab and click Retry to test again.

You can experiment with the model, instructions, and prompt to discover the optimal configuration for your solution.

For more details, see Microsoft Copilot Studio Quickstart

Next steps

You can learn more about the Learn MCP Server by visiting the following links: