al-object-id-ninja-mcp
v1.0.2MCP Server for AL Object ID Ninja - Assign and manage AL object IDs for Business Central development
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
ninja_assignObjectId
Assigns and commits the next available AL object ID. The ID is reserved immediately and can be used in the AL object file. Use this when creating new AL objects that require IDs (tables, pages, codeunits, etc.).
| Parameter | Type | Description |
|---|---|---|
objectType * | string | The AL object type. Valid types: codeunit, enum, enumextension, page, pageextension, permissionset, permissionsetextension, query, report, reportextension, table, tableextension, xmlport. For table fi… |
targetFilePath * | string | Absolute path to a file within the AL app. Used to identify which AL app to assign the ID for. |
rangeName | string | Optional. Name of the logical range to use when multiple ranges are configured. Required when the app has multiple ranges defined for the object type. |
ninja_unassignObjectId
Unassigns (releases) a previously assigned AL object ID, making it available for future assignments. Use this when deleting an AL object or when an ID was assigned by mistake.
| Parameter | Type | Description |
|---|---|---|
objectId * | number | The object ID to unassign. Must be a positive number. |
objectType * | string | The AL object type. Valid types: codeunit, enum, enumextension, page, pageextension, permissionset, permissionsetextension, query, report, reportextension, table, tableextension, xmlport. For table fi… |
targetFilePath * | string | Absolute path to a file within the AL app. Used to identify which AL app to unassign the ID from. |