Did you know Microsoft Learn, the site which contains a ton of information on implementing Microsoft technologies, has an MCP Server? This means you can utilize the MS Learn knowledge in your own agents through MCP.
Let’s look at how to do this. We will use Copilot Studio to build our agent.
First, go to Copilot Studio and create a new agent:

Let’s call the agent Microsoft Learn Agent, and provide a description, then click Create:

Next select Tools->Add a tool. Click on Model Context Protocol and then select Microsoft Learn Docs MCP Server. You may need to scroll down to see this option:

Select a connection. If you don’t already have one, go ahead and create one, then click Add and Configure:

We can see the MCP connection is enabled, and we can see 2 tools associated to this server:
- microsoft_docs_search
- microsoft_docs_fetch


Let’s ask a simple prompt, “What is Azure AI Foundry?“. On first running of the prompt, we get the message “Let’s get you connected first, and then I can find that info for you. Open connection manager to verify your credentials”:

On clicking Open Connection Manager, we see the connection is “Not Connected”. Click Connect:

Select the Connection and click Submit:


You should now see the connection Connected:

Now when we retry our prompt, we see our results:

Note the citations here, which point to Microsoft Learn:

Note, even though our prompt returns results from Microsoft Learn, it is still actually returning data from other sources. To turn this off, go to Settings->Generative AI, then under Knowledge turn off “Use general knowledge” and “Use information from the Web”:

When rerunning, we see the response below:

And our Activity Map using microsoft_docs_search:

As mentioned, our result used the tool microsoft_docs_search but what if we want more information from the links returned? Let’s add “Fetch more details from the link” and it will run the microsoft_docs_fetch command to produce basically the whole link content in a markdown format:


For more information check out the documentation at https://learn.microsoft.com/en-us/training/support/mcp.
I AM SPENDING MORE TIME THESE DAYS CREATING YOUTUBE VIDEOS TO HELP PEOPLE LEARN THE MICROSOFT POWER PLATFORM.
IF YOU WOULD LIKE TO SEE HOW I BUILD APPS, OR FIND SOMETHING USEFUL READING MY BLOG, I WOULD REALLY APPRECIATE YOU SUBSCRIBING TO MY YOUTUBE CHANNEL.
THANK YOU, AND LET’S KEEP LEARNING TOGETHER.
CARL