
AL
STDIOMCP server providing AL code assistance for Microsoft Dynamics 365 Business Central development
MCP server providing AL code assistance for Microsoft Dynamics 365 Business Central development
Bridge the gap between AL development and AI coding assistance.
AI assistants are "blind" to AL dependencies and symbols. When working with Microsoft Dynamics 365 Business Central AL code, AI assistants cannot see:
Without this visibility, AI assistants can't provide effective AL development help.
The AL MCP Server makes AL dependencies and symbols visible to AI coding assistants.
This MCP (Model Context Protocol) server exposes compiled AL packages (.app files) and their symbol information directly to AI assistants, enabling them to:
Transform your AL development workflow with AI that truly understands your codebase.
Verify your setup:
# Check .NET version (should be 8.0 or higher) dotnet --version # Check NuGet sources (should include nuget.org) dotnet nuget list source
That's it! The AL MCP Server installs automatically via npx
- no manual installation needed.
Choose your AI assistant and add this MCP server configuration:
Installation Command: npx al-mcp-server
Quickest: Use the command line:
claude mcp add al-mcp-server -- npx al-mcp-server
Alternative 1: Via VS Code Settings UI
al
, Command: npx
, Args: ["al-mcp-server"]
Alternative 2: Via settings.json
{ "claude.mcpServers": { "al-symbols-mcp": { "command": "npx", "args": ["al-mcp-server"] } } }
Create .vscode/mcp.json
in your AL workspace:
{ "servers": { "al-symbols-mcp": { "type": "stdio", "command": "npx", "args": ["al-mcp-server"] } } }
Add to Cursor settings (Settings → Features → Model Context Protocol):
{ "al-symbols-mcp": { "command": "npx", "args": ["al-mcp-server"] } }
Add to ~/.continue/config.json
:
{ "mcpServers": { "al-symbols-mcp": { "command": "npx", "args": ["al-mcp-server"] } } }
Add to VS Code settings:
{ "cody.mcpServers": { "al-symbols-mcp": { "command": "npx", "args": ["al-mcp-server"] } } }
Use these connection details:
npx
["al-mcp-server"]
stdio
(if required)After configuration, test with your AI assistant:
Can you search for Customer tables in my AL project?
The server will automatically start and provide AL development assistance!
Once configured, your AI assistant gains complete visibility into your AL environment and becomes an AL development expert with access to:
What You Need:
.alpackages
directory)What Gets Installed Automatically:
The server analyzes compiled AL symbols, not raw .al source files.
Common Issues:
dotnet nuget add source https://api.nuget.org/v3/index.json -n nuget.org
dotnet nuget list source
should show nuget.org.app
files in .alpackages
directoryNeed Help?
The AL MCP Server uses a multi-layer architecture for efficient AL symbol analysis:
AL MCP Server
├── Symbol Extraction (AL CLI integration)
├── Streaming Parser (handles 50MB+ files efficiently)
├── In-Memory Database (optimized indices for fast queries)
├── MCP Protocol Handler (JSON-RPC communication)
└── Auto-Discovery (smart .alpackages detection)
📋 Full changelog: See CHANGELOG.md for complete release history
MIT License - see LICENSE file for details.
Stop working with "blind" AI assistants. Give them the AL symbol visibility they need to truly help your development.