D365 F&O MCP Server
This server provides grounded D365FO/X++ development support: indexed discovery, code generation/writes, validation, build/test, and knowledge lookups.
Search pre-indexed D365FO objects, labels, and references; batch queries and filter to custom/ISV models.
Read metadata for classes, tables, forms, enums, EDTs, extensions, security artifacts, and workspace/project config.
Analyze existing code patterns, implementations, completeness gaps, and API usage; get table/form pattern recommendations and validation.
Inspect CoC/event extensibility, security role/duty/privilege chains, and validate proposed object names.
Retrieve X++ knowledge, compiler/runtime error fixes, operation specs, and BP moniker validation/suppression.
Validate generated X++/XML references and best practices; prepare grounded context/tokens before writes.
Generate scaffolds/patterns and create, modify, delete, undo, or project-register AOT objects; update the symbol index.
Build models, run best-practice checks and SysTest classes, and verify project objects exist and are referenced.
Provides 54 specialized tools for GitHub Copilot to interact with a D365FO codebase, enabling instant lookup of class signatures, table relations, EDT definitions, CoC extensions, menu items, security coverage, labels, and more, directly within Copilot's agent mode in Visual Studio.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@D365 F&O MCP Server Find CoC extensions for CustTable.insert()"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
D365 F&O MCP Server
Grounded AI development for Dynamics 365 Finance & Operations
23 MCP tools that know every X++ class, table, form, EDT and label in your D365FO codebase — so GitHub Copilot and Claude Code write X++ that compiles.
The install buttons connect an editor to a server that is already deployed — no server yet? Start with the Quick start.
Quick start · How it works · What to ask · Tools · Docs · Changelog
💡 Why
AI assistants are excellent at C#, Python and JavaScript. X++ is different: your D365FO codebase is private, deeply customized and invisible to every model — so the AI confidently writes code against methods, fields and labels that do not exist, and it does not compile.
This server pre-indexes your whole D365FO installation — 580 000+ symbols across standard, ISV and custom models, plus 20M+ label rows — and puts it behind MCP tools. Every signature, every existing CoC wrapper, every label and every form pattern is checked against your metadata before the AI writes a line, and a write that cannot be proven is refused.
Without this server | With this server | |
Method signatures | Guessed → compile errors | Exact, read from your codebase |
Existing CoC wrappers | Manual AOT search |
|
New forms | Hand-written XML, broken patterns | Cloned from a reference form, validated against the platform's pattern rules |
Labels | Hardcoded strings | The right existing |
Security chains | Hours of manual tracing | Role → Duty → Privilege → Entry point in one call |
Generated code | Hallucinated fields and types | Every reference proven against the index, gated before write |
Related MCP server: Dynamics 365 Finance & Operations MCP Server
🧭 How it works
Index — the server extracts your AOT metadata once into two SQLite databases (symbols and labels, FTS5 search in < 10 ms). On a D365FO VM the C# metadata bridge adds live reads through Microsoft's own
IMetadataProviderand compiler-resolved cross-references fromDYNAMICSXREFDB.Ground — before the agent writes anything,
preparehands it the real signatures, existing extensions, naming rules and a short-lived grounding token for the target object.Gate —
validate_codeproves every type, field, method and label in the generated code and checks the best-practice rules; forms are also checked against the platform's pattern rules. Writes are fail-closed: anything unproven is blocked and the agent gets structured fixes.Build — the write lands through the bridge (or a validated XML writer where the provider cannot express the object), is added to your
.rnrproj, and can be compiled, BP-checked, synced and unit-tested from the same chat.
A typical change, end to end:
flowchart LR
ask(["💬 Your prompt"]) --> prep["<b>prepare</b><br/>signatures · existing CoC<br/>grounding token"]
prep --> gen["Agent writes X++"]
gen --> val{"<b>validate_code</b><br/>references + BP"}
val -- "unproven identifier<br/>or BP error" --> gen
val -- "all proven" --> write["<b>d365fo_file</b><br/>write + .rnrproj"]
write --> build["<b>build_d365fo_project</b><br/>xppc · BP · DB sync"]
build -- "compile error" --> gen
build -- "green" --> done(["✅ Ready for review"])
classDef gate fill:#bc4c00,stroke:#bc4c00,color:#ffffff
classDef ok fill:#1a7f37,stroke:#1a7f37,color:#ffffff
class val gate
class done okForms are the hardest artifact to generate correctly: each pattern dictates required containers, their order and the allowed sub-patterns. The form pattern engine turns that into a guided pipeline, grounded in pattern statistics mined from your own environment:
flowchart LR
A["<b>object_patterns</b><br/>analyze · recommend"] --> B["<b>object_patterns</b><br/>spec"]
B --> C["<b>generate_object</b><br/>scaffold · cloneFrom"]
C --> D{"<b>object_patterns</b><br/>validate"}
D -- "violations" --> C
D -- "clean" --> E["<b>d365fo_file</b><br/>create + .rnrproj"]
classDef gate fill:#bc4c00,stroke:#bc4c00,color:#ffffff
class D gateViolations the compiler would reject (wrong order, missing container, disallowed control) block the write; recommendations only warn. Patterns without a reference form are expanded deterministically, and a form's missing required controls can be repaired automatically.
🚀 Quick start
From D365FO platform update10.0.49 (PU74), Visual Studio 2026 is the supported IDE for X++ development — Microsoft no longer supports VS 2022 there. Earlier platform versions still use VS 2022 ≥ 17.14. Details
🖥️ Install on your D365FO VM — the usual case
One line in PowerShell installs Node.js if it is missing, installs the server from npm and runs the setup wizard, which asks where the index should live and builds the C# bridge for you:
irm https://raw.githubusercontent.com/dynamics365ninja/d365fo-mcp-server/main/install.ps1 | iexAlready have Node.js 24+? Skip the bootstrap:
npm install -g d365fo-mcp
d365fo-mcp setupRe-running either is safe. An installation made before the npm package existed is a git checkout; both commands leave it where it is and update it in place.
🔌 Connect to a server your team already runs
Nothing to install — point your editor at it (or use the install buttons at the top):
npx d365fo-mcp connect https://your-server.azurewebsites.net☁️ Deploy one shared server for the whole team
The metadata index lives in Blob Storage and downloads automatically on startup.
Full guide, including the Azure DevOps pipelines that keep the index fresh: docs/SETUP_AZURE.md.
Every path ends with theinstruction file (CLAUDE.md / copilot-instructions.md) that
teaches the agent the grounding workflow, and a one-minute check that grounding really works.
Both are in docs/QUICK_START.md — don't skip them.
flowchart LR
agent(["🤖 Copilot · Claude Code"])
subgraph cloud["☁️ Azure · shared, read-only"]
app["App Service<br/>search · knowledge · patterns"]
blob[("Blob Storage<br/>prebuilt index")]
end
subgraph vm["🖥️ Your D365FO VM"]
local["Local server<br/>full or write-only"]
bridge["C# bridge"]
pld[("PackagesLocalDirectory")]
end
pipe["Azure DevOps<br/>extract → build → upload"] --> blob
blob -- "download on startup" --> app
agent -- "search & read" --> app
agent -- "write · build · test" --> local
local --> bridge --> pldMode | Where | What it does |
Full | your D365FO VM | Everything — search, generation, writes, build, tests. The simplest setup. |
Read-only | Azure App Service | Shared index for the whole team; no writes, nothing installed on developer machines. |
Hybrid | Azure + a local write-only companion | The team shares one index in Azure; each developer's VM only writes, builds and tests. |
Scenarios A–F in detail: docs/SETUP.md · server modes and tool profiles: docs/MCP_CONFIG.md.
💬 What to ask
You never name tools — the agent picks them. Ask the way you would ask a colleague who knows the codebase:
You ask | The server |
"Add a CoC wrapper to | Reads the exact signature, lists existing wrappers, proves every reference, writes the extension class |
"Create a table | Checks names for collisions, reuses EDTs, picks the form pattern, creates labels, adds everything to the project |
"Who has access to the | Walks Role → Duty → Privilege → Entry point, including OLS policies |
"Is there a label for 'payment terms'?" | Full-text search over every label file and language, custom models first |
"Where is | Compiler-resolved cross-references from |
"Build the project, run BP and the SysTests" | MSBuild with structured xppc diagnostics, xppbp, SysTestRunner — all from chat |
More real tool chains: docs/USAGE_EXAMPLES.md.
✨ Capabilities
🔍 Full-codebase intelligence | Classes, tables, forms, EDTs, enums, security artifacts and 20M+ labels, indexed with FTS5 — search in < 10 ms. On a D365FO VM, live metadata and compiler cross-references through the C# bridge. |
🛡️ Grounded generation | Fail-closed gates: |
🧩 Form pattern engine | The full catalog of Microsoft form patterns and sub-patterns: recommends a pattern, clones reference forms with datasource re-binding, expands patterns that have no reference form, repairs missing required controls and blocks invalid writes. |
✍️ Safe metadata writes | Through Microsoft's own |
🏷️ Tags on writes |
|
🏗️ SDLC from chat | MSBuild with structured diagnostics, DB sync, xppbp, SysTestRunner. Optional |
📐 X++ knowledge base | Queryable rules for select grammar, CoC authoring, financial dimensions, |
Opt-in tools — off by default and not even published until you configure them:
🗄️ | Read-only, parameterized queries against AxDB on the development VM, so the agent can check what the code actually persisted. Windows authentication, one SELECT validated on the parsed T-SQL tree, always rolled back. Setup |
🗂️ | Pending changes, add/undo/diff and check-in for metadata under TFVC, with work items linked and resolved as Visual Studio does — confined to the active model and project, never the whole PackagesLocalDirectory. Setup |
⏱️ | Captures the AOS's ETW events while a slow scenario is reproduced and shows where the time goes — per X++ method, and which SQL statements run thousands of times from one caller. No timer code added. Setup and accuracy |
🧰 The 23 tools
Several tools are unified behind a discriminator (mode, action, domain, objectType), so the
agent chooses from fewer, broader tools.
Area | Tools |
🔍 Discover |
|
🧠 Understand |
|
🛡️ Ground & validate |
|
✍️ Generate & write |
|
🏗️ Build & verify |
|
🧪 Opt-in diagnostics |
|
Workspaces that already run other MCP servers can set MCP_TOOL_PROFILE=core to publish only the
18-tool create-and-build loop. Every tool, parameter and example prompt:
docs/MCP_TOOLS.md.
No MCP client, or a script? d365fo-mcp call <tool> key=value … runs any of them from a shell
against a running server: Tools from a shell.
🧪 How we keep it honest
Gates prove a single write is grounded. A self-improving eval loop checks that the server as a whole keeps getting better at producing X++ that compiles, is BP-clean and matches the intended metadata — on a real D365FO VM, against captured golden metadata and SysTest oracles.
flowchart LR
impl["<b>Implementer agent</b><br/>runs eval cases on a VM<br/>through the grounded tools"] -- "run records" --> corpus[("Corpus")]
corpus -- "clustered failures" --> imp["<b>Improver agent</b><br/>reproduce → fix → PR"]
imp -- "human review & merge" --> srv["<b>d365fo-mcp</b><br/>tools · knowledge · validators"]
srv -. "next run tests the fix" .-> implThe coverage badges at the top count a topic only when the knowledge base teaches it, an eval case with a captured golden proves it, and the tool path can build it — see eval/COVERAGE.md and docs/AGENT_EVAL_LOOP.md. The loop opens pull requests; humans review and merge them.
📚 Documentation
The full map, grouped by audience: docs/README.md.
Getting started | Reference | Operations |
Quick start — connect or install | ||
Usage examples — real tool chains | ||
Coverage — what the badge counts | ||
Backlog — deferred work | Eval loop — the self-improvement harness |
🤝 Contributing & security
Issues and pull requests are welcome — read CLAUDE.md for the repository conventions (every user-visible change gets a CHANGELOG entry) and docs/NEW_TOOL_CHECKLIST.md before adding a tool. Please report vulnerabilities privately as described in SECURITY.md.
📄 License
Released under the MIT License. By submitting a pull request you agree that your contribution is licensed under the same MIT License.
Available Tools
20 toolsanalyze_codeARead-only
Learn from the existing codebase. Choose a mode:
• patterns → common classes/methods/dependencies for a scenario (call BEFORE generate_object(mode="pattern")).
• implementations → real implementation examples of a similar method (actual code).
• completeness → missing standard methods on a class (find/exist/validate gaps).
• api-usage → how an API/class is initialized and called in practice.
Inputs: mode (required), limit, apiName, context, +6 more.
build_d365fo_projectAIdempotent
Build a D365FO model with xppc.exe (compiles the ENTIRE model, not one project). Blocks until done — call ONCE per build, do NOT poll (wait:false = legacy polling mode). fullBuild:true fixes "not been successfully compiled since it was last changed" stale-symbol errors.
Inputs: wait, force, aosUrl, dbSync, +6 more.
d365fo_fileADestructive
D365FO AOT object files and VS projects. Choose an action:
• create → write a NEW object file into PackagesLocalDirectory (auto-added to .rnrproj). THE WRITE STEP — incomplete until isError=false; ⚠️/❌ = failure. Extensions: objectName="Base.PrefixExtension".
• project → VS project + .sln ops via params.operation: create|delete (confirm first)|add-object|remove-object.
• modify → edit an EXISTING object. APPLIES IMMEDIATELY, no dry-run — confirm with the user first; revert with action="undo". Needs operation.
• delete → remove an object's XML from disk AND un-register it from every .rnrproj listing it. IRREVERSIBLE — confirm with the user first.
• undo → roll back filePath: git-tracked → git checkout HEAD, which discards ALL uncommitted changes to that file, not just the last edit; untracked/outside git → deleted only if created this session.
• generate → XML as TEXT only, no write (Azure/Linux fallback). Try create first. The rest need Windows.
📖 Parameters are NOT inlined here: get_knowledge(kind="op-spec", topic=""|"") returns its contract — pass its values nested in params (modify) / properties (create), along with any packageName/packagePath/solutionPath/workspacePath override.
Model + prefix auto-applied.
Inputs: action (required), params, filePath, modelName, +12 more.
extension_infoARead-only
D365FO extensibility analyzer. Choose a mode:
• coc → Chain of Command extensions + event subscriptions for a class/table. Use before writing a CoC extension to check for conflicts.
• events → event handler subscriptions (SubscribesTo, delegate +=) for a class/table. Use before adding handlers to check for duplicates.
• table-merge → all extensions of a table across models + effective merged schema (base + extension fields/indexes/methods).
• points → available extension points (CoC-eligible/replaceable methods, delegates, blocked methods) and which are already extended.
• strategy → recommends the best extensibility mechanism for a goal (CoC, event handler, business event, data entity, …) with reasoning, risks, alternatives, next steps.
Inputs: mode (required), goal, method, target, +6 more.
find_referencesARead-only
Find all references (where-used) to a class, method, field, table, enum, EDT, or LABEL. For a method, SCOPE it to its declaring type — pass "Owner.method" (e.g. "SalesTable.initFromSalesQuotationTable"), set ownerName alongside a bare method name, or pass an AOT path ("/Tables/SalesTable/Methods/initFromSalesQuotationTable"). A bare method name (no owner) matches that name on every type and over-reports. For a label, pass the label id as targetName (e.g. "@WAX2194" or "@MyLabelFile:MyLabel"); results span every referencing object type (tables, forms, EDTs, enums, reports, menu items, …), not just code, and require the xref database (DYNAMICSXREFDB, full server mode).
Inputs: targetName (required), limit, ownerName, targetType.
generate_objectA
Generate X++/AOT code. Choose a mode:
• pattern → a named X++ skeleton from the pattern enum (text only, no write). Call analyze_code(mode="patterns") first, then generate_object(mode="pattern"), then d365fo_file(action="create").
• scaffold → pattern-aware whole-object generation (table/form/report) with intelligent field/index/relation or form-pattern suggestions; set objectType.
• find-methods → find()/findRecId()/exists() for a table (text), keyed on its primary/unique index.
• relation-xpp → a table's relation(s) → X++ select + QueryBuildRange (text).
• fields → field names → AxTableField XML with auto-resolved EDTs + optional field group.
• table-relation → EDT-referencing fields → AxTableRelation XML (inverse of relation-xpp).
📖 Mode parameters are NOT inlined here: get_knowledge(kind="op-spec", topic="") — "scaffold:table"/"scaffold:form"/"scaffold:report" for the scaffolds — returns the contract; pass its values nested in params.
For a single existing object definition's XML use d365fo_file(action="generate") instead.
Inputs: mode (required), name, params, pattern, +2 more.
get_knowledgeARead-only
X++ knowledge lookup. Choose a kind:
• knowledge → queryable X++ rulebook: verified patterns, BP rules, AX2012→D365FO migration. Use BEFORE generating code. Topics incl.: select-statement, coc-authoring, bp-rules, sysoperation, event-handlers, workflow, number-sequences, security, sysda, form patterns.
• error → diagnose a D365FO/X++ compiler or runtime error: structured root cause + step-by-step fix + corrected X++ example (TTS mismatch, UpdateConflict, CSUV1, SYS10028 missing next, overlayering, BP errors, …). Call this instead of guessing — X++ error semantics differ from C#/.NET.
• op-spec → the parameter contract for ONE d365fo_file operation/objectType or ONE generate_object mode (topic = "add-index", "table", "scaffold:form", …). Those two tools deliberately do not ship their parameters inline; call this after picking the operation, before the call. Omit topic for the index of available topics.
• bp-moniker → validate an exact BP-check moniker, search by scenario when you have no moniker yet, or render a _BPSuppressions.xml block. Backed by names/text extracted from a real D365FO install — never invents a moniker.
Inputs: kind, path, topic, action, +6 more.
get_object_infoARead-only
Read D365FO object metadata. For 2+ objects pass objects:[{objectType,objectName},…] (max 10) — ONE call, run in parallel, per-object sections back; never loop single calls. One object: {objectType, name}. Pick the kind via objectType: class, table, form, query, view, enum, edt, report, data-entity, menu-item, menu, service, map, config-key, security-policy, macro, model. The *-extension types list all extensions of a base object — pass the base object name or a full extension name (the dot suffix is stripped automatically). Type-specific flags go in options. For CLASSES, {"members":"names"} (optional {"prefix":...}) returns a fast IntelliSense-style member-name list instead of full metadata.
Inputs: name, objects, options, objectType.
get_workspace_infoARead-only
ALWAYS call FIRST at session start. Returns model name, package path, framework directory, project path, environment type, and EXTENSION_PREFIX. Flags placeholder model names and missing prefix. Pass projectName/projectPath when you have the project's name or path. Authoritative source for target model — not search results.
Inputs: changes, diagnostics, projectName, projectPath.
labelsADestructive
Unified label operations — read and write. Writing an object? d365fo_file create/modify already turn a raw-text label/fieldLabel into a real @Ref by themselves; no call here is needed. Choose an action:
• search → full-text query across indexed label files. Never needed before a create.
• info → all translations for a labelId; without labelId lists label files (with labelFileId: physical .label.txt path per language).
• list → page one label file's labels; idPrefix/comment/missingLanguage/offset go in params.
• create → add a label to an AxLabelFile across every language .label.txt (write). ALWAYS pass createIfMissing=true: it creates when absent and reuses when present, so this ONE call replaces search-then-create. Bulk: labels:[{labelId, translations}, …] with shared labelFileId/model at top level does a whole object in one call. Label IDs describe MEANING — never a model prefix; target the model's ORIGINAL label file, never an …_Extension… one.
• update → overwrite the text of an EXISTING label; same args as create with corrected translations[] (write).
• rename → rename a label ID across .label.txt + X++ + XML + index. Use dryRun=true first (write).
Write plumbing (paths, languages, sortLabels…) is auto-resolved; overrides and list filters: get_knowledge(kind="op-spec", topic="labels").
Inputs: action (required), model, query, dryRun, +10 more.
object_patternsARead-only
Pattern toolkit. Choose a domain:
• table → field/index/relation patterns for D365FO tables. Filter by tableGroup or similarTo a given table.
• form → form-pattern toolkit; pick an action:
analyze → pattern advisor + usage analysis. For a NEW form pass
recommend(preferred): the Microsoft decision tree picks the pattern and names reference forms to clone. Or filter by formPattern / dataSource / similarTo.spec → structure spec of a pattern/sub-pattern: hierarchy, ordering, allowed children, reference forms, lifecycle.
validate → AxForm XML validator (hierarchy/order, sub-patterns, PatternVersion) → FP001-FP011. Call before d365fo_file action=create. • report → SSRS implementation recipes: object roster, scaffold call, checks. Optional pattern=. • mobile-app → warehouse-app screen recipes, led by the choice between the two frameworks that build them (ProcessGuide vs WHSWorkExecuteDisplay): create a flow, add or replace one screen, step icon/title, GS1 scan input. Optional pattern=.
Inputs: xml, limit, action, domain, +8 more.
prepareARead-only
ONE-call context aggregator + groundingToken (30-min TTL, required for extension/new-object writes when GROUNDING_ENFORCE=true). Choose a mode:
• change → extending/modifying an EXISTING object: exact signature, existing CoC wrappers, eligibility, recommended strategy, naming, patterns. Replaces the analyze→search→info→generate loop.
• create → a NEW object: collision check, naming with auto-prefix, similar objects, EDT suggestions, reusable labels, mined property defaults.
• test → writing a SysTest for an existing class: methods worth covering, tests that already exist, whether the model references TestEssentials, and the red-first cycle.
Inputs: goal (required), mode (required), objectName (required), operation, +4 more.
run_bp_checkARead-only
Run Microsoft Best Practices checker (xppbp.exe) on a D365FO project. Returns BP warnings and errors with rule codes. Runs AFTER a build, not after a write; build_d365fo_project(bpCheck:true) already folds it in, so a separate call is rarely needed.
Inputs: objects, modelName, packagePath, projectPath.
run_systest_classA
Run D365FO unit test classes (SysTestConsole; UDE: cloud runtime), with per-method results.
Inputs: className (required), modelName, testMethod, packagePath.
searchARead-only
Search pre-indexed D365FO objects by name or keyword. Three modes in ONE tool:
• single (default) → pass query; returns name, type, model.
• batch → pass queries[] (max 10) to run searches in parallel (3× faster, with dedup + cross-reference).
• extensions → set scope:"extensions" to restrict to custom/ISV models only (filters out Microsoft standard code). Model names in those results are SOURCE models — never use them as create/modify targets.
Use get_object_info(objectType, name) when you already know the exact name and need full details.
Inputs: type, limit, query, scope, +3 more.
security_infoARead-only
D365FO security lookup. Choose a mode:
• artifact → details + full hierarchy of a named privilege/duty/role (Role → Duties → Privileges → Entry Points).
• coverage → reverse chain for an object: which privileges/duties/roles grant access (object → menu items → privileges → duties → roles).
Inputs: mode (required), name, objectName, objectType, +2 more.
update_symbol_indexAIdempotent
Index D365FO XML changed OUTSIDE this server (VS, hand edit, git pull). Do NOT call after d365fo_file create/modify — they re-index already. No args = bridge/cache refresh only.
Inputs: model, filePath.
validate_codeARead-only
Static validator for generated X++/XML (paste the text). Choose a mode:
• syntax → offline best-practice/BP validator (no xppbp.exe). Structured violations {rule, severity, line, excerpt, fix}. Covers select, CoC, BP and table-XML rules mined from standard models.
• references → semantic reference resolver (index-only): verifies every type, field, method (incl. arity), enum, label and intrinsic (tableStr/fieldStr/…) EXISTS in the indexed codebase. codeType="xml-table" checks XML refs instead: EDT/enum/relation/extends/label.
Call mode="both" AFTER generating, BEFORE writes; fix errors in the same turn. Write tools run references internally when GROUNDING_ENFORCE=true.
Inputs: code (required), mode (required), context, codeType.
validate_object_namingARead-only
Validate a proposed D365FO object name: extension naming/formats, ISV prefix, type suffixes, conflicts in the symbol index.
Inputs: objectType (required), proposedName (required), modelPrefix, baseObjectName, +1 more.
verify_d365fo_projectARead-only
Verify that D365FO objects exist on disk at the correct AOT path and are referenced in the .rnrproj project file. Use instead of PowerShell. Runs AFTER a build, not after a write: d365fo_file already verifies its own write inline (on disk + .rnrproj reference) and says so in its response. Omit objects to verify the ENTIRE project: every object referenced in the .rnrproj is checked on disk (requires projectPath, or an auto-detected/configured project).
Inputs: objects, modelName, projectPath.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 20 tools
Each tool has a genuinely distinct role (search, metadata read, generation, write, validation, build, test, security, labels, references), and descriptions proactively redirect to the right tool (e.g. 'use get_object_info when you know the name', 'd365fo_file already verifies its write'). A few boundaries still blur: prepare vs get_object_info/analyze_code/extension_info, generate_object(mode=pattern) vs object_patterns vs analyze_code(patterns), and validate_code vs validate_object_naming vs run_bp_check. Multi-mode tools with 5-7 modes each (labels, d365fo_file, generate_object, extension_info) require reading long descriptions to pick correctly.
Predominantly consistent snake_case verb_noun (get_object_info, generate_object, analyze_code, find_references, build_d365fo_project, run_bp_check, validate_code). Deviations are noun-first or bare: search, labels, prepare, object_patterns, security_info, extension_info, plus the prefixed d365fo_file. Format is uniform enough that the pattern is predictable.
20 tools for a broad domain (search/read, codegen, AOT writes, build, test, security, labels, knowledge) is on the heavy side but nearly every tool owns a real workflow step. Some acknowledged redundancy exists: run_bp_check is 'rarely needed' because build folds it in, verify_d365fo_project duplicates d365fo_file's inline verification, and update_symbol_index is explicitly a fallback. Trimming those three would land it squarely in the ideal range.
Covers the full dev loop: context gathering, search/metadata, codegen, XML write/modify/delete/undo, reference lookup, labels, security, extensibility analysis, validation, build and SysTest execution — rare depth for this domain. Minor gaps remain: scaffolding is limited to table/form/report (no data-entity, menu-item or security-artifact scaffolding), and creation-side security/label tooling is read-mostly. Agents can route around these via d365fo_file + get_knowledge op-specs.
Maintenance
Related MCP Connectors
D365 F&O: 90 AI tools over 200K+ objects, 25M+ cross-refs, 24M+ label translations.
Governance copilot for AI-assisted coding. 72 packs, 532 rules, proof bundles.
Read-only AI coding tools for change verification, release readiness, capacity, and guidance.
Code intelligence platform for AI agents. 20 tools for architecture, security & impact analysis.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to explore metadata, query data, and perform write operations across multiple Microsoft Dynamics 365 Finance & Operations environments. It features specialized tools for OData execution and data analysis with built-in read-only safety for production environments.45 npm10MIT
- AlicenseAqualityBmaintenanceExposes the full capabilities of Microsoft Dynamics 365 Finance & Operations to AI assistants through 49 comprehensive tools and standardized protocol interactions. It enables sophisticated workflows including OData operations, metadata discovery, and secure database analysis.4953 PyPI42MIT
- FlicenseNot gradedqualityCmaintenanceEnables AI assistants to search and analyze Microsoft Dynamics 365 Finance & Operations artifacts, read local source code, and generate context-aware solutions through natural language.12-
- AlicenseNot gradedqualityDmaintenanceEnables AI coding assistants to ground on real D365 F&O AOT metadata locally and offline, preventing hallucinated X++ field names and Chain of Command signatures.MIT