AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
MCP verified MIT Self-run

ALCops Mcp Server

mcp-alcops-mcp-server · by ALCops

MCP server that brings ALCops AL code analyzers to AI assistants like Claude and Cursor

No reviews yet
0 installs
28 views
0.0% view→install

Install

$ agentstack add mcp-alcops-mcp-server

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/mcp-alcops-mcp-server)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude DesktopCursorWindsurf

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of ALCops Mcp Server? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

ALCops MCP Server

[](https://www.nuget.org/packages/ALCops.Mcp) [](https://www.nuget.org/packages/ALCops.Mcp) [](https://github.com/ALCops/mcp-server/actions) [](LICENSE)

An MCP server that brings ALCops AL code analysis to AI assistants. Lets Claude, Cursor, and other MCP clients analyze Business Central AL projects, browse rules, and apply code fixes — all without leaving the conversation.

Quick Start

Install as a .NET global tool:

dotnet tool install -g ALCops.Mcp

Add to your .mcp.json (Claude Code) or claude_desktop_config.json (Claude Desktop):

{
  "mcpServers": {
    "alcops": {
      "command": "alcops-mcp"
    }
  }
}

That's it. If you have the AL Language VS Code extension installed, the server picks up the BC Development Tools automatically.

Requirements

> Note: AL Language v16 and earlier are not supported. The BC Development Tools DLLs introduced breaking API changes in v17 that are not backwards compatible. AL Language v18+ requires .NET 10.

Tools

4 tools, ~1,020 tokens of schema overhead.

| Tool | Description | |------|-------------| | analyze | Run analyzers on an AL project or file. Returns diagnostics with severity, location, and code fix availability. | | list_rules | List all available analyzer rules with metadata (ID, title, severity, category, cop). | | get_fixes | Get available code fixes for a specific diagnostic at a location. | | apply_fix | Apply a code fix and return the modified source — does not write to disk. |

Analyzers

The server always includes ALCops' 6 built-in cops:

| Cop | Prefix | Description | |-----|--------|-------------| | ApplicationCop | AC | Correct modeling and behavior of BC objects | | DocumentationCop | DC | Documentation quality and completeness | | FormattingCop | FC | Stylistic and syntactic consistency | | LinterCop | LC | Code smells, maintainability, best practices | | PlatformCop | PC | AL language and runtime semantic correctness | | TestCop | TC | Test codeunit structure and correctness |

Additionally, the server can load BC standard analyzers (${CodeCop}, ${UICop}, ${PerTenantExtensionCop}, ${AppSourceCop}) and third-party analyzers — auto-discovered from al.codeAnalyzers in .vscode/settings.json, or passed explicitly via the analyzers tool parameter.

Browse the complete rules reference at alcops.dev/docs/analyzers.

BC DevTools Resolution

The server needs Microsoft BC Development Tools at runtime (not bundled due to licensing). On startup it searches, in order:

  1. BCDEVELOPMENTTOOLSPATH environment variable
  2. AL Language VS Code extension
  3. Local cache (~/.alcops/cache/devtools/)
  4. .NET global tools cache
  5. Auto-download from NuGet (first run only)

Most users have the AL extension installed, so no extra setup is needed.

Contributing

Contributions are welcome! Whether it's a new tool, a bug report, or a pull request — all input helps.

  • 🐛 Report a bug — File an Issue
  • 🔧 Submit a PR — Fork the repo, create a branch, and open a pull request

License

This project is licensed under the [MIT License](LICENSE).

Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.