39

In the era of AI and Github coding agent, MCP servers are needed for all kind of scenarios.


To make life easier for AL developers trying to use the GitHub Coding Agent, I suggest that you implement a (local) MCP server for the AL tool, Microsoft.Dynamics.BusinessCentral.Development.Tools found at the NuGet gallery.


Add a command to the AL command to start the MCP server, this can be configured in the MCP settings for the Coding Agent.

Then add a few tools that the coding agent can use, for example compile app, search symbols (similar to Ctrl+T in VSCode), etc.


The tools (at least the compile one) would probably need the path to the .code-workspace file,if available, as a optional parameter, to be sure that all settings are applied (code cops, ruleset files etc).


I assume that there could be a lot of other tools as well, please add suggestions as comments :)

Category: Development
STATUS DETAILS
New

Comments

J

This is certainly is needed - NAB AL Tools added AI tools to refresh translation files and only thing that is missing is letting AI to either package apps or refresh g.xlf files.https://github.com/jwikman/nab-al-tools/issues/517prompt file---mode: 'agent'tools: ['codebase', 'searchResults', 'search', 'nab-al-tools-refreshXlf']---Refresh translations in *every* app folder.Ignore app folders without translation files other than *.g.xlf.

Category: Development