---
title: "Codeunit 8350 MCP Config"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/8350-mcp-config/
type: codeunit
id: 8350
name: "MCP Config"
app: "System Application"
namespace: System.MCP
versions: "27-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/8350-mcp-config/source/27/ https://jonas-paprotka.de/ref/codeunit/8350-mcp-config/source/28/ https://jonas-paprotka.de/ref/codeunit/8350-mcp-config/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 8350 MCP Config

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

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

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| GetConfigurationIdByName | (Text[100]) | Guid | public | 27-28 | - | - |
| CreateConfiguration | (Text[100], Text[250]) | Guid | public | 27-28 | - | - |
| ActivateConfiguration | (Guid, Boolean) | - | public | 27-28 | - | - |
| AllowCreateUpdateDeleteTools | (Guid, Boolean) | - | public | 27-28 | - | - |
| DeleteConfiguration | (Guid) | - | public | 27-28 | - | - |
| CopyConfiguration | (Guid, Text[100], Text[250]) | Guid | public | 27-28 | - | - |
| EnableDynamicToolMode | (Guid, Boolean) | - | public | 27-28 | - | - |
| EnableDiscoverReadOnlyObjects | (Guid, Boolean) | - | public | 27-28 | - | - |
| CreateAPITool | (Guid, Integer) | Guid | public | 27-28 | - | - |
| CreateAPITool | (Guid, Integer, Boolean) | Guid | public | 27-28 | - | - |
| GetAPIToolId | (Guid, Integer) | Guid | public | 27-28 | Pending 29.0 | Use GetAPIToolId with ObjectType parameter instead. |
| DeleteTool | (Guid) | - | public | 27-28 | - | - |
| AllowRead | (Guid, Boolean) | - | public | 27-28 | - | - |
| AllowCreate | (Guid, Boolean) | - | public | 27-28 | - | - |
| AllowModify | (Guid, Boolean) | - | public | 27-28 | - | - |
| AllowDelete | (Guid, Boolean) | - | public | 27-28 | - | - |
| AllowBoundActions | (Guid, Boolean) | - | public | 27-28 | - | - |
| SetAsDefaultConfiguration | (Guid) | - | public | 28 | - | - |
| ClearDefaultConfiguration | () | - | public | 28 | - | - |
| FindWarningsForConfiguration | (Guid, var Record MCP Config Warning) | Boolean | public | 28 | - | - |
| ApplyRecommendedAction | (var Record MCP Config Warning) | - | public | 28 | - | - |
| CreateQueryAPITool | (Guid, Integer) | Guid | public | 28 | - | - |
| GetAPIToolId | (Guid, Integer, Option) | Guid | public | 28 | - | - |
| CreateEntraApplication | (Text[100], Text[250], Guid) | - | public | 28 | - | - |
| DeleteEntraApplication | (Text[100]) | - | public | 28 | - | - |
| ExportConfiguration | (Guid, var OutStream) | - | public | 28 | - | - |
| ImportConfiguration | (var InStream, Text[100], Text[250]) | Guid | public | 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.
