Codeunit 8351 MCP Config Implementation

System Application, System.MCP

src/System Application/App/MCP/src/Configuration/Codeunits/MCPConfigImplementation.Codeunit.al74 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

CreateConfiguration line 87, internal

  1. 93writesTable 2000000292 MCP Configuration Insert
  2. 94callsLogConfigurationCreated

ActivateConfiguration line 98, internal

  1. 105callsIsDefaultConfiguration
  2. 108callsIsDesignatedDefaultConfiguration
  3. 112writesTable 2000000292 MCP Configuration Modify

AllowCreateUpdateDeleteTools line 116, internal

  1. 127callsDisableCreateUpdateDeleteToolsInConfig
  2. 130writesTable 2000000292 MCP Configuration Modify
  3. 131callsLogConfigurationModified

DisableCreateUpdateDeleteToolsInConfig line 134, internal

  1. 143writesTable 2000000293 MCP Configuration Tool ModifyAll
  2. 144writesTable 2000000293 MCP Configuration Tool ModifyAll
  3. 145writesTable 2000000293 MCP Configuration Tool ModifyAll
  4. 146writesTable 2000000293 MCP Configuration Tool ModifyAll

DeleteConfiguration line 149, internal

  1. 156callsIsDefaultConfiguration
  2. 159callsIsDesignatedDefaultConfiguration
  3. 160callsMarkSystemDefaultAsDefault
  4. 162callsLogConfigurationDeleted
  5. 163writesTable 2000000292 MCP Configuration Delete

CopyConfiguration line 166, internal

  1. 176callsPage 8355 MCP Copy Config GetConfigName
  2. 177callsPage 8355 MCP Copy Config GetConfigDescription

CopyConfiguration line 182, internal

  1. 194writesTable 2000000292 MCP Configuration Insert
  2. 196callsCopyTools
  3. 198callsLogConfigurationCreated

CopyTools line 202, local

  1. 214writesTable 2000000293 MCP Configuration Tool Insert

EnableDynamicToolMode line 218, internal

  1. 228callsIsDefaultConfiguration
  2. 231callsIsAPIToolsEnabled
  3. 237writesTable 2000000292 MCP Configuration Modify
  4. 238callsLogConfigurationModified

EnableDiscoverReadOnlyObjects line 241, internal

  1. 251callsIsDefaultConfiguration
  2. 258writesTable 2000000292 MCP Configuration Modify
  3. 259callsLogConfigurationModified

EnableAPITools line 262, internal

  1. 277writesTable 2000000292 MCP Configuration Modify
  2. 278callsLogConfigurationModified

EnableDataQueryTools line 281, internal

  1. 290writesTable 2000000292 MCP Configuration Modify
  2. 291callsLogConfigurationModified

CreateDefaultConfiguration line 323, internal

  1. 327callsGetConfigurationIdByName
  2. 337writesTable 2000000292 MCP Configuration Insert

SetAsDefaultConfiguration line 350, internal

  1. 362writesTable 2000000292 MCP Configuration ModifyAll
  2. 365writesTable 2000000292 MCP Configuration Modify
  3. 367callsGetDimensions

ClearDefaultConfiguration line 370, internal

  1. 377writesTable 2000000292 MCP Configuration ModifyAll
  2. 381writesTable 2000000292 MCP Configuration Modify

MarkSystemDefaultAsDefault line 385, local

  1. 393writesTable 2000000292 MCP Configuration Modify

ValidateConfiguration line 405, internal

  1. 410callsFindWarningsForConfiguration
  2. 421runsPage 8359 MCP Config Warning List

ApplyRecommendedActions line 462, internal

  1. 468callsApplyRecommendedAction

CreateAPIPageTool line 482, internal

  1. 490callsIsDefaultConfiguration
  2. 493callsValidateAPIPageTool
  3. 499callsGetHighestAPIPageVersion
  4. 500writesTable 2000000293 MCP Configuration Tool Insert

CreateAPIQueryTool line 515, internal

  1. 523callsIsDefaultConfiguration
  2. 526callsValidateAPIQueryTool
  3. 532callsGetHighestAPIQueryVersion
  4. 533writesTable 2000000293 MCP Configuration Tool Insert

CreateAPICodeunitTool line 537, internal

  1. 545callsIsDefaultConfiguration
  2. 548callsValidateAPICodeunitTool
  3. 554callsGetHighestAPICodeunitVersion
  4. 555writesTable 2000000293 MCP Configuration Tool Insert

DeleteTool line 559, internal

  1. 566writesTable 2000000293 MCP Configuration Tool Delete

