d365fo-mcp-server
View on GitHubExposes MCP tools that prove every method, field, label and form pattern against your real metadata before the AI writes code.
MCP server exposing 20 tools over an index of 580K+ D365FO X++ symbols (classes, tables, forms, EDTs, labels, security). It grounds AI assistants like GitHub Copilot and Claude Code by proving every method, field, label and form pattern against your real metadata before code is written.
Use Cases
Ground X++ method and field signatures against real D365FO metadataFind existing Chain of Command (CoC) wrappers before writing extensionsGenerate D365FO forms validated against Microsoft form pattern catalogResolve @SYS/@MODULE label keys instead of hardcoding stringsTrace role to duty to privilege security chainsValidate generated X++ references and syntax before writing to diskRun MSBuild compilation and DB sync from chatRun SysTestRunner tests via AI assistantsIndex ISV and custom models for codebase-aware AI completionDeploy a shared metadata MCP server on Azure Blob StoragePrevent hallucinated APIs in D365FO customizationsQuery X++ knowledge base for posting engine, number sequences, ER
Built With
- Language
- TypeScript
- Frameworks
- Model Context Protocol SDK · Node.js · TypeScript · esbuild · Vitest · Biome · .NET/C# bridge · Azure App Service · Azure Bicep · PowerShell · MSBuild
Tags
mcp · mcp-server · d365fo · xpp · dynamics-365 · erp · code-completion · grounding · metadata-index · github-copilot · claude-code · typescript · azure · fts5 · form-patterns · code-generation