EntraID MCP ServerServer

hieuttmmo
GitHub
Microsoft GraphMCPAPI Management

Loading subscription status...

💡 Description

A modular FastMCP server for interacting with the Microsoft Graph API, focusing on scalability, maintainability, and security. It supports advanced queries for users, sign-in logs, MFA status, and privileged users.

📝 JSON Entries

{
  "mcpServers": [
    {
      "EntraID MCP Server": {
        "env": {
          "CLIENT_ID": "<your-client-id>",
          "TENANT_ID": "<your-tenant-id>",
          "CLIENT_SECRET": "<your-client-secret>"
        },
        "args": [
          "run",
          "--with",
          "azure-core",
          "--with",
          "azure-identity",
          "--with",
          "fastmcp",
          "--with",
          "msgraph-core",
          "--with",
          "msgraph-sdk",
          "fastmcp",
          "run",
          "/path/to/src/msgraph_mcp_server/server.py"
        ],
        "command": "uv"
      }
    }
  ]
}

🛠️ Tools

search_usersget_user_by_idget_privileged_userscreate_groupupdate_groupdelete_group

Features

  • Modular resource structure for easy extension
  • Centralized Graph client for authentication
  • User and group management operations
  • MFA operations
  • Error handling and logging

💬 Example Queries

  • Search for users by name/email
  • Get a user by ID
  • List all privileged users