Exposes MCP tools that prove every method, field, label and form pattern against your real metadata before the AI writes code.
// readme
D365 F&O MCP Server
22 AI tools that know every X++ class, table, form, and EDT in your D365FO codebase
Grounded AI development for Dynamics 365 Finance & Operations β works with GitHub Copilot and Claude Code
These connect an editor to a server that is already deployed β see Quick Start if you still need to set one up.
Why
AI assistants excel at C#, Python, and JavaScript. X++ is different: your D365FO codebase is private, deeply customized, and invisible to every model β so AI confidently generates code that doesnβt compile.
This server pre-indexes your entire D365FO installation (580 000+ symbols across standard, ISV, and custom models) and exposes it as 22 specialized MCP tools (axdb_sql and trace_d365fo only once configured). Every signature, every CoC wrapper, every label, every form pattern β verified against your real metadata before the AI writes a single line.
| Task | Without this server | With this server |
|---|---|---|
| Method signatures | Guessed β compile errors | Exact, from your codebase |
| Existing CoC wrappers | Manual AOT search | extension_info(mode="coc") in < 50 ms |
| β¦ |