By sshadows
AL Language Server wrappers for Claude Code - Business Central development
Trending marketplaces
7-day visitors to each marketplace page
npx claudepluginhub sshadows/al-lsp-for-agentsAL language server wrapper (Go) for Windows - includes Code Lens, Call Hierarchy, and unused procedure detection
AL language server wrapper (Go) for Linux - includes Code Lens, Call Hierarchy, and unused procedure detection
AL Language Server wrappers for AI-powered Business Central development. Works with Claude Code, OpenCode, and VS Code (GitHub Copilot agent mode).
| Wrapper | Platform | Description |
|---|---|---|
al-language-server-go-windows | Windows | Recommended - Go wrapper with Code Lens & Call Hierarchy |
al-language-server-go-linux | Linux | Recommended - Go wrapper with Code Lens & Call Hierarchy |
al-language-server-go-darwin | macOS | Recommended - Go wrapper with Code Lens & Call Hierarchy |
al-language-server-python | Cross-platform | Deprecated - Basic LSP features only |
Migration Note: If you're using the Python wrapper, switch to the Go wrapper for your platform to get Code Lens (reference counts) and Call Hierarchy features.
The Go wrappers are compiled binaries with no runtime dependencies. The wrapper automatically finds the newest AL extension version in your VS Code extensions folder.
One-command setup:
Linux:
curl -fsSL https://raw.githubusercontent.com/SShadowS/al-lsp-for-agents/main/scripts/setup-opencode.sh | bash
Windows (PowerShell):
irm https://raw.githubusercontent.com/SShadowS/al-lsp-for-agents/main/scripts/setup-opencode.ps1 | iex
The script downloads the latest binaries, checks for the AL VS Code extension, and configures opencode.json. Run it again to update. Use SCOPE=project to write config to the current directory instead of globally.
Requires Claude Code 2.1.288 or later (
claude --version, update withclaude update). The plugin setsrequestTimeoutso a slow first request on a large project (a cold find-references on the Base Application takes about a minute) isn't cut off at Claude Code's 60-second default. Older versions don't know that field and refuse to load the plugin.
# PowerShell (current session)
$env:ENABLE_LSP_TOOL = "1"
claude
# PowerShell (permanent)
[Environment]::SetEnvironmentVariable("ENABLE_LSP_TOOL", "1", "User")
# Bash
export ENABLE_LSP_TOOL=1
claude
/plugin marketplace add SShadowS/al-lsp-for-agents
/pluginsMarketplacesal-lsp-for-agents marketplaceal-language-server-go-windowsal-language-server-go-linuxal-language-server-go-darwinClaude can use these LSP operations on AL files:
| Operation | Status | Description |
|---|---|---|
goToDefinition | Working | Go to symbol definition |
goToImplementation | Working | Go to implementation |
hover | Working | Get type/documentation info |
documentSymbol | Working | List symbols in file |
findReferences | Working | Find all references |
prepareCallHierarchy | Working | Get call hierarchy item at position |
incomingCalls | Working | Find callers of a procedure |
outgoingCalls | Working | Find calls made by a procedure |
workspaceSymbol | Working | Pass a query; needs Claude Code 2.1.x+ |
symbolRelations | VS Code only | Related symbols (extends/implements/source table/extended-by) |
inspectPage | VS Code only | Page control/action tree (requires nuget al tool) |
symbolRelations and inspectPage are custom wrapper methods. The VS Code extension exposes them as the bclsp_symbolRelations and bclsp_inspectPage tools. Claude Code's LSP tool only offers the fixed operations above, so Claude can't call them there.
Older Claude Code versions hardcoded an empty query for workspaceSymbol, so it always returned 0 symbols (anthropics/claude-code#17149). Fixed client-side in Claude Code 2.1.x — pass a search term and it works.
On older clients, use documentSymbol (per-file symbols) or Grep as fallbacks. See KnownIssues.md for full details.
7-day visitors to each marketplace page
Anthropic example skills
Anthropic's Claude Code plugins, installed from the claude-plugins-official repository
Ultra-compressed communication mode. Shortens prose while preserving technical terms, code, commands, and exact errors.