AL Dependency
MCP server for al dependency mcp server
What is AL Dependency?
AL Dependency is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp server for al dependency mcp server
MCP server for al dependency mcp server
This server falls under the Developer Tools category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- MCP server for al dependency mcp server
Use Cases
Maintainer
Works with
Installation
NPM
npx -y al-mcp-serverManual Installation
npx -y al-mcp-serverConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use AL Dependency
The AL Dependency MCP Server gives AI coding assistants deep knowledge of Microsoft Dynamics 365 Business Central AL projects by exposing search, navigation, and analysis tools for AL objects, fields, procedures, and cross-package references. It lets developers ask natural language questions about their BC codebase — such as finding all references to a table or listing every codeunit in a business domain — without leaving their IDE. The server integrates with Claude Code, GitHub Copilot, Cursor, Continue, and Cody through standard MCP configuration.
Prerequisites
- Node.js 18 or later installed (npx is used to run the server)
- A Microsoft Dynamics 365 Business Central AL project with compiled .app packages or AL source available
- An MCP client: Claude Code CLI, VS Code with GitHub Copilot, Cursor IDE, or Continue extension
- Familiarity with AL object types (Table, Page, Codeunit, Report, etc.) to write effective queries
Install the server via Claude Code CLI
The quickest way to add the AL MCP server to Claude Code is with the mcp add command, which registers it automatically.
claude mcp add al-mcp-server -- npx al-mcp-serverOr configure manually in claude_desktop_config.json
If using Claude Desktop or another client, add the server entry to your MCP config file manually.
{
"mcpServers": {
"al-dependency": {
"command": "npx",
"args": ["-y", "al-mcp-server"]
}
}
}Configure for VS Code with GitHub Copilot
Add a .vscode/mcp.json file in your AL project workspace to enable the server for Copilot users on your team.
{
"servers": {
"al-dependency": {
"command": "npx",
"args": ["al-mcp-server"]
}
}
}Load AL packages into the server
Use the al_packages tool with action 'Load' to point the server at your compiled .app files or AL source directory so it can index objects and build the dependency graph.
Search objects and explore dependencies
Once packages are loaded, use the six available tools to search objects, retrieve definitions, find cross-package references, and generate object summaries through natural language prompts.
AL Dependency Examples
Client configuration
Add al-mcp-server to Claude Desktop configuration. No environment variables are required.
{
"mcpServers": {
"al-dependency": {
"command": "npx",
"args": ["-y", "al-mcp-server"]
}
}
}Prompts to try
Use these prompts with your AI assistant once the AL packages are loaded into the server.
- "Show me all Sales-related codeunits across loaded packages"
- "Find all references to the Customer table in the base application"
- "What procedures are defined 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"
- "List all packages currently loaded in the AL MCP server"Troubleshooting AL Dependency
npx al-mcp-server exits immediately with no output
Ensure Node.js 18 or later is installed (`node --version`). If using an older Node version, upgrade from https://nodejs.org. Also confirm internet access is available for npx to download the package on first run.
al_search_objects returns no results after loading packages
Confirm the packages were loaded successfully by calling al_packages with action 'List' to see what is indexed. If the list is empty, call al_packages with action 'Load' pointing at the correct .app file or directory path.
References found in wrong package or missing cross-package links
Load all relevant dependent packages (base application, system application, and your extensions) into the server. The reference tracker can only find cross-package links for packages that have been loaded.
Frequently Asked Questions about AL Dependency
What is AL Dependency?
AL Dependency is a Model Context Protocol (MCP) server that mcp server for al dependency mcp server It connects AI assistants to external tools and data sources through a standardized interface.
How do I install AL Dependency?
Install via npm with the command: npx -y al-mcp-server. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).
Which AI clients work with AL Dependency?
AL Dependency works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is AL Dependency free to use?
Yes, AL Dependency is open source and available under the MIT license. You can use it freely in both personal and commercial projects.
AL Dependency Alternatives — Similar Developer Tools Servers
Looking for alternatives to AL Dependency? Here are other popular developer tools servers you can use with Claude, Cursor, and VS Code.
Ecc
★ 188.2kThe agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Javaguide
★ 155.8kJava 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Gemini CLI
★ 104.5kA secure MCP server that wraps the Google Gemini CLI, allowing clients to query Gemini models using local OAuth sessions without requiring an API key. It provides tools for model interaction and diagnostics with built-in protection against command in
Awesome MCP Servers
★ 87.3k⭐ Curated list of Model Context Protocol (MCP) servers - tools that extend Claude Desktop, Cursor, Windsurf, and other MCP clients with custom capabilities.
MCP Servers
★ 86.0kModel Context Protocol Servers
CC Switch
★ 77.5kA cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Gemini CLI & Hermes Agent. Only official website: ccswitch.io
Browse More Developer Tools MCP Servers
Explore all developer tools servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up AL Dependency in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use AL Dependency?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.