D365 Finance & Operations

v1.0.0Business Applicationsstable

A comprehensive Python client library and MCP server for Microsoft Dynamics 365 Finance & Operations (D365 F&O) that provides easy access to OData endpoints, metadata operations, label management, and AI assistant integration.

d365fod365toolsmcp-serverpython
Share:
30
Stars
0
Downloads
0
Weekly
0/5

What is D365 Finance & Operations?

D365 Finance & Operations is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to comprehensive python client library and mcp server for microsoft dynamics 365 finance & operations (d365 f&o) that provides easy access to odata endpoints, metadata operations, label management, and a...

A comprehensive Python client library and MCP server for Microsoft Dynamics 365 Finance & Operations (D365 F&O) that provides easy access to OData endpoints, metadata operations, label management, and AI assistant integration.

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

Features

  • A comprehensive Python client library and MCP server for Mic

Use Cases

Access Microsoft Dynamics 365 Finance & Operations through comprehensive Python client.
Query OData endpoints and manage metadata operations via MCP.
Integrate D365 F&O systems with AI assistants for business process automation.
mafzaal

Maintainer

LicenseMIT
Languagepython
Versionv1.0.0
UpdatedMay 19, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx d365fo-client

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 D365 Finance & Operations

The D365FO Client MCP server provides a comprehensive Python interface to Microsoft Dynamics 365 Finance and Operations, exposing 49 MCP tools that cover OData CRUD operations, metadata discovery, label management, database analysis, SRS report generation, and performance monitoring. It authenticates via Azure Active Directory (service principal or managed identity), supports multi-transport deployments (stdio, HTTP, SSE), and offers intelligent metadata caching to accelerate queries. Developers and business analysts use it to enable AI assistants like Claude to query, create, and update D365 F&O records, explore entity schemas, and automate ERP workflows without writing bespoke integration code.

Prerequisites

  • Python 3.9 or higher with pip (or Docker for containerized deployment)
  • A Microsoft Dynamics 365 Finance and Operations environment URL
  • Azure Active Directory credentials: client ID, client secret, and tenant ID for service principal auth (or Managed Identity if running in Azure)
  • An MCP-compatible client such as Claude Desktop or VS Code with MCP support
  • Optional: Docker or Podman for containerized deployment
1

Install the d365fo-client package

Install the package from PyPI using pip. This installs both the Python client library and the MCP server binary.

pip install d365fo-client
2

Set required environment variables

Configure the D365 F&O connection by setting the base URL and Azure AD credentials as environment variables. The client also supports Azure Default Credentials if running in an Azure-managed environment.

export D365FO_BASE_URL="https://your-environment.dynamics.com"
export D365FO_CLIENT_ID="your-azure-ad-client-id"
export D365FO_CLIENT_SECRET="your-azure-ad-client-secret"
export D365FO_TENANT_ID="your-azure-ad-tenant-id"
3

Test connectivity

Verify the server can reach your D365 F&O environment before connecting your MCP client.

d365fo-fastmcp-server
4

Configure your MCP client

Add the server to your Claude Desktop configuration file. Pass the environment variables in the env block so the server receives them at startup.

5

Explore entity metadata

Once connected, use Claude to explore available D365 entities and their schemas before running queries.

D365 Finance & Operations Examples

Client configuration

Add this to your Claude Desktop config at ~/Library/Application Support/Claude/claude_desktop_config.json (macOS). Replace all placeholder values with your actual D365 F&O environment details.

{
  "mcpServers": {
    "d365fo-client": {
      "command": "d365fo-fastmcp-server",
      "args": [],
      "env": {
        "D365FO_BASE_URL": "https://your-environment.dynamics.com",
        "D365FO_CLIENT_ID": "your-azure-ad-client-id",
        "D365FO_CLIENT_SECRET": "your-azure-ad-client-secret",
        "D365FO_TENANT_ID": "your-azure-ad-tenant-id",
        "D365FO_LOG_LEVEL": "INFO"
      }
    }
  }
}

Prompts to try

Once the server is connected, use these prompts with Claude to interact with your D365 F&O environment.

- "List the top 10 customers from the CustomersV3 entity in D365"
- "Search for all available OData entities related to inventory management"
- "Retrieve the schema for the SalesOrderHeadersV2 entity"
- "Download the latest sales order report for the past 30 days"
- "Check the D365 F&O environment health and show current API performance metrics"
- "Find all open purchase orders and group them by vendor account"

Troubleshooting D365 Finance & Operations

Authentication fails with 401 Unauthorized or AADSTS errors

Verify that D365FO_CLIENT_ID, D365FO_CLIENT_SECRET, and D365FO_TENANT_ID are set correctly and that the service principal has been granted the appropriate D365 F&O application user role in your Dynamics environment. Confirm D365FO_BASE_URL does not have a trailing slash.

The command d365fo-fastmcp-server is not found after pip install

Ensure the Python scripts directory is in your PATH. Try running python -m d365fo_client.server instead, or reinstall with pip install --user d365fo-client and add ~/.local/bin to your PATH.

SSL certificate errors when connecting to the D365 environment

Set the environment variable D365FO_VERIFY_SSL=false to disable certificate validation during development. For production, ensure your system trusts the certificate chain used by your Dynamics 365 environment.

Frequently Asked Questions about D365 Finance & Operations

What is D365 Finance & Operations?

D365 Finance & Operations is a Model Context Protocol (MCP) server that comprehensive python client library and mcp server for microsoft dynamics 365 finance & operations (d365 f&o) that provides easy access to odata endpoints, metadata operations, label management, and ai assistant integration. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install D365 Finance & Operations?

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

Which AI clients work with D365 Finance & Operations?

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

Is D365 Finance & Operations free to use?

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

D365 Finance & Operations Alternatives — Similar Business Applications Servers

Looking for alternatives to D365 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-client": { "command": "npx", "args": ["-y", "d365fo-client"] } } }

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

Read the full setup guide →

Ready to use D365 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