d365-agent-mcpserver-dotnet\n\nC#/.NET implementation of the MCP Server for the Dynamics 365 AI Agent.
@ntrtd
About d365-agent-mcpserver-dotnet\n\nC#/.NET implementation of the MCP Server for the Dynamics 365 AI Agent.
.NET Core D365 MCP Server exposing Dynamics 365 tools. Uses .NET OData client.
Basic information
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is d365-agent-mcpserver-dotnet?
d365-agent-mcpserver-dotnet is a .NET Core implementation of the Model Context Protocol (MCP) server for Dynamics 365. It acts as a gateway, receiving MCP tool execution requests and translating them into operations against the Dynamics 365 OData API. It is intended for developers building AI agents or orchestrators that need standardized, programmatic access to D365 business logic and data.
How to use d365-agent-mcpserver-dotnet?
Clone the repository, set up the .NET SDK, configure the environment for your Dynamics 365 instance and Azure Key Vault for credentials, then run the server. It exposes MCP tools such as getCustomerDetails, createSalesOrder, simulateInvoicePostToD365, and getPurchaseOrderStatus. Clients (e.g., the d365-agent-orchestrator) send CallTool requests to this server.
Key features of d365-agent-mcpserver-dotnet
- Defines and implements a suite of MCP tools for D365 operations.
- Uses a generated, type-safe C# OData client to communicate with D365.
- Manages secure authentication via Client Credentials flow and Azure Key Vault.
- Supports multiple Dynamics 365 instances or legal entities per request.
- Exposes D365 capabilities through the standardized MCP interface.
- Packaged as a Docker container for deployment to Azure services.
Use cases of d365-agent-mcpserver-dotnet
- An AI assistant queries customer details from Dynamics 365 on demand.
- A workflow automation creates sales orders directly in D365 via MCP calls.
- A reporting tool retrieves purchase order statuses from different legal entities.
- A simulation service tests invoice posting logic against D365 APIs.
FAQ from d365-agent-mcpserver-dotnet
What are the main dependencies and runtime requirements?
The server requires .NET Core / ASP.NET Core, the D365 Agent C# MCP SDK, a generated D365 OData client, and MSAL.NET for authentication. It is containerized with Docker for deployment on Azure Container Apps or AKS.
How does the server authenticate with Dynamics 365?
It uses the Client Credentials OAuth flow, retrieving credentials (client ID, client secret) from Azure Key Vault to authenticate against your Azure AD tenant.
Does d365-agent-mcpserver-dotnet support multiple D365 instances?
Yes. It is designed to handle requests targeting multiple Dynamics 365 instances or legal entities, based on parameters passed in the MCP tool calls.
How does the server communicate errors back to the client?
It implements robust error handling for D365 operations and sends errors back via standard MCP error responses, ensuring the client receives clear failure information.
Is the server deployed as a container?
Yes. It is packaged as a Docker container for deployment to Azure services like Azure Container Apps (ACA) or Azure Kubernetes Service (AKS).
More AI & Agents MCP servers
Solon Ai
opensolonJava AI application development framework (supports LLM-tool,skill; RAG; MCP; Agent-ReAct,Team-Agent). Compatible with java8 ~ java25. It can also be embedded in SpringBoot, jFinal, Vert.x, Quarkus, and other frameworks.
Mcp Agent
lastmile-aiBuild effective agents using Model Context Protocol and simple workflow patterns
MCP Claude Code
SDGLBLMCP implementation of Claude Code capabilities and more
Intervals.icu MCP Server
mvilanovaModel Context Protocol (MCP) server for connecting Claude and ChatGPT with the Intervals.icu API.
meGPT - upload an author's content into an LLM
adriancoCode to process many kinds of content by an author into an MCP server
Comments