Best for
- AI-assisted development for Dynamics 365 Finance & Operations
- X++ developers looking to reduce compilation errors
- Teams using Claude Code, GitHub Copilot, or Cursor
This server provides strong tooling to ground AI code generation in real metadata, aiming to dramatically reduce compilation errors and improve code quality in X++. It offers features like pattern validation, safe writes, and security tracing. However, it requires a live D365FO environment and Node.js 24+, and has a steep learning curve.
This MCP server pre-indexes your entire D365FO installation (580,000+ symbols across standard, ISV, and custom models) and exposes it via 26 specialized MCP tools. It ensures AI-generated code is based on real method signatures, fields, labels, and form patterns, reducing compilation errors and hallucinated code. It supports guided form pattern development, safe metadata writes, SDLC integration (MSBuild, DB sync, best practices), and a queryable X++ knowledge base.
On a D365FO VM, run as Administrator in PowerShell: irm https://raw.githubusercontent.com/dynamics365ninja/d365fo-mcp-server/main/install.ps1 | iex. Alternatively, if Node.js 24+ is installed, run npm install -g d365fo-mcp and d365fo-mcp setup. For a shared server, run npx d365fo-mcp connect https://your-server.azurewebsites.net.