1. Conduid
  2. Documentation
  3. Nab Al Tools
MCP server · Documentation

Nab Al Tools

Open source VS Code extension for AL development and translation management in Microsoft Dynamics 365 Business Central. Features XLIFF workflow tools, automated documentation generation, AI-powered translation assistance, and productivity enhancements.

57Fair

Scored 8 hours ago · breakdown

About Nab Al Tools

Nab Al Tools is an MCP server published by jwikman in the Documentation category: open source VS Code extension for AL development and translation management in Microsoft Dynamics 365 Business Central. Features XLIFF workflow tools, automated documentation generation, AI-powered translation assistance, and productivity enhancements. Conduid read 9 tools from its source: createLanguageXlf, getGlossaryTerms, getTextsByKeyword, getTextsToTranslate, getTranslatedTextsByState, getTranslatedTextsMap and 3 more. No package is published for it, so it installs from a source checkout.

The repository has 43 stars and 11 forks, is licensed MIT, and its last commit was on 1 Dec 2026. The latest release is v1.48.0 (24 Sep 2026). The release before it was v1.46.0 (13 Apr 2026). It passes all 4 static checks Conduid ran on the repository. Its topics include bcopensource and vscode-extension.

Install

From source
git clone https://github.com/jwikman/nab-al-tools

Tools (9)

