Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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:
- Create an agent
- 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.
Click Agents in the left navigation
Click + Create blank agent in the top navigation.
Wait for the agent to be provisioned.
In the Details section, click Edit and enter a Name and optional Description that describes your agent.
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.
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.
In Search for a tool, enter "Microsoft Learn Docs MCP" and click search
Click on the Microsoft Learn Docs MCP Server
Click Add and Configure
Click Overview in the top navigation
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.
- Ask a question relevant to Microsoft Learn content, for instance:
How to deploy a Microsoft Copilot Studio agent? - Allow the agent to use the MCP server by clicking Open connection manager, which opens in a new browser tab.
- Click Connect and Submit
- Before you leave, click Save.
- 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:
- Learn MCP Server repository for comments and questions.
- Microsoft Copilot Studio documentation