Model Context Protocol (MCP) server providing intelligent AL (Application Language) code assistance for Microsoft Dynamics 365 Business Central development.
2026-11-14
Sao
—
Công cụ
—
Thời gian hoạt động
—
Give AI assistants complete visibility into your AL dependencies and symbols.
What This Solves
AI coding assistants can't see compiled AL packages or understand Business Central object relationships. This creates a blind spot when helping with AL development.
The AL MCP Server bridges this gap by exposing your AL workspace's compiled symbols (.app files) directly to AI assistants through the Model Context Protocol.
Field-level reference tracking across all object types
Optional context for detailed reference information
al_search_object_members
Unified search for object child elements
Search procedures, fields, controls, or dataitems
Wildcard pattern matching support
Pagination and detail level control
al_get_object_summary
Get intelligent categorized overview of objects
Organizes procedures by purpose (validation, posting, utilities, etc.)
Identifies key entry points automatically
Highly token-efficient categorized output
Package Management
al_packages
Unified package management with action parameter
Load: Auto-discover and load packages from project root
List: Show all currently loaded packages
Stats: Database statistics and object counts
Capabilities
Smart Object Discovery
Search across all loaded AL packages simultaneously
Wildcard pattern matching for flexible queries
Filter by object type, package, or business domain
Auto-discovery of .alpackages directories
Deep Code Analysis
Complete object definitions with all metadata
Procedure and field information with properties
Page control structure analysis
Report/query dataitem traversal
Reference Tracking
Find all object references and dependencies
Track object extensions and customizations
Field-level usage analysis across pages, tables, reports
Variable and parameter tracking in codeunits
Business Domain Intelligence
Search by business area (Sales, Purchasing, Finance, Inventory, Manufacturing, Service)
Pattern-based domain detection
Cross-package domain analysis
Architecture
AL MCP Server
├── Symbol Extraction Layer
│ └── AL CLI integration for .app file parsing
├── Streaming Parser
│ └── Efficient handling of large symbol files (50MB+)
├── In-Memory Database
│ └── Optimized indices for sub-100ms queries
├── MCP Protocol Handler
│ └── JSON-RPC communication with AI assistants
└── Auto-Discovery Engine
└── Smart .alpackages directory detection
Performance Features:
Lazy initialization - packages load on first request
Streaming JSON parsing prevents memory issues
Multiple optimized indices for O(1) lookups
Version filtering uses latest package only
Token-optimized responses reduce AI context usage
Requirements
Runtime:
Node.js 18 or higher
.NET SDK 8.0 or higher
NuGet package source (nuget.org)
Project Structure:
AL workspace with app.json
Compiled .app packages in .alpackages directory
Supported AL Packages:
Modern namespace-based packages
Legacy non-namespace packages (PTEs)
Business Central base application
AppSource extensions
The server analyzes compiled AL symbols, not raw .al source files.
"Show me all Sales-related codeunits"
"Find all references to the Customer table"
"What procedures are in the Sales-Post codeunit?"
"Search for all pages that use the Item table"
"Give me a summary of the Gen. Journal-Post Batch codeunit"
The AI assistant will use the MCP tools to provide accurate, context-aware responses based on your actual AL packages.
Model Context Protocol (MCP) server providing intelligent AL (Application Language) code assistance for Microsoft Dynamics 365 Business Central development.
Chưa có danh sách công cụ. Máy chủ từ xa sẽ có danh sách sau lần kiểm tra tình trạng đầu tiên.
Câu hỏi thường gặp
Câu hỏi
Làm thế nào để cài đặt Al?
Sao chép cấu hình stdio cho Cursor, Claude Desktop, Claude Code hoặc VS Code trên trang này. Cấu hình dùng bản cài đặt của nhà phát hành, không phải proxy của PlugMCP.
Al có cần khóa API không?
Bản ghi này không liệt kê biến môi trường bắt buộc nào.
Al dùng giao thức truyền tải nào?
Al chạy cục bộ qua stdio.
Al được kiểm tra lần cuối khi nào?
Kiểm tra lần cuối: 2026-11-14. Model Context Protocol (MCP) server providing intelligent AL (Application Language) code assistance for Microsoft Dynamics 365 Business Central development.