createLanguageXlfThis tool creates a new XLF file for a specified target language based on the app's generated XLF file. The tool creates a new XLF file ready for translation, optionally pre-populated with matching translations from Microsoft's base application. This streamlines the localization workflow by providing a foundation for translating AL extensions to new languages. By default, the app is the one from the last 'initialize' call; pass 'appFolderPath' to target a specific app instead (REQUIRED when multiple agents/processes share this MCP server and work on different app folders in parallel, to avoid creating the file against another app's generated XLF file).
ParameterTypeDescription
matchBaseAppTranslationbooleanWhether to match translations from the base app (default: false). When enabled, the tool will pre-populate the new XLF file with matching translations from Microsoft's base application. Requires an internet connection to fetch translations from Microsoft's servers.
targetLanguageCode *stringLanguage code for the new XLF file (e.g., 'sv-SE', 'da-DK', 'de-DE').
getGlossaryTermsThis tool returns glossary terminology pairs for a target language (and optional source language, default en-US) from a built-in glossary, based on Business Central terminology and translations. Optionally, you can provide a path to a local glossary file to merge with the built-in glossary, where local terms take precedence for duplicate entries. It outputs a JSON array of objects with 'source', 'target', and 'description'. Usage scenarios: (1) Before starting a translation session - fetch glossary and feed to the LLM/agent prompt to enforce consistent terminology. (2) During automated translation suggestion generation - validate candidate targets against approved glossary terms. (3) QA/Review phase - highlight deviations from glossary to prioritize corrections. (4) Bulk alignment - use glossary list to perform search/replace or to seed a terminology memory. (5) Cross-language comparison - specify a non-default sourceLanguageCode to compare two non-English columns while still using English as reference if needed. (6) Local glossary integration - provide a localGlossaryPath to merge project-specific terminology with built-in terms, ensuring your custom terms override standard ones.
ParameterTypeDescription
ignoreMissingLanguagebooleanOptional. When true, if the target or source language column is missing from a glossary file, return an empty result instead of throwing an error. Default is false.
localGlossaryPathstringOptional absolute path to a local glossary file. If provided, the local glossary will be merged with the built-in glossary, with local terms taking precedence for duplicate entries. The file must be in TSV format with the first column as en-US (source language), the last column as Description (optional), and all columns in between as language codes. The first line must contain ISO language codes as headers.
sourceLanguageCodestringOptional source language code (default en-US) used as the source terminology column.
targetLanguageCode *stringTarget language code for which glossary entries should be returned.
getTextsByKeywordThis tool searches source or target texts in an XLF file for a given keyword or regex and returns matching translation units. By default, it searches in source texts (includes untranslated units). When searchInTarget is true, it searches only in target texts (excludes untranslated units). Returns objects containing: id, source text, source language, target text, alternativeTranslations (optional array of additional translation suggestions when multiple targets exist), context, translation state, review reason, maxLength, and comments. Use this to discover how a specific word or phrase is used across the application and to inspect how it has been translated in different contexts.
ParameterTypeDescription
caseSensitivebooleanEnable case-sensitive matching (default false).
filePath *stringThe absolute path to the XLF file to search.
isRegexbooleanTreat the 'keyword' parameter as a regular expression (default false).
keyword *stringThe keyword or regex pattern to search for in the source or target text.
limit *numberThe maximum number of texts to return in a single request. Set to 0 to retrieve all available translations.
offset *numberThe starting position (zero-based index) for retrieving results. Used for pagination to skip a specific number of translation units before returning results. IMPORTANT: After calling saveTranslatedTexts, always restart pagination with offset 0, as saving translations can change which texts match keyword searches.
searchInTargetbooleanSearch in target text instead of source text (default false). When true, only translated units with matching target text are returned.
getTextsToTranslateThis tool retrieves untranslated texts from a specified XLF file. It returns a JSON object containing: texts (array of translation objects with id, source text, source language, context, maxLength, and comments), totalUntranslatedCount (the total number of untranslated texts in the file), and returnedCount (the number of texts returned in this batch). Each text object includes: id (unique identifier), source text (to be translated), source language, context (describes the context of what is being translated, such as 'Table Customer - Field Name - Property Caption' or 'Page Sales Order - Action Post - Property Caption'), maxLength (character limit if applicable), and contextual comments (explains placeholders like %1, %2, %3 etc.). The context field provides crucial context by identifying the specific AL object (table, page, codeunit, etc.), element (field, action, control), and property (caption, tooltip, etc.) being translated, enabling more accurate and contextually appropriate translations. The totalUntranslatedCount and returnedCount fields help track overall translation progress and pagination. This tool streamlines the translation workflow by identifying which texts need translation and providing comprehensive context for accurate localization.
ParameterTypeDescription
filePath *stringThe absolute path to the XLF file from which untranslated texts will be extracted.
limit *numberThe maximum number of untranslated texts to return. Set to 0 to retrieve all available texts.
offset *numberThe starting position (zero-based index) for retrieving results. Used for pagination to skip a specific number of translation units before returning results. IMPORTANT: After calling saveTranslatedTexts, always restart pagination with offset 0, as saving translations changes which texts are considered 'untranslated' and affects the list order.
sourceLanguageFilePathstringOptional. The absolute path to an alternative source language file. When specified, target texts from this file will be used as 'source' in the response. Useful for translating between similar languages (e.g., Swedish, Danish, Norwegian) instead of always using en-US as the source.
getTranslatedTextsByStateThis tool retrieves translated texts from a specified XLF file, filtered by their translation state. It returns a JSON array of objects containing: id (unique identifier), source text, source language, target text, alternativeTranslations (optional array of additional translation suggestions when multiple targets exist), context (describes the context of what is being translated, such as 'Table Customer - Field Name - Property Caption' or 'Page Sales Order - Action Post - Property Caption'), translation state, review reason (if available), maxLength (character limit if applicable), and contextual comments (explains placeholders like %1, %2, %3 etc.). The context field provides crucial context by identifying the specific AL object (table, page, codeunit, etc.), element (field, action, control), and property (caption, tooltip, etc.) being translated, enabling better understanding of existing translations and their business context. The alternativeTranslations property is particularly useful when reviewing translation suggestions marked with [NAB: SUGGESTION] tokens. This tool streamlines the translation workflow by allowing you to filter translations by their state (e.g., 'needs-review', 'translated', 'final', 'signed-off') and providing comprehensive context for accurate localization.
ParameterTypeDescription
filePath *stringThe absolute path to the XLF file from which to retrieve translated texts. This file should contain translation units with translated target elements.
limit *numberThe maximum number of translated texts to return in a single request. Controls result set size for pagination. Set to 0 to retrieve all available translations.
offset *numberThe starting position (zero-based index) for retrieving results. Used for pagination to skip a specific number of translation units before returning results. IMPORTANT: After calling saveTranslatedTexts, always restart pagination with offset 0, as saving translations can change the order and composition of texts by state.
sourceLanguageFilePathstringOptional. The absolute path to an alternative source language file. When specified, target texts from this file will be used as 'source' in the response. Particularly useful when translating between similar languages (e.g., Swedish, Danish, Norwegian) instead of always using en-US as the source.
sourceTextstringOptional. Filter results to only include translations that match this exact source text. This is particularly useful for: 1) Finding all translations of a specific phrase or term across different contexts, 2) Reviewing translation consistency for repeated text, 3) Updating all occurrences of a specific source text during translation review. For example, use 'Customer' to find all translations where the source text is exactly 'Customer', or 'Enter a value' to find translations of that specific instruction text.
translationStateFilterstringThe translation state to filter the results by. This can be one of the following: 'needs-review' (returns all translations that need review), 'translated' (completed translations), 'final' (finalized translations), or 'signed-off' (approved translations). If not specified, translations in all states will be returned.
getTranslatedTextsMapThis tool retrieves previously translated texts from a specified XLF file as a translation map. It returns a JSON array of translation objects, each containing: sourceText (the original text), targetTexts (an array of one or more translated versions), and sourceLanguage. This unique format groups all translations by their source text, which is particularly useful when the same source text has been translated differently in various contexts or has multiple acceptable translations. For example: {'sourceText': 'Total', 'targetTexts': ['Total', 'Totalt'], 'sourceLanguage': 'en-US'}. This tool helps maintain translation consistency by providing access to existing translation patterns and terminology variations, allowing you to reference previously translated phrases and understand translation choices when working on new content.
ParameterTypeDescription
filePath *stringThe absolute path to the XLF file from which to retrieve translated texts. This file should contain translation units with completed target elements.
limit *numberThe maximum number of translated texts to return in a single request. Controls result set size for pagination. Set to 0 to retrieve all available translations.
offset *numberThe starting position (zero-based index) for retrieving results. Used for pagination to skip a specific number of translation units before returning results. IMPORTANT: After calling saveTranslatedTexts, always restart pagination with offset 0, as saving translations can change the order and composition of translated texts.
sourceLanguageFilePathstringOptional. The absolute path to an alternative source language file. When specified, target texts from this file will be used as 'source' in the response. Particularly useful when translating between similar languages (e.g., Swedish, Danish, Norwegian) instead of always using en-US as the source.
initializeThis tool initializes the MCP server with the AL app folder path and optional workspace file path. It locates the generated XLF file (.g.xlf) in the Translations folder, loads the app manifest from app.json, and configures global settings that are used as a fallback by 'refreshXlf', 'saveTranslatedTexts' and 'createLanguageXlf' whenever THEIR OWN 'appFolderPath' parameter is omitted. IMPORTANT for parallel/multi-agent usage: this server process may be shared by several agents (e.g. subagents, or multiple sessions), and each call to 'initialize' overwrites the same global state for all of them. If more than one agent/process works on different app folders (for example two git worktrees of the same app) against this same MCP server, do NOT rely on 'initialize' alone - always pass 'appFolderPath' (and 'workspaceFilePath' if applicable) explicitly to 'refreshXlf', 'saveTranslatedTexts' and 'createLanguageXlf' on every call, so each call is resolved against the correct app regardless of what any other agent last initialized.
ParameterTypeDescription
appFolderPath *stringThe absolute path to the AL app folder that contains the app.json file (app manifest). This folder should contain the AL application source code and the Translations subfolder.
workspaceFilePathstringPath to the workspace (.code-workspace) file for additional settings. This parameter is MANDATORY when the app is part of a VS Code workspace, as critical translation settings (like target language configuration, custom translation rules, and formatting options) are often defined in the workspace file. Omitting this parameter when a workspace file exists may result in incorrect translation behavior or missing essential configuration. To locate the correct workspace file: 1) Look for .code-workspace files in the app folder and its parent directories, 2) Check the Git repository root (identified by the .git folder) as workspace files are commonly placed there, 3) Search up the directory tree from the app folder until you find a .code-workspace file or reach the file system root. IMPORTANT: When a workspace file is found, verify that the app folder is actually included in that workspace by checking the workspace's folder configuration - if the app folder is not within the workspace scope, continue searching for other workspace files.
refreshXlfThis tool refreshes and synchronizes a XLF language file using the generated XLF file for the app. It should be called before starting the translation process to ensure the XLF file is up-to-date with the latest AL code changes, and again after all translations have been completed to ensure everything is handled and finalized. The tool synchronizes the target XLF file with the latest changes from the generated file by preserving existing translations while adding new translation units from the generated file. It maintains the state of translated units and sorts the file according to the g.xlf structure. This synchronization process ensures that the translation file stays up-to-date with the latest AL code changes without losing existing translation work. By default, the app is the one from the last 'initialize' call; pass 'appFolderPath' to target a specific app instead (REQUIRED when multiple agents/processes share this MCP server and work on different app folders in parallel, to avoid refreshing against another app's generated XLF file).
ParameterTypeDescription
filePath *stringThe absolute path to the XLF file to refresh
saveTranslatedTextsThis tool writes translated texts to a specified XLF file using settings for the app. It accepts an array of translation objects, each containing a unique identifier and the translated text to be saved. For optimal performance, submit multiple translations in a single batch rather than making individual calls. This tool enables efficient updating of XLF files with new or revised translations, maintaining the integrity of the XLIFF format while updating only the specified translation units. By default, settings are taken from the last 'initialize' call; pass 'appFolderPath' to target a specific app instead (REQUIRED when multiple agents/processes share this MCP server and work on different app folders in parallel, to avoid using another app's settings).
ParameterTypeDescription
filePath *stringThe absolute path to the existing XLF file where translations should be saved. The file must already contain the translation units with source texts that correspond to the translations being provided.
translationsarrayThe unique identifier of the translation unit in the XLF file. This ID must match an existing translation unit in the file.

Security checks

  • ✓README presentThe repository's README runs to about 108 words.
  • ✓License declaredThe repository declares the MIT license.
  • ✓Tests presentA test suite exists in the repository.
  • ✓Dependencies pinnedA lockfile pins dependency versions.

2 checks have not been run yet.

Releases

v1.48.0v1.48.0 · 24 Sep 2026
v1.46.0v1.46.0 · 13 Apr 2026

README

The repository's README runs to about 108 words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About Nab Al Tools

How do I install Nab Al Tools?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Nab Al Tools safe to use with an AI agent?

Its trust score is 57 out of 100 (fair). It passes all 4 static checks Conduid ran on the repository. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Nab Al Tools still maintained?

Yes — the latest release is v1.48.0 (24 Sep 2026), and the last commit was 20 hours ago. The repository has 43 stars and 9 open issues.

What tools does Nab Al Tools provide?

Conduid read 9 tools from the source: createLanguageXlf, getGlossaryTerms, getTextsByKeyword, getTextsToTranslate, getTranslatedTextsByState, getTranslatedTextsMap, initialize, refreshXlf and 1 more. 9 of them publish their parameters, listed under Tools above.

What license is Nab Al Tools released under?

The repository declares the MIT license. That applies to the latest release, v1.48.0, as well.