MCP.so
登录

MCP Graph API Demo

@ovaismehboob

关于 MCP Graph API Demo

暂无概览

基本信息

分类

开发工具

许可证

MIT license

运行时

c#

传输方式

stdio

发布者

ovaismehboob

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MCP Graph API Demo?

MCP Graph API Demo demonstrates the Model Context Protocol (MCP) with Azure Graph API to query application registrations in your Azure tenant. It uses a Blazor WebAssembly client that communicates with an ASP.NET Core server implementing MCP, allowing an AI-assisted chat interface to retrieve and present application registration data.

How to use MCP Graph API Demo?

Install .NET 9.0 SDK, configure Azure AD and OpenAI settings in the appsettings.json files (server and client), then start the server with dotnet run in MCP.Server and the client with dotnet run in MCP.Client. Open a browser and use the chat interface to ask questions about your Azure App Registrations.

Key features of MCP Graph API Demo

  • Chat interface to query Azure tenant information
  • Access to Graph API functions through MCP
  • Semantic Kernel integration for LLM function calling
  • Clean separation of LLM client and Graph API server
  • Supports Azure OpenAI or OpenAI API

Use cases of MCP Graph API Demo

  • List all app registrations in a tenant
  • Get details for a specific app registration by ID
  • Query permissions of an app registration
  • Demonstrate MCP architecture with Graph API integration

FAQ from MCP Graph API Demo

What prerequisites are needed?

.NET 9.0 SDK, an Azure subscription with Application Registration permissions, and an Azure OpenAI resource or OpenAI API key.

How do I configure the server?

Edit MCP.Server/appsettings.json with your Azure AD tenant ID, client ID, client secret, and required scopes (User.Read, Application.Read.All).

Where does user data live?

Data is retrieved from Microsoft Graph API and processed on the server; the client only receives structured results and never holds raw Graph API data.

What transport or authentication does it use?

The server uses Azure AD authentication to call Microsoft Graph API; the client uses Azure AD for user authentication and an API key for OpenAI. Communication between client and server happens via standard HTTP.

Can I extend the Graph API capabilities?

Yes, add new function declarations in MCP.Server/Services/McpGraphService.cs and implement the logic in ExecuteFunctionAsync. The client's LLM automatically discovers and uses new functions.

评论

开发工具 分类下的更多 MCP 服务器