MCP (Model Context Protocol) server for AL Object ID Ninja - managing AL object IDs in Business Central development.
Visual Studio Code users: No. The AL Object ID Ninja extension already includes Language Model Tools integration. GitHub Copilot and other AI assistants in VS Code can automatically assign and manage object IDs without any additional setup.
Cursor, Claude Code, or other AI tools: Yes. Install this MCP server to enable AI-assisted object ID management outside of VS Code.
This MCP server provides two tools for AI assistants:
- ninja_assignObjectId - Assigns and commits the next available AL object ID
- ninja_unassignObjectId - Releases a previously assigned object ID
Global (available in all projects):
claude mcp add --scope user --transport stdio al-object-id-ninja -- npx -y @vjeko.com/al-object-id-ninja-mcpLocal (current project only):
claude mcp add --scope local --transport stdio al-object-id-ninja -- npx -y @vjeko.com/al-object-id-ninja-mcpThen restart Claude Code or run /mcp to verify the server is available.
Add to ~/.cursor/mcp.json:
{
"mcpServers": {
"al-object-id-ninja": {
"command": "npx",
"args": ["-y", "@vjeko.com/al-object-id-ninja-mcp"]
}
}
}Once configured, AI assistants can use the tools to manage object IDs:
"Assign a new table ID for my AL app"
The assistant will use ninja_assignObjectId with:
objectType: The AL object type (table, page, codeunit, etc.)targetFilePath: Path to any file in your AL apprangeName: (Optional) Logical range name if multiple ranges exist
"Release table ID 50100 - I deleted that object"
The assistant will use ninja_unassignObjectId with:
objectType: The AL object typeobjectId: The ID to releasetargetFilePath: Path to any file in your AL app
table,tableextensionpage,pageextensioncodeunitreport,reportextensionqueryxmlportenum,enumextensionpermissionset,permissionsetextensiontable_{id}(for table fields)enum_{id}(for enum values)
MIT