[MCP] Add MCP Connection String Generation and Entra Application Management #6140
+337
−3
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