AL Dependency

v2.5.0Developer Toolsstable

MCP server for al dependency mcp server

aldynamicsbusiness-centralmcpmodel-context-protocol
Share:
72
Stars
0
Downloads
0
Weekly
0/5

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

Manage AL (Business Central) project dependencies.
Support coding assistants for Business Central development.
StefanMaron

Maintainer

LicenseMIT
Languagetypescript
Versionv2.5.0
UpdatedMay 6, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

NPM

npx -y al-mcp-server

Manual Installation

npx -y al-mcp-server

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

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
1

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-server
2

Or 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"]
    }
  }
}
3

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"]
    }
  }
}
4

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.

5

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.

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.

Quick Config Preview

{ "mcpServers": { "al-dependency-mcp-server": { "command": "npx", "args": ["-y", "al-mcp-server"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

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.

33,000+ ServersFree & Open SourceStep-by-Step Guides