Codeunit 8352 MCP Install

App
System Application
Namespace
System.MCP
Versions
27-28

Versions171819202122232425262728

Source272829

Source in 29

src/System Application/App/MCP/src/Configuration/Codeunits/MCPInstall.Codeunit.al23 lines, Copyright (c) Microsoft Corporation. MIT

// ------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// ------------------------------------------------------------------------------------------------

namespace System.MCP;

codeunit 8352 "MCP Install"
{
    Subtype = Install;
    InherentEntitlements = X;
    InherentPermissions = X;

    trigger OnInstallAppPerDatabase()
    var
        MCPConfigImplementation: Codeunit "MCP Config Implementation";
        MCPCopilotCapReg: Codeunit "MCP Copilot Cap. Reg.";
    begin
        MCPConfigImplementation.CreateDefaultConfiguration();
        MCPConfigImplementation.CreateVSCodeEntraApplication();
        MCPCopilotCapReg.RegisterMCPCapability();
    end;
}