Copilot Studio MCP Server Setup Guide

This guide walks through connecting Microsoft Copilot Studio to the Hudu MCP (Model Context Protocol) server using OAuth 2.0 authentication and Dynamic Discovery.

Once connected, Copilot can securely interact with Hudu documentation and activity logs directly through the Hudu MCP.

What the Hudu MCP Server Does

The Hudu MCP server provides structured access to Hudu content for AI clients such as Microsoft Copilot Studio.

Current capabilities include:

  • Reading Hudu articles
  • Creating new articles
  • Editing existing articles
  • Updating article draft status
  • Reading Hudu activity logs

This allows Copilot to assist with documentation management and operational visibility directly from within your AI agent.

Connecting to Copilot

Log Into Copilot Studio

Sign into Microsoft Copilot Studio and select the environment where you want to create the agent.

Create a New Agent

  • Click Create Blank Agent
copilot_create_new_agent.png
  • Enter a name for the agent
copilot_name_your_agent.png
  • Leave the default settings as-is
  • Click Create

Add the Hudu MCP Tool

Inside the agent:

  • Open the Tools tab
copilot_tools.png
  • Click + Add a tool
copilot_add_a_tool.png
  • Choose Add new Model Context Protocol (MCP)
copilot_add_new_mcp.png

Configure the MCP 

Fill in the MCP server details.

Server Name

Hudu MCP

Server Description

Provides access to Hudu articles and activity logs through MCP

Server URL

https://<hudu_instance_URL>/mcp

Authentication

Under Authentication:

  • Select OAuth 2.0
  • Choose Dynamic discovery
  • Click Create
copilot_configure_mcp.png

 

Retrieve Redirect URL

When setting up the Hudu MCP connection in Copilot, you'll need to retrieve a Redirect URL from the custom connector and paste it into Hudu's admin settings. 

After creating the MCP tool:

  • Open Copilot Studio in a new tab
  • Click into Tools
copilot_tools_2.png
  • Find and click into the Tool you just created
  • Click into the Security tab
copilot_tool_security_tab.png
  • Click Edit
  • Change the authentication type to OAuth 2.0
copilot_security_oauth.png
  • Scroll to the bottom of the page
  • Copy the generated Redirect URL
copilot_redirect URL.png

Please note: You will see required fields when changing to OAuth2.0, these fields can remain unfilled. Only the Redirect URL is needed to paste into Hudu. 

Configure the Redirect URL in Hudu

In Hudu:

  • Open Hudu MCP in Hudu > Admin > External Apps
  • Click + Add Redirect URI
copilot_add_redirect_url.png
  • Paste in the Redirect URL copied from Copilot Studio
  • Click Save
copilot_enter_redirect_url.png

This allows the OAuth authentication flow between Copilot Studio and the Hudu MCP server to complete successfully.

Connect the Tool to the Agent

Return to Copilot Studio to finish adding the tool.

  • Click the Connection dropdown
copilot_connection_dropdown.png
  • Click Create new connection
copilot_create_new_connection.png
  • Click Create
    • Make sure Pop-Ups are allowed
copilot_connection_create.png
  • Click Add and configure
copilot_add_configure.png
  • Next, go to Manage Your Connections
  • Click Connect to finalize the connection

Publishing Your Agent

When your agent is ready, you publish it from Copilot Studio to make it available to users. You can deploy to multiple channels — such as Teams, Microsoft 365 Copilot, websites, and mobile apps — and any updates you make are pushed to all of them at once when you republish.

Keep in mind that changes don't go live until you publish. If users aren't seeing updates, that's usually why.

You can also start small with one channel and add more later as your rollout grows.

Authentication

By default, agents use Microsoft Entra ID, which handles sign-in automatically for Teams, Power Apps, and Microsoft 365 Copilot. If you need the agent to be publicly accessible, you can disable authentication so anyone can chat with it without signing in. 

Please see the Microsoft Publication Fundamentals guide for more information. 

FAQ

Not seeing the tool's security section?

Make sure you have allowed the ./well-known endpoint.

Publishing the Copilot Agent

A Copilot user license is required to publish in Copilot Studio: Copilot Licensing Requirements.

Was this article helpful?
0 out of 0 found this helpful