Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Creating a Copilot Studio agent using the Micro...

Creating a Copilot Studio agent using the Microsoft Learn MCP server, publishing it to Teams

# Youtube Link
https://youtu.be/GSfWSw5T6_0

# Table of Contents
1️⃣ Share a Copilot Studio AI Agent on Teams using the Microsoft Learn Official MCP Server
 ・What you can do with the Microsoft Learn Docs MCP Server
 ・Steps to create an MS Docs Agent
2️⃣ Bonus: Connecting to MS Docs MCP from tools other than Copilot Studio
 ・[MS Learn MCP] Copilot Studio vs Cursor & Claude — Pros and Cons
 ・Tried connecting to MS Learn MCP from Claude
Other
 ・How to quickly get started with the MS Docs MCP

👉 Related Qiita article: https://qiita.com/ReijiOtake/items/809e20aeac5efa276c3a

More Decks by 大竹礼二(REIJI OTAKE)

Transcript

  1. Publish Copilot Studio Agents Using Microsoft Learn Official MCP Server

    to Microsoft Teams. →Hereafter It’s called MS Docs Agent
  2. What you can do with MS Docs Agent Microsoft Learn

    MCP server is an official Microsoft Learn documentation-specific server. MCP is a connection protocol for AI to securely access external data sources and tools. ×Issue of Conventional AI(Chat GPT etc…) • Unclear source • Risk that are old information • Corporate adoption barriers • Information security concerns Microsoft Learn MCP + Copilot Studio • Reliability of sources by restriction to official documents • Latest official information • Integration into Teams Benefits for Teams Publication • Users don’t need to know how to use new tools, they can access high quality technical information with there teams all the times. • Increased development efficiency of the entire organization. • Take advantage of Microsoft 365’s authentication security infrastructure to meet corporate compliance requirements
  3. MS Docs Agent:Create Flow ①Create Custom Connecter ②Create Agent ③Test

    ④Publish to Teams • Select a custom connecter from the ‘tools’ • Move to the Power Apps’s custom connecter screen • Select Open API File Import • Upload prepared yaml file • Custom connector for Microsoft Learn MCP has been created • Create new Agent • Change the name of Agent • Add a system prompt • Add a custom connector • Create connection • Ask the Agent • Check the answer • Confirm that the provided information is derived from MS learn • Select Trams and Microsoft 365 Copilot From Channel tab • Publish Agent • Change the Teams settings on the detail screen • Grant rights to target users
  4. Share 〇 You can share it with your team ×

    Individual use only Flexibility × Can’t answer questions other than MS learn 〇 You can discuss based on information from MS learn Reliability 〇 Faithful to MS Learn Information No output other than MS Learn △ It may contain what the Internet or model has learned Fee License required Some features are available with a free license Basically, each paid plan is required 【MS Learn MCP】 Copilot Studio vs Cursor・Claude Copilot Studio Claude Cursor
  5. For Immediate development Custom connector’s Yaml file contents swagger: '2.0'

    info: title: Microsoft Docs description: Microsoft DocsのMCPサーバーに接続します。Copilot Studio用 version: 1.0.0 host: learn.microsoft.com basePath: /api schemes: - https paths: /mcp: post: summary: Microsoft Docs MCP Server x-ms-agentic-protocol: mcp-streamable-1.0 operationId: InvokeMCP responses: '200': description: Success System prompt of Agent Do not use general knowledge Please complete the following steps 1. Extract search keywords from users 2. Run the tool ‘microsoft_docs_search’ with the search keywords 3. Display output content
  6. For Immediate development Setting values used in Cursor Setting values

    used in Claude https://docs.microsoft.com/api/mcp { "mcpServers": { "mslearnmcp": { "type": "http", "url": "https://docs.microsoft.com/api/mcp" } } }
  7. References ▼Offitial Github MS Docs MCP MicrosoftDocs/mcp ▼How to Use

    MS Docs MCP 【CopilotStudio】Microsoft Learn MCPサーバーにカスタムコネクターで接続 – MoreBeerMorePower Microsoft Docs 公式 MCP サーバーを使って Microsoft のドキュメントを読みやすくする ▼How to make solution of Copilot Studio How to package a Copilot Studio agent into a solution ▼About fee of Copilot studio Copilot 機能拡張オプションのライセンスとコストに関する考慮事項 【確認記録】Microsoft 365 Copilot ライセンス利用して作成した Copilot Studio Agent はどのように Teams での共有がで きるか #MCP - Qiita