AllowRead line 569, internal

  1. 580writesTable 2000000293 MCP Configuration Tool Modify

AllowCreate line 583, internal

  1. 594callsCheckAllowCreateUpdateDeleteTools
  2. 597writesTable 2000000293 MCP Configuration Tool Modify

AllowModify line 600, internal

  1. 611callsCheckAllowCreateUpdateDeleteTools
  2. 614writesTable 2000000293 MCP Configuration Tool Modify

AllowDelete line 617, internal

  1. 628callsCheckAllowCreateUpdateDeleteTools
  2. 631writesTable 2000000293 MCP Configuration Tool Modify

AllowActions line 634, internal

  1. 645callsCheckAllowCreateUpdateDeleteTools
  2. 648writesTable 2000000293 MCP Configuration Tool Modify

LookupAPIObjects line 651, internal

  1. 656callsPopulateAPIObjects
  2. 660callsPage 8376 MCP API Object Lookup SetObjects
  3. 668callsPage 8376 MCP API Object Lookup GetSelectedObjects

PopulateAPIObjects line 672, local

  1. 677writesTable 8357 MCP API Object Buffer DeleteAll
  2. 680callsSetAPIPageFilters
  3. 681callsAddAPIObjectsFromWebService
  4. 685callsSetAPIQueryFilters
  5. 686callsAddAPIObjectsFromWebService
  6. 690callsSetAPICodeunitFilters
  7. 691callsAddAPIObjectsFromWebService

AddAPIObjectsFromWebService line 694, local

  1. 700callsIsMicrosoftBetaAPI
  2. 703writesTable 8357 MCP API Object Buffer Modify
  3. 713writesTable 8357 MCP API Object Buffer Insert

GetAPIPublishers line 744, internal

  1. 746callsGetAPIPagePublishers
  2. 747callsGetAPIQueryPublishers
  3. 748callsGetAPICodeunitPublishers

GetAPIPagePublishers line 751, local

  1. 755callsSetAPIPageFilters
  2. 762callsIsMicrosoftBetaAPI
  3. 768writesTable 8350 MCP API Publisher Group Insert

GetAPIQueryPublishers line 772, local

  1. 776callsSetAPIQueryFilters
  2. 787writesTable 8350 MCP API Publisher Group Insert

GetAPICodeunitPublishers line 791, local

  1. 795callsSetAPICodeunitFilters
  2. 806writesTable 8350 MCP API Publisher Group Insert

LookupAPIPublisher line 810, internal

  1. 812runsPage 8356 MCP API Publisher Lookup

LookupAPIGroup line 818, internal

  1. 824runsPage 8356 MCP API Publisher Lookup

ResolvePublisherForGroup line 828, internal

  1. 848runsPage 8356 MCP API Publisher Lookup

AddToolsByAPIGroup line 912, internal

  1. 922callsPage 8354 MCP Tools By API Group GetAPIGroup
  2. 923callsPage 8354 MCP Tools By API Group GetAPIPublisher
  3. 928callsAddAPIPageTools
  4. 929callsAddAPIQueryTools
  5. 930callsAddAPICodeunitTools

AddAPIPageTools line 933, local

  1. 938callsSetAPIPageFilters
  2. 946callsIsMicrosoftBetaAPI
  3. 948callsCheckAPIToolExists
  4. 949callsCreateAPIPageTool

AddAPIQueryTools line 953, local

  1. 958callsSetAPIQueryFilters
  2. 966callsCheckAPIToolExists
  3. 967callsCreateAPIQueryTool

AddAPICodeunitTools line 971, local

  1. 976callsSetAPICodeunitFilters
  2. 984callsCheckAPIToolExists
  3. 985callsCreateAPICodeunitTool

AddStandardAPITools line 989, internal

  1. 994callsSetAPIPageFilters
  2. 1000callsCheckAPIToolExists
  3. 1001callsCreateAPIPageTool
  4. 1005callsSetAPIQueryFilters
  5. 1011callsCheckAPIToolExists
  6. 1012callsCreateAPIQueryTool

ValidateAPIPageVersion line 1049, internal

  1. 1055callsCollectAPIObjectVersions

ValidateAPIQueryVersion line 1063, internal

  1. 1069callsCollectAPIObjectVersions

ValidateAPICodeunitVersion line 1077, internal

  1. 1083callsCollectAPIObjectVersions

LookupAPIPageVersions line 1091, internal

  1. 1096callsLookupAPIObjectVersions

LookupAPIQueryVersions line 1099, internal

  1. 1104callsLookupAPIObjectVersions

LookupAPICodeunitVersions line 1107, internal

  1. 1112callsLookupAPIObjectVersions

