Skip to main content
Glama
DynamicEndpoints

BOD-25-01-CSA-Microsoft-Policy-MCP

configure_authenticator_context

Configure Microsoft Authenticator to display login context for enhanced security verification during authentication processes.

Instructions

Configure Microsoft Authenticator to show login context (MS.AAD.3.3v1)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function for the 'configure_authenticator_context' tool. It patches the Microsoft Graph API's authenticationMethodsPolicy to enable the Microsoft Authenticator with context information in notifications.
    private async configureAuthenticatorContext() { try { // Configure Microsoft Authenticator settings using Microsoft Graph API await this.graphClient .api('/policies/authenticationMethodsPolicy') .patch({ policies: { microsoftAuthenticator: { isEnabled: true, showContextInformationInNotifications: true, }, }, }); return { content: [ { type: 'text', text: 'Microsoft Authenticator context information configured successfully', }, ], }; } catch (error: unknown) { throw new McpError( ErrorCode.InternalError, `Failed to configure Authenticator context: ${error instanceof Error ? error.message : 'Unknown error'}` ); } }
  • Registration of the tool in the ListToolsRequestSchema handler, specifying the name, description, and input schema (empty object, no parameters required).
    { name: 'configure_authenticator_context', description: 'Configure Microsoft Authenticator to show login context (MS.AAD.3.3v1)', inputSchema: { type: 'object', properties: {}, }, },
  • Input schema definition for the tool, which is an empty object indicating no input parameters are required.
    inputSchema: { type: 'object', properties: {}, },
  • Dispatcher case in the CallToolRequestSchema handler that routes the tool call to the specific handler function.
    case 'configure_authenticator_context': return await this.configureAuthenticatorContext();

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DynamicEndpoints/Automated-BOD-25-01-CISA-Microsoft-Policies-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server