[MCP] Add MCP Connection String Generation and Entra Application Management#6140
Merged
[MCP] Add MCP Connection String Generation and Entra Application Management#6140
Conversation
darjoo
reviewed
Jan 15, 2026
src/System Application/App/MCP/src/Configuration/Codeunits/MCPConfigImplementation.Codeunit.al
Outdated
Show resolved
Hide resolved
src/System Application/App/MCP/src/Configuration/Pages/MCPConnectionString.Page.al
Outdated
Show resolved
Hide resolved
src/System Application/App/MCP/src/Configuration/Pages/MCPConnectionString.Page.al
Show resolved
Hide resolved
src/System Application/App/MCP/Permissions/MCPObjects.PermissionSet.al
Outdated
Show resolved
Hide resolved
JesperSchulz
previously approved these changes
Jan 15, 2026
src/System Application/App/MCP/Permissions/MCPObjects.PermissionSet.al
Outdated
Show resolved
Hide resolved
src/System Application/App/MCP/src/Configuration/Pages/MCPConnectionString.Page.al
Outdated
Show resolved
Hide resolved
onbuyuka
commented
Jan 15, 2026
src/System Application/App/MCP/Permissions/MCPObjects.PermissionSet.al
Outdated
Show resolved
Hide resolved
darjoo
approved these changes
Jan 16, 2026
JesperSchulz
approved these changes
Jan 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds features to help users easily configure third-party MCP clients to connect to Business Central by providing connection string generation and Entra application management capabilities.
Changes
New Objects
Modified Objects
MCPConfigImplementation.Codeunit.al - Added new
#region Connection Stringwith:GenerateConnectionString()- Builds formatted JSON connection string with tenant ID, environment name, company, and configuration nameShowConnectionString()- Opens the connection string dialogMCPConfigCard.Page.al - Added promoted actions:
MCPConfigList.Page.al - Added same promoted actions as Config Card
Permission Sets (MCPObjects, MCPAdmin, MCPRead) - Added permissions for new table and pages
Features
Connection String Generation - Automatically generates properly formatted JSON connection strings with:
<pre>tags.txtfile with naming patternmcp-config-{configname}.txtEntra Application Registry - Allows admins to register third-party Entra applications so users can easily find the Client IDs needed for MCP client configuration
Work Item(s)
Fixes AB#616112