mcp-msgraph

mcp-msgraph

1

MCP-MSGraph is a prototype MCP server designed to read user profiles from Microsoft Graph, illustrating how MCP can connect with data in Microsoft Graph. It serves as a proof of concept for integrating MCP with Microsoft infrastructure.

MCP-MSGraph

A prototype MCP (Model Context Protocol) server that reads a user profile from Microsoft Graph. This project demonstrates how to connect MCP to data stored in Microsoft Graph as a proof of concept.

Create an Azure AD Application

  • Log into Azure Portal.
  • Navigate to Azure Active Directory > App registrations > New registration.
  • Create a new application.
  • Note the generated Application (client) ID and Client Secret.
  • Under API permissions, add User.Read.All and grant admin consent.

Instructions to run the server:

  • Clone the repository or set up your own folder and files structure.
  • Create a virtual environment.
  • Install the required packages.
  • Replace placeholder values with your App ID, Tenant ID, and Client Secret.
  • Start the server. Your server will be available at http://127.0.0.1:8000.