Dynamics 365 Finance & Operations

v1.0.0Business Applicationsstable

🚀 MCP server for Dynamics 365 Finance & Operations with standard and custom indexed X++ objects. Provides IntelliSense-like code navigation, intelligent EDT suggestions, AI-driven table/form generation, and pattern-based code completion for GitHub Co

azurecode-completiond365fodynamics-365erp
Share:
82
Stars
0
Downloads
0
Weekly
0/5

What is Dynamics 365 Finance & Operations?

Dynamics 365 Finance & Operations is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to 🚀 mcp server for dynamics 365 finance & operations with standard and custom indexed x++ objects. provides intellisense-like code navigation, intelligent edt suggestions, ai-driven table/form generati...

🚀 MCP server for Dynamics 365 Finance & Operations with standard and custom indexed X++ objects. Provides IntelliSense-like code navigation, intelligent EDT suggestions, AI-driven table/form generation, and pattern-based code completion for GitHub Co

This server falls under the Business Applications category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • 🚀 MCP server for Dynamics 365 Finance & Operations with stan

Use Cases

X++ code completion and navigation
IntelliSense-like development support
ERP data and object access
LicenseMIT
Languagetypescript
Versionv1.0.0
UpdatedMay 21, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx d365fo

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Dynamics 365 Finance & Operations

The D365FO MCP Server connects AI coding assistants to Dynamics 365 Finance & Operations metadata, exposing over 47 tools for searching 580,000+ indexed X++ symbols including classes, tables, forms, EDTs, and labels. It provides IntelliSense-like code navigation, intelligent form pattern recommendations, safe metadata writes via a C# bridge using Microsoft's IMetadataProvider, and SDLC tools such as MSBuild compilation and test runners. Developers and D365FO consultants use it to dramatically accelerate X++ development inside GitHub Copilot, Claude, or any MCP-compatible client.