GetHighestAPIPageVersion line 1115, internal

  1. 1120callsGetHighestAPIObjectVersion

GetHighestAPIQueryVersion line 1123, internal

  1. 1128callsGetHighestAPIObjectVersion

GetHighestAPICodeunitVersion line 1131, internal

  1. 1136callsGetHighestAPIObjectVersion

GetHighestAPIObjectVersion line 1149, local

  1. 1153callsCollectAPIObjectVersions
  2. 1157callsGetHighestVersion

LookupAPIObjectVersions line 1160, local

  1. 1166callsCollectAPIObjectVersions
  2. 1169writesTable 8354 MCP API Version Insert
  3. 1172runsPage 8366 MCP API Version Lookup

CollectAPIObjectVersions line 1176, local

  1. 1184callsIsMicrosoftBetaAPI

GetHighestVersion line 1190, local

  1. 1206callsTryParseVersion

CreateVSCodeEntraApplication line 1249, internal

  1. 1259writesTable 8351 MCP Entra Application Insert

ShowConnectionString line 1262, internal

  1. 1267callsGenerateConnectionString
  2. 1268callsPage 8358 MCP Connection String SetConnectionString

GenerateConnectionString line 1273, internal

  1. 1284callsCodeunit 457 Environment Information IsSaaS
  2. 1287callsGetMCPUrlAndPrefix
  3. 1290callsCodeunit 433 Azure AD Tenant GetAadTenantId
  4. 1291callsCodeunit 457 Environment Information GetEnvironmentName
  5. 1294callsBuildConnectionStringJson

GetMCPUrlAndPrefix line 1297, local

  1. 1310callsIsTIEEnvironment

IsTIEEnvironment line 1319, local

  1. 1323callsCodeunit 3060 Uri AreURIsHaveSameHost

BuildConnectionStringJson line 1326, local

  1. 1342callsEncodeForMCPHeaderIfNonAscii
  2. 1343callsEncodeForMCPHeaderIfNonAscii

EncodeForMCPHeaderIfNonAscii line 1349, internal

  1. 1354callsCodeunit 3960 Regex IsMatch
  2. 1357callsCodeunit 4110 Base64 Convert ToBase64

CreateEntraApplication line 1360, internal

  1. 1367writesTable 8351 MCP Entra Application Insert

DeleteEntraApplication line 1370, internal

  1. 1377writesTable 8351 MCP Entra Application Delete

ExportConfigurationToFile line 1382, internal

  1. 1389callsCodeunit 4100 Temp Blob CreateOutStream
  2. 1390callsExportConfiguration
  3. 1391callsCodeunit 4100 Temp Blob CreateInStream

ImportConfigurationFromFile line 1396, internal

  1. 1410callsCodeunit 4100 Temp Blob CreateOutStream
  2. 1412callsCodeunit 4100 Temp Blob CreateInStream
  3. 1414callsGetConfigFromJson
  4. 1419callsPage 8355 MCP Copy Config SetConfigName
  5. 1420callsPage 8355 MCP Copy Config SetConfigDescription
  6. 1421callsPage 8355 MCP Copy Config SetInstructionMessage
  7. 1425callsPage 8355 MCP Copy Config GetConfigName
  8. 1426callsPage 8355 MCP Copy Config GetConfigDescription
  9. 1429callsCodeunit 4100 Temp Blob CreateInStream
  10. 1430callsImportConfiguration

ImportConfiguration line 1494, internal

  1. 1524callsConfirmDataQueryToolsOnImport
  2. 1526writesTable 2000000292 MCP Configuration Insert
  3. 1527callsLogConfigurationCreated
  4. 1532callsImportTool

ImportTool line 1552, local

  1. 1591writesTable 2000000293 MCP Configuration Tool Insert

TriggerNoActiveConfigsFeedback line 1596, internal

  1. 1603callsCodeunit 1590 Microsoft User Feedback WithCustomQuestion
  2. 1604callsCodeunit 1590 Microsoft User Feedback RequestDislikeFeedback
  3. 1606callsGetTelemetryCategory

TriggerGeneralFeedback line 1609, internal

  1. 1613callsCodeunit 1590 Microsoft User Feedback RequestFeedback
  2. 1615callsGetTelemetryCategory

GetDimensions line 1629, local

  1. 1631callsGetTelemetryCategory

LogConfigurationCreated line 1645, internal

  1. 1647callsGetDimensions

LogConfigurationModified line 1651, internal

  1. 1655callsGetTelemetryCategory

LogConfigurationDeleted line 1685, internal

  1. 1687callsGetDimensions