Skip to main content
Glama
DynamicEndpoints

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

configure_authenticator_context

Configure Microsoft Authenticator to display login context information during authentication, enhancing security awareness by showing verification request details.

Instructions

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function that implements the tool logic: patches the authenticationMethodsPolicy to enable 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'}` ); } }
  • Switch case that dispatches tool calls named 'configure_authenticator_context' to the handler method.
    case 'configure_authenticator_context': return await this.configureAuthenticatorContext();
  • Tool registration in listTools response, defining name, description, and input schema (empty object).
    { name: 'configure_authenticator_context', description: 'Configure Microsoft Authenticator to show login context (MS.AAD.3.3v1)', inputSchema: { type: 'object', properties: {}, }, },
  • Input schema for the tool: requires no parameters (empty object).
    inputSchema: { type: 'object', properties: {}, },

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