SA

stefanmaron/al-dependency-mcp-server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

79 stars 17 forks 质量 61 趋势 0

stefanmaron/al-dependency-mcp-server 是从 https://github.com/stefanmaron/al-dependency-mcp-server. 导入的 MCP 服务器候选

概览

stefanmaron/al-dependency-mcp-server 是从 https://github.com/stefanmaron/al-dependency-mcp-server. 导入的 MCP 服务器候选

概述(AI 翻译)

让AI助手全面了解你的AL依赖关系和符号。

这解决了什么

AI编码助手无法看到已编译的AL包,也无法理解Business Central对象关系。这在帮助AL开发时形成了盲点。

AL MCP 服务器通过模型上下文协议(Model Context Protocol)直接向 AI 助手开放 AL 工作区编译后的符号(.app 文件)来弥合这一空白。

快速启动

先决条件

  • Node.js 18+(下载)
  • .NET SDK 8.0+(下载)
  • 编译后的AL包(.alpackages目录中的.app文件)

请验证你的设置:

AL MCP 服务器通过 npx 自动安装——无需手动安装。

配置你的AI助手

克劳德代码(推荐)

或者通过VS Code设置:

GitHub 副驾驶

在您的工作区创建.vscode/mcp.json:

光标IDE

添加到光标设置(设置→功能→模型上下文协议):

继续(VS 代码扩展)

添加到~/.continue/config.json:

科迪(Sourcegraph)

添加到VS代码设置:

其他兼容MCP的工具

请使用这些连接信息:

  • 命令:npx
  • Args: ["al-mcp-server"]

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

AL MCP Server

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.

Quick Start

Prerequisites

  • Node.js 18+ (download)
  • .NET SDK 8.0+ (download)
  • Compiled AL packages (.app files in .alpackages directory)

Verify your setup:

dotnet --version  # Should show 8.0 or higher

The AL MCP Server installs automatically via npx - no manual installation needed.

Configure Your AI Assistant

claude mcp add al-mcp-server -- npx al-mcp-server

Or via VS Code settings:

{
  "claude.mcpServers": {
    "al-symbols-mcp": {
      "command": "npx",
      "args": ["al-mcp-server"]
    }
  }
}

GitHub Copilot

Create .vscode/mcp.json in your workspace:

{
  "servers": {
    "al-symbols-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": ["al-mcp-server"]
    }
  }
}

Cursor IDE

Add to Cursor settings (Settings → Features → Model Context Protocol):

{
  "al-symbols-mcp": {
    "command": "npx",
    "args": ["al-mcp-server"]
  }
}

Continue (VS Code Extension)

Add to ~/.continue/config.json:

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

Cody (Sourcegraph)

Add to VS Code settings:

{
  "cody.mcpServers": {
    "al-symbols-mcp": {
      "command": "npx",
      "args": ["al-mcp-server"]
    }
  }
}

Other MCP-Compatible Tools

Use these connection details:

  • Command: npx
  • Args: ["al-mcp-server"]
  • Type: stdio

Test It Works

Ask your AI assistant:

Search for Customer table in my AL project

The server will auto-start and provide intelligent AL assistance!

在 GitHub 查看完整 README

安装

npx al-mcp-server
新手?先看 mcpskill.org 教程 →

配置

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