Dynamics 365 MCP Server (.NET)

Dynamics 365 MCP Server (.NET)

d365-agent-mcpserver-dotnet•byntrtd

A .NET Core MCP server that acts as a gateway to Dynamics 365, exposing business logic and data operations as standardized MCP tools.

License: Not specified•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Implements MCP tools covering Dynamics 365 operations such as retrieving customer details, creating sales orders, simulating invoice posting, and checking purchase order status.
  • •Translates MCP tool execution requests into operations against the Dynamics 365 OData API using a generated type-safe C# OData client.
  • •Manages Dynamics 365 authentication, typically via Client Credentials flow, retrieving credentials from Azure Key Vault.
  • •Handles requests targeting multiple Dynamics 365 instances or legal entities based on parameters passed in MCP tool calls, and returns errors via standard MCP error responses.

BEST FOR

  • •Agents or MCP-compliant clients that need to query and modify Dynamics 365 data through standardized tools.
  • •Workflows involving sales orders, customer details, and purchase order status lookups in Dynamics 365.
  • •Deployments spanning multiple Dynamics 365 instances or legal entities.

ABOUT D365-AGENT-MCPSERVER-DOTNET

Dynamics 365 MCP Server (.NET) is cataloged as an MCP server attributed to ntrtd. A .NET Core MCP server that acts as a gateway to Dynamics 365, exposing business logic and data operations as standardized MCP tools. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Dynamics 365 MCP Server (.NET) are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

How does the server interact with Dynamics 365?

It uses a generated, type-safe C# OData client to perform communications with Dynamics 365 OData endpoints.

Can it work with more than one Dynamics 365 instance?

Yes, it is designed to handle requests targeting multiple Dynamics 365 instances or legal entities based on parameters in the MCP tool calls.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 15683f5fabca · 采集于 2026-11-13 10:45:26 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Dynamics 365 AI Agent - D365 MCP Server (.NET) (d365-agent-mcpserver-dotnet)

This repository contains the source code for the .NET Core implementation of the Dynamics 365 Model Context Protocol (MCP) Server. This server is a key component of the D365 AI Agent system, responsible for exposing Dynamics 365 business logic and data operations as standardized MCP tools.

Overview

The d365-agent-mcpserver-dotnet acts as a dedicated gateway to Dynamics 365. It receives MCP tool execution requests from clients (primarily the d365-agent-orchestrator via the d365-agent-mcpclient-ts library) and translates them into operations against the D365 OData API.

Key Features & Responsibilities

  • MCP Tool Implementation: Defines and implements a suite of MCP tools that encapsulate specific Dynamics 365 operations (e.g., getCustomerDetails, createSalesOrder, simulateInvoicePostToD365, getPurchaseOrderStatus).
  • D365 OData Interaction: Utilizes a generated, type-safe C# OData client (from the d365-agent-odataclient-dotnet repository) to perform all communications with the Dynamics 365 OData endpoints.
  • D365 Authentication: Manages secure authentication (typically Client Credentials flow) with Dynamics 365, retrieving necessary credentials from Azure Key Vault.
  • Multi-Instance Support: Designed to handle requests targeting multiple Dynamics 365 instances or legal entities, based on parameters passed in the MCP tool calls.
  • Standardized Interface: Exposes D365 capabilities via the Model Context Protocol, allowing any MCP-compliant client to discover and use its tools.
  • Error Handling: Implements robust error handling for D365 operations and communicates errors back via standard MCP error responses.
  • Containerization: Packaged as a Docker container for deployment to Azure services like Azure Container Apps (ACA) or Azure Kubernetes Service (AKS).

Technology Stack

  • .NET Core / ASP.NET Core (for hosting the MCP server endpoint)
  • C#
  • D365 Agent C# MCP SDK (from submodules/csharp-sdk or a corresponding NuGet package)
  • Generated D365 OData Client (from d365-agent-odataclient-dotnet)
  • MSAL.NET (for Azure AD authentication)

Interaction Flow

  1. The d365-agent-orchestrator (specifically a LangGraph agent or a CopilotKit action using d365-agent-mcpclient-ts) sends an MCP CallTool request to this server.
  2. The d365-agent-mcpserver-dotnet receives the request.
  3. It identifies the requested MCP tool and validates parameters.
  4. The tool implementation logic uses the generated D365 OData client (d365-agent-odataclient-dotnet) to perform the required operations against the Dynamics 365 OData API (e.g., querying data, creating/updating entities).
  5. The result or any error from D365 is packaged into an McpResponse.
  6. The McpResponse is sent back to the d365-agent-orchestrator.

Getting Started

(Details to be added - typically involves cloning, .NET SDK setup, configuration for D365 environment and Azure Key Vault, and running the server). Refer to the implementation.md in this repository for a detailed development plan.

Contribution

(Details on contribution guidelines if applicable)

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Dynamics 365 MCP Server (.NET) from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/d365-agent-mcpserver-dotnet)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools