---
title: "Codeunit 8351 MCP Config Implementation"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/8351-mcp-config-implementation/
type: codeunit
id: 8351
name: "MCP Config Implementation"
app: "System Application"
namespace: System.MCP
versions: "27-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/8351-mcp-config-implementation/source/27/ https://jonas-paprotka.de/ref/codeunit/8351-mcp-config-implementation/source/28/ https://jonas-paprotka.de/ref/codeunit/8351-mcp-config-implementation/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 8351 MCP Config Implementation

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/8351-mcp-config-implementation/

| | |
| --- | --- |
| App | System Application |
| Namespace | System.MCP |
| Versions | 27-28 |
| Source file | MCP/src/Configuration/Codeunits/MCPConfigImplementation.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| GetConfigurationIdByName | (Text[100]) | Guid | internal | 27-28 | - | - |
| CreateConfiguration | (Text[100], Text[250]) | Guid | internal | 27-28 | - | - |
| ActivateConfiguration | (Guid, Boolean) | - | internal | 27-28 | - | - |
| AllowCreateUpdateDeleteTools | (Guid, Boolean) | - | internal | 27-28 | - | - |
| DisableCreateUpdateDeleteToolsInConfig | (Guid) | - | internal | 27-28 | - | - |
| DeleteConfiguration | (Guid) | - | internal | 27-28 | - | - |
| CopyConfiguration | (Guid) | - | internal | 27-28 | - | - |
| CopyConfiguration | (Guid, Text[100], Text[250]) | Guid | internal | 27-28 | - | - |
| EnableDynamicToolMode | (Guid, Boolean) | - | internal | 27-28 | - | - |
| EnableDiscoverReadOnlyObjects | (Guid, Boolean) | - | internal | 27-28 | - | - |
| CreateDefaultConfiguration | () | - | internal | 27-28 | - | - |
| IsDefaultConfiguration | (Record MCP Configuration) | Boolean | internal | 27-28 | - | - |
| CreateAPITool | (Guid, Integer, Boolean) | Guid | internal | 27 | - | - |
| GetAPIToolId | (Guid, Integer) | Guid | internal | 27 | - | - |
| DeleteTool | (Guid) | - | internal | 27-28 | - | - |
| AllowRead | (Guid, Boolean) | - | internal | 27-28 | - | - |
| AllowCreate | (Guid, Boolean) | - | internal | 27-28 | - | - |
| AllowModify | (Guid, Boolean) | - | internal | 27-28 | - | - |
| AllowDelete | (Guid, Boolean) | - | internal | 27-28 | - | - |
| AllowBoundActions | (Guid, Boolean) | - | internal | 27-28 | - | - |
| LookupAPITools | (var Record Page Metadata) | Boolean | internal | 27 | - | - |
| GetAPIPublishers | (var Record MCP API Publisher Group) | - | internal | 27-28 | - | - |
| LookupAPIPublisher | (var Record MCP API Publisher Group, var Text, var Text) | - | internal | 27-28 | - | - |
| LookupAPIGroup | (var Record MCP API Publisher Group, Text, var Text) | - | internal | 27-28 | - | - |
| ValidateAPITool | (Integer, Boolean) | - | internal | 27 | - | - |
| AddToolsByAPIGroup | (Guid) | - | internal | 27-28 | - | - |
| AddStandardAPITools | (Guid) | - | internal | 27-28 | - | - |
| GetObjectCaption | (Guid) | Text[100] | internal | 27-28 | - | - |
| IsFeatureEnabled | () | Boolean | internal | 27 | - | - |
| GetTelemetryCategory | () | Text[50] | internal | 27-28 | - | - |
| IsDesignatedDefaultConfiguration | (Record MCP Configuration) | Boolean | internal | 28 | - | - |
| SetAsDefaultConfiguration | (Guid) | - | internal | 28 | - | - |
| ClearDefaultConfiguration | () | - | internal | 28 | - | - |
| IsConfigurationActive | (Guid) | Boolean | internal | 28 | - | - |
| ValidateConfiguration | (var Record MCP Configuration, Boolean) | - | internal | 28 | - | - |
| FindWarningsForConfiguration | (Guid, var Record MCP Config Warning) | Boolean | internal | 28 | - | - |
| GetWarningMessage | (Record MCP Config Warning) | Text | internal | 28 | - | - |
| GetRecommendedAction | (Record MCP Config Warning) | Text | internal | 28 | - | - |
| ApplyRecommendedActions | (var Record MCP Config Warning) | - | internal | 28 | - | - |
| ApplyRecommendedAction | (var Record MCP Config Warning) | - | internal | 28 | - | - |
| CreateAPIPageTool | (Guid, Integer, Boolean) | Guid | internal | 28 | - | - |
| GetAPIToolId | (Guid, Integer, Option) | Guid | internal | 28 | - | - |
| CreateAPIQueryTool | (Guid, Integer) | Guid | internal | 28 | - | - |
| LookupAPIPageTools | (var Record Page Metadata) | Boolean | internal | 28 | - | - |
| LookupAPIQueryTools | (var Record Query Metadata) | Boolean | internal | 28 | - | - |
| ValidateAPIPageTool | (Integer, Boolean) | Record Page Metadata | internal | 28 | - | - |
| ValidateAPIQueryTool | (Integer) | Record Query Metadata | internal | 28 | - | - |
| CheckAPIToolExists | (Guid, Integer, Option) | Boolean | internal | 28 | - | - |
| LoadSystemTools | (var Record MCP System Tool) | - | internal | 28 | - | - |
| ValidateAPIPageVersion | (Integer, Text) | - | internal | 28 | - | - |
| ValidateAPIQueryVersion | (Integer, Text) | - | internal | 28 | - | - |
| LookupAPIPageVersions | (Integer, var Text[30]) | - | internal | 28 | - | - |
| LookupAPIQueryVersions | (Integer, var Text[30]) | - | internal | 28 | - | - |
| GetHighestAPIPageVersion | (Record Page Metadata) | Text[30] | internal | 28 | - | - |
| GetHighestAPIQueryVersion | (Record Query Metadata) | Text[30] | internal | 28 | - | - |
| CreateVSCodeEntraApplication | () | - | internal | 28 | - | - |
| ShowConnectionString | (Text[100]) | - | internal | 28 | - | - |
| GenerateConnectionString | (Text[100]) | Text | internal | 28 | - | - |
| EncodeForMCPHeaderIfNonAscii | (Text) | Text | internal | 28 | - | - |
| CreateEntraApplication | (Text[100], Text[250], Guid) | - | internal | 28 | - | - |
| DeleteEntraApplication | (Text[100]) | - | internal | 28 | - | - |
| ExportConfigurationToFile | (Guid, Text[100]) | - | internal | 28 | - | - |
| ImportConfigurationFromFile | () | - | internal | 28 | - | - |
| ExportConfiguration | (Guid, var OutStream) | - | internal | 28 | - | - |
| ImportConfiguration | (var InStream, Text[100], Text[250]) | Guid | internal | 28 | - | - |
| TriggerNoActiveConfigsFeedback | () | - | internal | 28 | - | - |
| TriggerGeneralFeedback | () | - | internal | 28 | - | - |
| HasNoActiveConfigurations | () | Boolean | internal | 28 | - | - |
| LogConfigurationCreated | (Record MCP Configuration) | - | internal | 28 | - | - |
| LogConfigurationModified | (Record MCP Configuration, Record MCP Configuration) | - | internal | 28 | - | - |
| LogConfigurationDeleted | (Record MCP Configuration) | - | internal | 28 | - | - |

## Source

Symbols: Microsoft.SystemApplication.symbols.63ca2fa4-4f03-4f2b-a480-172fef340d3f, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 27: https://github.com/microsoft/BCApps, MIT, releases/27.x at 1749020b4c9445a43e4f7f540e89b7fa76ec25fd.
AL source 28: https://github.com/microsoft/BCApps, MIT, releases/28.x at 740f59156b249f8ed7cba2e28423f03ae7b07233.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
