├── CODE_OF_CONDUCT.md ├── LICENSE ├── README.md ├── Resources └── README.md ├── SECURITY.md └── SUPPORT.md /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Microsoft Open Source Code of Conduct 2 | 3 | This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). 4 | 5 | Resources: 6 | 7 | - [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/) 8 | - [Microsoft Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) 9 | - Contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with questions or concerns 10 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) Microsoft Corporation. 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Microsoft Model Context Protocol (MCP) Servers 2 | 3 | This repository catalogs various Microsoft implementations of the Model Context Protocol (MCP), an open standard that facilitates seamless integration between AI applications and external data sources and tools. MCP enables AI models to access the context they need to perform tasks effectively. 4 | 5 | --- 6 | 7 | ## 📘 What is MCP? 8 | 9 | **Model Context Protocol (MCP)** is an open protocol that standardizes how applications provide context to large language models (LLMs). It allows AI applications to connect with various data sources and tools in a consistent manner, enhancing their capabilities and flexibility. MCP follows a client-server architecture where: 10 | 11 | - **MCP Hosts**: Applications like AI assistants or integrated development environments (IDEs) that initiate connections. 12 | - **MCP Clients**: Connectors within the host application that maintain 1:1 connections with servers. 13 | - **MCP Servers**: Services that provide context and capabilities through the standardized MCP. 14 | 15 | For more details, visit the [official MCP website](https://modelcontextprotocol.io). 16 | 17 | --- 18 | 19 | ## 📂 Microsoft MCP Servers 20 | 21 | Below are Microsoft's official MCP server implementations: 22 | 23 | ### 🔷 Azure MCP Server 24 | 25 | - **Repository**: [azure/azure-mcp](https://github.com/azure/azure-mcp) 26 | - **Description**: Implements the MCP standard to manage Azure resources, enabling declarative provisioning and integration with AI workflows. 27 | 28 | --- 29 | 30 | ### Dataverse MCP Server 31 | 32 | - **Documentation**: [Microsoft Dataverse](https://go.microsoft.com/fwlink/?linkid=2320176) 33 | - **Description**: Chat over your business data using NL - Discover tables, run queries, retrieve data, insert or update records, and execute custom prompts grounded in business knowledge and context. 34 | --- 35 | 36 | ### 🧪 Playwright MCP 37 | 38 | - **Repository**: [microsoft/playwright-mcp](https://github.com/microsoft/playwright-mcp) 39 | - **Description**: An MCP server for browsing the internet. Enables LLMs to interact with web pages through structured accessibility snapshots. Useful for web navigation and form-filling, data extraction from structured content, automated testing driven by LLMs, and general-purpose browser interaction for agents. 40 | 41 | --- 42 | 43 | ### 📁 Files MCP Server 44 | 45 | - **Repository**: [microsoft/files-mcp-server](https://github.com/microsoft/files-mcp-server) 46 | - **Description**: Provides a declarative control plane for managing file-based resources, supporting AI workflows that involve static files and documentation synchronization. 47 | 48 | --- 49 | 50 | ### 📝 Markitdown MCP Server 51 | 52 | - **Repository**: [microsoft/markitdown](https://github.com/microsoft/markitdown) 53 | - **Description**: A specialized MCP server for Markdown processing and manipulation. Enables AI models to read, write, and transform Markdown content with robust parsing and formatting capabilities. 54 | 55 | --- 56 | 57 | ### 📊 Clarity MCP Server 58 | 59 | - **Repository**: [@microsoft/clarity-mcp-server](https://www.npmjs.com/package/@microsoft/clarity-mcp-server) 60 | - **Description**: An MCP server for Microsoft Clarity analytics integration. Enables AI models to access web analytics data, heatmaps, and session recordings to understand user behavior and site performance. 61 | 62 | --- 63 | 64 | ## 📎 Related Resources 65 | 66 | - [Microsoft MCP Resources](https://github.com/microsoft/mcp/tree/main/Resources) 67 | - [MCP Pattern Overview](https://modelcontextprotocol.io/introduction) 68 | - [MCP SDKs and Building Blocks](https://modelcontextprotocol.io/sdk) 69 | - [MCP Specification](https://spec.modelcontextprotocol.io/specification/2025-03-26/) 70 | 71 | --- 72 | 73 | ## 🏗️ Templates 74 | 75 | Looking for starter templates that use MCP? Check out the [Azure Developer CLI (azd) templates](https://azure.github.io/awesome-azd/?tags=mcp) tagged with MCP. 76 | 77 | --- 78 | 79 | ## Contributing 80 | 81 | This project welcomes contributions and suggestions. Most contributions require you to agree to a 82 | Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us 83 | the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com. 84 | 85 | When you submit a pull request, a CLA bot will automatically determine whether you need to provide 86 | a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions 87 | provided by the bot. You will only need to do this once across all repos using our CLA. 88 | 89 | This project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/). 90 | For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or 91 | contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments. 92 | 93 | ## Trademarks 94 | 95 | This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft 96 | trademarks or logos is subject to and must follow 97 | [Microsoft's Trademark & Brand Guidelines](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/usage/general). 98 | Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. 99 | Any use of third-party trademarks or logos are subject to those third-party's policies. 100 | -------------------------------------------------------------------------------- /Resources/README.md: -------------------------------------------------------------------------------- 1 | # 📚 MCP Resources 2 | 3 | Welcome to the **Model‑Context‑Protocol (MCP)** Resources Hub! 🎉 4 | A curated collection of videos, blogs, documentation, and code repositories to help you learn, explore, and master MCP usage and implementation with Microsoft tooling. 5 | 6 | ❤️ If you find these resources helpful, feel free to ⭐ the repositories, share your feedback, and contribute! 7 | 8 | ## 🎥 Videos 9 | 10 | | Title | Topic | Description | 11 | | :--- | :--- | :--- | 12 | | [VS Code Agent Mode Just Changed Everything](https://youtu.be/dutyOc_cAEU?t=19) | Getting Started | Ever wished your code editor could write your app, talk to your database, and even follow documentation like a real dev? In this video, we show you how to use agent mode, MCP Servers and PRD documents to build an entire app complete with database. | 13 | | [The Future of AI in VS Code: MCP Servers Explained!](https://www.youtube.com/watch?v=Wp0p7iKH6ho) | Getting Started | In this video, we break down MCP (Model Context Protocol) Servers and how they supercharge GitHub Copilot inside Visual Studio Code. Learn how to set up and use MCP servers to bring live, real-time context—like web searches and databases—directly into your AI coding workflow. | 14 | | [Build Remote MCP servers using Azure Functions in C# and .NET](https://www.youtube.com/results?search_query=Build+Remote+MCP+servers+using+Azure+Functions+in+C%23+and+.NET) | Getting Started | Deploy MCP Servers with Azure Functions and .NET | 15 | | [Build Remote MCP servers using Azure Functions in C# and TypeScript](https://www.youtube.com/results?search_query=Build+Remote+MCP+servers+using+Azure+Functions+in+C%23+and+TypeScript) | Getting Started | Deploy MCP Servers with Azure Functions and TypeScript | 16 | | [Use APIs as tools for your Agents with MCP](https://www.youtube.com/watch?v=Xf5xxhT9ySs) | Getting Started | Learn how to use APIs as tools within your MCP agents | 17 | | [This Protocol will Transform My Linux Lab](https://www.youtube.com/results?search_query=This+Protocol+will+Transform+My+Linux+Lab) | Getting Started | Cloud Engineer/Ops focused implementation of MCP | 18 | | [Model context Protocol + Aspire = AI Magic in .NET](https://www.youtube.com/watch?v=2holzbob1_I&t=138s) | Getting Started | In this video, we walk you through how to integrate the Model Context Protocol (MCP) into a Blazor Chat Application powered by .NET Aspire using the official C# SDK. 🚀 The official C# SDK makes it easy to implement and interact with MCP clients and servers in your .NET apps. In this demo, we’ll see how to create a Blazor-based chat app, configure MCP, and connect it to a local AI model using Qwq — all managed by .NET Aspire! | 19 | | [Microsoft Copilot Studio ❤️ Model Context Protocol (MCP)](https://www.youtube.com/watch?v=jG-XTzXxFCk) | Getting Started | In this video, Power Platform Advocate, Daniel Laskewitz walks you through the brand-new Microsoft Copilot Studio ❤️ Model Context Protocol (MCP) Lab! Learn how Model Context Protocol (MCP) empowers makers to seamlessly connect external knowledge sources and APIs to their Copilot Studio agents. MCP actions and knowledge automatically stay updated as functionality evolves — making your agents smarter and more adaptable. | 20 | --- 21 | 22 | ## 📝 Blogs 23 | 24 | | Title | Topic | Description | 25 | | :--- | :--- | :--- | 26 | | [Build AI agent tools using remote MCP with Azure Functions](https://techcommunity.microsoft.com/blog/appsonazureblog/build-ai-agent-tools-using-remote-mcp-with-azure-functions/4401059) | Getting Started | Remote MCP server deployment with Azure Functions | 27 | | [Create an MCP Server with Azure AI Agent Service](https://devblogs.microsoft.com/foundry/integrating-azure-ai-agents-mcp-typescript/) | Getting Started | Enables Developers to create an agent with Azure AI Agent Service and uses the model context protocol (MCP) for consumption of the agents in compatible clients (VS Code, Cursor, Claude Desktop) | 28 | | [Vibe coding with GitHub Copilot: Agent mode and MCP support](https://github.blog/news-insights/product-news/github-copilot-agent-mode-activated/) | Getting Started | MCP allows you to equip agent mode with the context and capabilities it needs to help you, like a USB port for intelligence. When you enter a chat prompt in agent mode within VS Code, the model can use different tools to handle tasks like understanding database schema or querying the web. | 29 | | [Enhancing AI Integrations with MCP and Azure API Management](https://techcommunity.microsoft.com/blog/IntegrationsonAzureBlog/enhancing-ai-integrations-with-mcp-and-azure-api-management/4406699) | Getting Started | Enhance AI integrations using MCP and Azure API Management | 30 | | [Understanding and Mitigating Security Risks in MCP Implementations](https://techcommunity.microsoft.com/blog/microsoft-security-blog/understanding-and-mitigating-security-risks-in-mcp-implementations/4404667) | Security | Overview of security risks and mitigation strategies for MCP implementations | 31 | | [Protecting Against Indirect Injection Attacks in MCP](https://devblogs.microsoft.com/blog/protecting-against-indirect-injection-attacks-mcp) | Security | Strategies to prevent indirect injection attacks in MCP implementations | 32 | | [Microsoft Copilot Studio ❤️ MCP](https://aka.ms/mcsmcp/lab/blog) | Getting Started | Announcement of the Microsoft Copilot Studio ❤️ MCP lab | 33 | 34 | ## 💻 Code Repositories 35 | 36 | | Name | Description | Language | 37 | | :--- | :--- | :--- | 38 | | [Azure-Samples/remote-mcp-apim-functions-python](https://github.com/Azure-Samples/remote-mcp-apim-functions-python) | **Recommended for Secure remote hosting** Sample Python Azure Functions demonstrating remote MCP integration with Azure API Management | Python | 39 | | [Azure-Samples/remote-mcp-functions-python](https://github.com/Azure-Samples/remote-mcp-functions-python) | Sample Python Azure Functions demonstrating remote MCP integration | Python | 40 | | [Azure-Samples/remote-mcp-functions-dotnet](https://github.com/Azure-Samples/remote-mcp-functions-dotnet) | Sample .NET Azure Functions demonstrating remote MCP integration | C# | 41 | | [Azure-Samples/remote-mcp-functions-typescript](https://github.com/Azure-Samples/remote-mcp-functions-typescript) | Sample TypeScript Azure Functions demonstrating remote MCP integration | TypeScript | 42 | | [Microsoft Copilot Studio ❤️ MCP](https://aka.ms/mcsmcp/lab) | Microsoft Copilot Studio ❤️ MCP lab | TypeScript | 43 | --- 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | ## Security 4 | 5 | Microsoft takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations, which include [Microsoft](https://github.com/Microsoft), [Azure](https://github.com/Azure), [DotNet](https://github.com/dotnet), [AspNet](https://github.com/aspnet) and [Xamarin](https://github.com/xamarin). 6 | 7 | If you believe you have found a security vulnerability in any Microsoft-owned repository that meets [Microsoft's definition of a security vulnerability](https://aka.ms/security.md/definition), please report it to us as described below. 8 | 9 | ## Reporting Security Issues 10 | 11 | **Please do not report security vulnerabilities through public GitHub issues.** 12 | 13 | Instead, please report them to the Microsoft Security Response Center (MSRC) at [https://msrc.microsoft.com/create-report](https://aka.ms/security.md/msrc/create-report). 14 | 15 | If you prefer to submit without logging in, send email to [secure@microsoft.com](mailto:secure@microsoft.com). If possible, encrypt your message with our PGP key; please download it from the [Microsoft Security Response Center PGP Key page](https://aka.ms/security.md/msrc/pgp). 16 | 17 | You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Additional information can be found at [microsoft.com/msrc](https://www.microsoft.com/msrc). 18 | 19 | Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue: 20 | 21 | * Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.) 22 | * Full paths of source file(s) related to the manifestation of the issue 23 | * The location of the affected source code (tag/branch/commit or direct URL) 24 | * Any special configuration required to reproduce the issue 25 | * Step-by-step instructions to reproduce the issue 26 | * Proof-of-concept or exploit code (if possible) 27 | * Impact of the issue, including how an attacker might exploit the issue 28 | 29 | This information will help us triage your report more quickly. 30 | 31 | If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Please visit our [Microsoft Bug Bounty Program](https://aka.ms/security.md/msrc/bounty) page for more details about our active programs. 32 | 33 | ## Preferred Languages 34 | 35 | We prefer all communications to be in English. 36 | 37 | ## Policy 38 | 39 | Microsoft follows the principle of [Coordinated Vulnerability Disclosure](https://aka.ms/security.md/cvd). 40 | 41 | 42 | -------------------------------------------------------------------------------- /SUPPORT.md: -------------------------------------------------------------------------------- 1 | # TODO: The maintainer of this repo has not yet edited this file 2 | 3 | **REPO OWNER**: Do you want Customer Service & Support (CSS) support for this product/project? 4 | 5 | - **No CSS support:** Fill out this template with information about how to file issues and get help. 6 | - **Yes CSS support:** Fill out an intake form at [aka.ms/onboardsupport](https://aka.ms/onboardsupport). CSS will work with/help you to determine next steps. 7 | - **Not sure?** Fill out an intake as though the answer were "Yes". CSS will help you decide. 8 | 9 | *Then remove this first heading from this SUPPORT.MD file before publishing your repo.* 10 | 11 | # Support 12 | 13 | ## How to file issues and get help 14 | 15 | This project uses GitHub Issues to track bugs and feature requests. Please search the existing 16 | issues before filing new issues to avoid duplicates. For new issues, file your bug or 17 | feature request as a new Issue. 18 | 19 | For help and questions about using this project, please **REPO MAINTAINER: INSERT INSTRUCTIONS HERE 20 | FOR HOW TO ENGAGE REPO OWNERS OR COMMUNITY FOR HELP. COULD BE A STACK OVERFLOW TAG OR OTHER 21 | CHANNEL. WHERE WILL YOU HELP PEOPLE?**. 22 | 23 | ## Microsoft Support Policy 24 | 25 | Support for this **PROJECT or PRODUCT** is limited to the resources listed above. 26 | --------------------------------------------------------------------------------