How to connect an MCP server to a Copilot Studio agent

Day 4, 25 minutes · beginner

Goal of this lessonConnect the Microsoft Learn MCP server with the onboarding wizard, review its tools and test it next to your rules file.

Why it matters

Today you connect the Microsoft Learn MCP server to your agent through Copilot Studio's onboarding wizard, check which tools it brings, and test a Copilot Studio question. At the end your agent answers rules questions from your file and questions about Microsoft's products from Microsoft's own docs.

Your agent now knows Tidewater's rules and writes damage notes. But Dorian now has questions of his own: how do I add suggested prompts, how do I change the agent's icon? Those answers live in Microsoft's documentation for Copilot Studio. Copying them into your own file would take hours, and they would be out of date next month.

The Model Context Protocol (MCP) is an open standard for connecting an agent to a server that offers ready-made tools. Microsoft runs one for its own documentation: the Microsoft Learn MCP server. It searches Microsoft's official docs and fetches articles. It is free, needs no sign-in, and Microsoft names Copilot Studio agents as one of its uses. That makes it a safe first server to practise on, before your IT team ever connects a real one, such as a booking system.

How MCP works in Copilot Studio

An MCP server publishes tools (functions the model can call) and resources (file-like data the agent can read). Copilot Studio supports both. The server provides each tool's name, description, inputs and outputs, and Copilot Studio picks up changes on the server by itself.

Three rules from Microsoft's pages:

  • It needs generative orchestration. Without it, the agent cannot use MCP.
  • Only the Streamable transport works. A transport is how the agent and the server send messages. The older SSE transport has not been supported since August 2025. The Learn MCP server uses Streamable HTTP, so it fits.
  • Data policies apply. MCP servers connect through Power Platform connectors. If your admin's data policy blocks those connectors, it also blocks the MCP server.

Trust before you connect

The server's tool names and descriptions steer how your agent behaves. When you connect to a server that someone else runs, you are responsible for what your agent uses from it. Before you connect any server:

  1. Review the tools and resources it exposes.
  2. Confirm who operates it.
  3. Make sure changes to it are controlled.
  4. Review it again regularly, because the operator can change the tools.

For the Learn server the answers are short: Microsoft runs it, it holds public documentation only, and using it means you agree to the Microsoft Learn Terms of Use.

Authentication options

The wizard offers three: None, API key (the user of the agent provides a key) and OAuth 2.0 (each user signs in and grants permissions). The Learn server needs none. A real company server will usually need OAuth 2.0, and that is a job to do with your IT team.

The steps

  1. Check generative orchestration is on.
  2. Start the MCP onboarding wizard from the Tools page.
  3. Fill in name, description and URL. The description matters: the orchestrator reads it to decide when to call the server.
  4. Choose no authentication, create a connection and add the server to the agent.
  5. Review the tools the server brings.
  6. Add one line to the instructions so the agent knows which source answers which kind of question.
  7. Test with a Copilot Studio question and a rules question.

Follow the guide for Microsoft Copilot Studio below for the exact clicks.

The course MCP for beginners shows the same idea from the code side.

What to avoid

  • Opening the server address in your browser. It is made for MCP clients and may answer with an error. That is normal.
  • Connecting a server you found in a blog post. Use the four trust questions first.
  • A one-word description. "Docs" tells the orchestrator nothing.

Example: Dorian's two questions

Dorian asked "How do I add suggested prompts to a Copilot Studio agent?". The activity map showed the agent calling the Learn server, and the answer came from Microsoft's documentation. Then, in a new session, he asked about the deposit for an e-bike. The agent searched the rules file, not the docs. One agent, two sources, each for its own kind of question.

Deeper dive

Today's actions

Ticks are not saved without an account

Do it in Microsoft Copilot Studio

Microsoft Copilot Studio

  1. Select Settings at the top. In the Generative AI section, under Orchestration, check that generative orchestration is set to Yes.
  2. Go to the agent's Tools page, select Add a tool, then New tool. In the Create new section, select Model Context Protocol.
  3. Enter Microsoft Learn Docs as the Server name and paste this Server description.
    Searches and fetches Microsoft's official documentation on Microsoft Learn. Use for questions about how Microsoft products work, such as how to build or change an agent in Copilot Studio.
  4. Paste this address as the Server URL.
    https://learn.microsoft.com/api/mcp
  5. Choose None as the authentication type and select Create. The Add tool dialog appears.
  6. Create a new connection for the server and select Add to agent.
  7. Open the server on the agent's Tools page and read its Tools section. Then add this line to the agent's instructions and save.
    For questions about how Microsoft products such as Copilot Studio work, use the Microsoft Learn Docs tool. For Tidewater hire rules, use only the hire rules file.
  8. Start a new test session and ask this question. Check in the activity map that the agent called the MCP server.
    How do I add suggested prompts to a Copilot Studio agent?

Note: If the agent never calls the server, check that generative orchestration is on: MCP does not work without it. If you cannot add the server at all, a data policy may block Power Platform connectors in your environment. Ask your admin.

The licensing page says the trial can create and test agents. No Microsoft page says whether MCP servers work on the trial. The trial cannot publish.

Checked on 4 December 2026 · Source: Microsoft Learn: Connect your agent to an existing MCP server (opens in a new tab)

Create a free account to save your progress. Sign in or sign up