Angular Modernizer
    Preparing search index...

    MCP tool over I18nInspector: where translation keys are defined (per language, with file, line and value), where they are used in templates and code, in which language they are missing, which used keys are defined nowhere and which defined keys have no static usage. Sources are found without configuration (setTranslation, TranslateHttpLoader, TranslocoLoader, assets/i18n convention).

    await tool.execute({ projectRoot: '/app', key: 'ERRORS.NO_ACCESS' });
    // { keys: [{ key: 'ERRORS.NO_ACCESS', status: 'used', definitions: [...], usages: [...] }], summary: '...' }

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    annotations: ToolAnnotations = ...

    Behavior hints for clients (MCP 2025-03-26); hints, not guarantees.

    description: string = ...

    Human-readable description of what the tool does.

    name: "inspect-i18n" = 'inspect-i18n'

    Unique tool name.

    title: "Inspect i18n" = 'Inspect i18n'

    Display name for clients (MCP 2025-06-18).

    Methods

    • Execute the tool with given arguments.

      Parameters

      • args: Record<string, unknown>

        Tool arguments validated against inputSchema

      • ctx: ToolContext = {}

        Cancellation and progress of the MCP request (absent in direct calls)

      Returns Promise<InspectI18nOutput>

      Tool execution result