AL Object ID Ninja MCP Server
MCP server for AL Object ID management in Microsoft Dynamics 365 Business Central development. It provides intelligent object ID allocation, collision prevention, and team collaboration features.
README
AL Object ID Ninja MCP Server
MCP (Model Context Protocol) server for AL Object ID management in Microsoft Dynamics 365 Business Central development.
🚀 Quick Start
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.
📝 Manual MCP Configuration
If you prefer to configure manually, add to your MCP settings JSON:
Standard Mode (Recommended)
{
"mcpServers": {
"objid": {
"command": "npx",
"args": ["-y", "@sshadows/objid-mcp"],
"env": {
"MCP_MODE": "standard"
}
}
}
}
Lite Mode
{
"mcpServers": {
"objid": {
"command": "npx",
"args": ["-y", "@sshadows/objid-mcp"],
"env": {
"MCP_MODE": "lite"
}
}
}
}
Custom Backend
{
"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"
}
}
}
}
🛠️ Available Tools
LITE Mode (4 tools)
authorization- Manage app authorization with backendconfig- Read and write .objidconfig filesallocate_id- Allocate object IDs for AL objectsanalyze_workspace- Analyze workspace structure and apps
STANDARD Mode (8 tools - includes all LITE tools plus)
pool- Manage app pools for team collaborationconsumption- Get consumption reports and statisticssync- Synchronize object IDs with backendlog- Retrieve activity logs and audit trail
📋 Tool Details
Core Tools (LITE Mode)
authorization
Manage app authorization with the AL Object ID Ninja backend:
- Check authorization status
- Authorize apps with backend
- Manage authorization keys
config
Configuration file management:
- Read .objidconfig files
- Write configuration changes
- Manage AL object ID ranges
allocate_id
Object ID allocation:
- Get next available object ID
- Support for all AL object types
- Range-aware allocation
analyze_workspace
Workspace analysis:
- Scan for AL apps
- Detect configurations
- Analyze project structure
Team Collaboration Tools (STANDARD Mode)
pool
App pool management for teams:
- Create app pools
- Join existing pools
- Leave pools
- Get pool information
consumption
Usage tracking and reporting:
- Get detailed consumption statistics
- Track ID usage over time
- Generate usage reports
sync
Backend synchronization:
- Sync object IDs with backend
- Check synchronization status
- Force synchronization
log
Activity logging and audit:
- Retrieve activity logs
- Filter by event type, user, or date
- Audit trail for compliance
🔧 Configuration Options
Environment Variables
| 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) |
📦 About
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.
Features
- Collision Prevention - Automatic ID conflict detection
- Team Collaboration - Shared ID pools for teams
- Usage Tracking - Comprehensive consumption reports
- Git Integration - Automatic app identification via Git
- Zero Configuration - Works out-of-the-box with default backend
Related Projects
Development
Building from Source
# 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
Testing
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
Project Structure
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
Contributing
Contributions are welcome! Please open issues or pull requests for bugs, features, or improvements.
License
MIT
Author
Based on the original AL Object ID Ninja by Vjekoslav Babić
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。