Prerequisites

  • Node.js 24.0.0 or higher
  • TypeScript 6.0 or higher
  • .NET SDK installed (required to build the C# metadata bridge)
  • Access to D365FO package files on disk, or an Azure deployment with the metadata indexed
  • An MCP-compatible client such as GitHub Copilot, Claude Desktop, or Claude Code
1

Clone the repository

Clone the d365fo-mcp-server repository to a local drive. The documentation uses K:\ as the example path for a Windows developer machine.

git clone https://github.com/dynamics365ninja/d365fo-mcp-server.git K:\d365fo-mcp-server
cd K:\d365fo-mcp-server
2

Install Node.js dependencies and build

Install npm packages, then build both the TypeScript layer and the C# metadata bridge.

npm install
cd bridge\D365MetadataBridge && dotnet build -c Release && cd ..\..
npm run build
3

Extract metadata and build the search database

Point the extraction script at your D365FO package files by setting PACKAGES_PATH. For hybrid (cloud search + local writes) mode, skip the extract-metadata step and go straight to build-database.

set PACKAGES_PATH=K:\AosService\PackagesLocalDirectory
npm run extract-metadata
npm run build-database
4

Configure environment variables

Set the required environment variables so the server can locate your D365FO workspace and custom models. CUSTOM_MODELS is optional and points to additional model directories to index.

set PACKAGES_PATH=K:\AosService\PackagesLocalDirectory
set D365FO_SOLUTIONS_PATH=K:\MyProjects
set D365FO_WORKSPACE_PATH=K:\AosService\PackagesLocalDirectory
5

Register the server with your MCP client

Add the server to your MCP client configuration. For Claude Code use 'claude mcp add-json'. For GitHub Copilot, create %USERPROFILE%\.mcp.json with the entry below.

6

Verify the connection

Ask your MCP client a metadata question. A successful response confirms the server is indexed and connected.

Dynamics 365 Finance & Operations Examples

Client configuration

Add this block to %USERPROFILE%\.mcp.json for GitHub Copilot, or adapt for claude_desktop_config.json. Adjust the command path and env vars for your environment.

{
  "mcpServers": {
    "d365fo": {
      "command": "node",
      "args": ["K:\\d365fo-mcp-server\\dist\\index.js"],
      "env": {
        "PACKAGES_PATH": "K:\\AosService\\PackagesLocalDirectory",
        "D365FO_WORKSPACE_PATH": "K:\\AosService\\PackagesLocalDirectory",
        "D365FO_SOLUTIONS_PATH": "K:\\MyProjects"
      }
    }
  }
}

Prompts to try

Once the server is connected, use these prompts in your AI client to navigate and generate D365FO code.

- "What tables in D365FO contain a CustAccount field?"
- "Show me the X++ class hierarchy for SalesTable."
- "Generate a new table called MyCustomTable with CustAccount and TransDate fields."
- "What form patterns are recommended for a list-details form in D365FO?"
- "Validate my X++ code for compile errors before writing it to disk."

Troubleshooting Dynamics 365 Finance & Operations

npm run extract-metadata fails with 'PACKAGES_PATH not found'

Ensure the PACKAGES_PATH environment variable points to the actual D365FO PackagesLocalDirectory. On a one-box environment this is typically C:\AosService\PackagesLocalDirectory. Set the variable before running the npm script.

dotnet build fails for the C# bridge

Install the .NET SDK (6.0 or later) and ensure 'dotnet' is in your PATH. Run 'dotnet --version' to verify. The bridge project is in bridge\D365MetadataBridge and requires the SDK, not just the runtime.

MCP client reports 0 tools available

Confirm npm run build-database completed without errors. The SQLite database must be built before the server can serve tool definitions. Re-run extract-metadata then build-database if the database file is missing or empty.

Frequently Asked Questions about Dynamics 365 Finance & Operations

What is Dynamics 365 Finance & Operations?

Dynamics 365 Finance & Operations is a Model Context Protocol (MCP) server that 🚀 mcp server for dynamics 365 finance & operations with standard and custom indexed x++ objects. provides intellisense-like code navigation, intelligent edt suggestions, ai-driven table/form generation, and pattern-based code completion for github co It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Dynamics 365 Finance & Operations?

Follow the installation instructions on the Dynamics 365 Finance & Operations GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Dynamics 365 Finance & Operations?

Dynamics 365 Finance & Operations works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Dynamics 365 Finance & Operations free to use?

Yes, Dynamics 365 Finance & Operations is open source and available under the MIT license. You can use it freely in both personal and commercial projects.

Dynamics 365 Finance & Operations Alternatives — Similar Business Applications Servers

Looking for alternatives to Dynamics 365 Finance & Operations? Here are other popular business applications servers you can use with Claude, Cursor, and VS Code.

n8n

189.1k

A comprehensive MCP server that provides full control over n8n automation workflows through natural language. It offers 43 tools for managing workflows, executions, credentials, and data tables, with safety features like write-mode protection and dou

LobeHub

77.5k

🤯 LobeHub is your Chief Agent Operator, organizing your agents into 7×24 operations by hiring, scheduling, and reporting on your entire AI team.

Jeecgboot

46.4k

AI 低代码平台,「低代码 + 零代码」双模式驱动:低代码一键生成前后端代码,零代码 5 分钟搭建系统,AI Skills 一句话画流程、设计表单、生成整套系统。内置 AI聊天、知识库、流程编排、MCP插件等,兼容主流大模型。引领「AI 生成 → 在线配置 → 代码生成 → 手工合并->AI修改」开发模式,消除 Java 项目 80% 的重复工作,提效而不失灵活。

CowAgent

44.7k

CowAgent (chatgpt-on-wechat) 是基于大模型的超级AI助理,能主动思考和任务规划、访问操作系统和外部资源、创造和执行Skills、通过长期记忆和知识库不断成长,比OpenClaw更轻量和便捷。同时支持微信、飞书、钉钉、企微、QQ、公众号、网页等接入,可选择DeepSeek/OpenAI/Claude/Gemini/ MiniMax/Qwen/GLM/LinkAI,能处理文本、语音、图片和文件,可快速搭建个人AI助理和企业数字员工。

Minds Platform

39.2k

Platform dedicated to building an open foundation for applied Artificial Intelligence, designed for people seeking production-ready AI systems they can truly control, extend and deploy anywhere.

Astrbot

32.8k

AI Agent Assistant & development framework that integrates lots of IM platforms, LLMs, plugins and AI feature, and can be your openclaw alternative. ✨

Browse More Business Applications MCP Servers

Explore all business applications servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "d365fo": { "command": "npx", "args": ["-y", "d365fo"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Dynamics 365 Finance & Operations?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides