AL Object ID Ninja
STDIOMCP server for AL Object ID management in Microsoft Dynamics 365 Business Central development
MCP server for AL Object ID management in Microsoft Dynamics 365 Business Central development
MCP (Model Context Protocol) server for AL Object ID management in Microsoft Dynamics 365 Business Central development.
Add to Claude Code with one command:
# Standard mode (8 tools) - Recommended for teams claude mcp add objid @sshadows/objid-mcp --env MCP_MODE=standard # Lite mode (4 tools) - For individual developers claude mcp add objid @sshadows/objid-mcp --env MCP_MODE=lite
That's it! The server will be available in Claude Code immediately.
If you prefer to configure manually, add to your MCP settings JSON:
{ "mcpServers": { "objid": { "command": "npx", "args": ["-y", "@sshadows/objid-mcp"], "env": { "MCP_MODE": "standard" } } } }
{ "mcpServers": { "objid": { "command": "npx", "args": ["-y", "@sshadows/objid-mcp"], "env": { "MCP_MODE": "lite" } } } }
{ "mcpServers": { "objid": { "command": "npx", "args": ["-y", "@sshadows/objid-mcp"], "env": { "MCP_MODE": "standard", "BACKEND_URL": "https://your-backend.azurewebsites.net", "BACKEND_API_KEY": "your-api-key", "LOG_LEVEL": "info" } } } }
authorization - Manage app authorization with backendconfig - Read and write .objidconfig filesallocate_id - Allocate object IDs for AL objectsanalyze_workspace - Analyze workspace structure and appspool - Manage app pools for team collaborationconsumption - Get consumption reports and statisticssync - Synchronize object IDs with backendlog - Retrieve activity logs and audit trailauthorizationManage app authorization with the AL Object ID Ninja backend:
configConfiguration file management:
allocate_idObject ID allocation:
analyze_workspaceWorkspace analysis:
poolApp pool management for teams:
consumptionUsage tracking and reporting:
syncBackend synchronization:
logActivity logging and audit:
| Variable | Description | Default | 
|---|---|---|
MCP_MODE | Server mode: lite or standard | lite | 
BACKEND_URL | Custom backend URL | https://vjekocom-alext-weu.azurewebsites.net | 
BACKEND_API_KEY | API key for custom backend | None (not required for default backend) | 
LOG_LEVEL | Logging level: error, warn, info, debug | info | 
CACHE_ENABLED | Enable response caching | true | 
CACHE_TTL | Cache time-to-live in milliseconds | 300000 (5 minutes) | 
The AL Object ID Ninja MCP Server provides intelligent object ID management for Business Central AL development. It integrates with the AL Object ID Ninja backend to prevent ID collisions, track usage, and enable team collaboration.
# Clone repository git clone https://github.com/SShadowS/objid-mcp.git cd objid-mcp/mcp-server # Install dependencies npm install # Build npm run build # Run tests npm test
npm test # Run test suite npm run test:e2e # Run E2E tests npm run typecheck # TypeScript type checking npm run lint # ESLint npm run prerelease # Full release check
mcp-server/
├── src/v2/
│   ├── server.ts          # Main entry point
│   ├── tools/             # Tool implementations
│   │   ├── lite/          # LITE mode tools
│   │   └── standard/      # STANDARD mode tools
│   └── lib/               # Core libraries
├── tests/v2/              # Test suites
└── dist/v2/               # Compiled output
Contributions are welcome! Please open issues or pull requests for bugs, features, or improvements.
MIT
Based on the original AL Object ID Ninja by Vjekoslav Babić