Dynamics 365 MCP
Dynamics 365 MCP Server: Connecting AI Agents to Finance and Operations, Business Central and Dataverse
Short answer
A Dynamics 365 MCP server exposes Dynamics data and actions as Model Context Protocol tools that AI agents can discover and call. Microsoft has released MCP servers for Dataverse and Dynamics 365 ERP, and you can build custom servers over OData and API v2.0. The key design work is tool scope, identity, approval for writes and logging.
- ERP
- Dynamics 365 Finance and Operations, Dynamics 365 Business Central, Microsoft Dataverse, Microsoft Copilot Studio
- Industries
- Manufacturing, Distribution, Aerospace
- Written for
- Enterprise Architect
The Model Context Protocol has become the common way to give AI agents access to business systems. Instead of building a separate plugin for every assistant, you expose a set of tools once, with names, descriptions and input schemas, and any MCP-capable client can use them: Copilot Studio, Claude, desktop assistants, or a private agent running an open-weight model.
Microsoft has adopted MCP across its stack. There are Microsoft MCP servers for Dataverse and for Dynamics 365 ERP, and Copilot Studio can consume MCP servers as tool sources. At the time of writing some of these are in preview and their tool sets are evolving, so check current documentation before designing around a specific tool.
For an enterprise architect, the questions are practical. Should agents use Microsoft's general-purpose servers or a curated custom server with a few safe tools? Under which identity do tool calls run? How are writes held for approval? How do you stop an agent from issuing a heavy query that slows the ERP? And how do private models in your own network use the same tools?
This page explains how MCP fits Dynamics 365, compares Microsoft-provided and custom servers, and sets out a design for safe, auditable agent access to Finance and Operations and Business Central.
What usually gets in the way
The problems we hear most from enterprise architect teams running Dynamics 365 Finance and Operations.
One-off integrations for every assistant
Each AI assistant needs its own plugin or connector, duplicating effort and security reviews.
Broad tools expose too much
General-purpose tools that can query any entity or call any action give agents more reach than any job role needs.
Identity confusion
Tool calls run under a service account, losing the link to the user who asked, which breaks audit and role enforcement.
ERP performance risk
Agents can issue unfiltered queries over large entities and degrade performance for users.
Private models left out
Cloud-only connectors do not serve on-prem agents that need the same Dynamics access.
Where AI earns its place in Dynamics 365 Finance and Operations
Each use case names the ERP objects it reads or writes, so your ERP team can judge the integration effort before anyone commits budget.
Read tools for common questions
Expose curated read tools such as get customer balance, get open sales orders, get item availability and get production order status.
Touches: F&O data entities for customers, sales order lines, on-hand inventory, production orders; Business Central API v2.0 customers, salesOrders, items
Outcome: Agents answer common questions through a small, reviewed tool set.
Draft-only write tools
Expose tools that create drafts, such as a sales quote, a purchase requisition or an unposted journal, never posted documents.
Touches: F&O sales quotations, purchase requisitions, general journal lines; Business Central sales quotes and purchase quotes
Outcome: Agents can propose work that people confirm in Dynamics.
Using Microsoft's Dataverse and ERP MCP servers
Connect Copilot Studio or other clients to Microsoft's servers for broad access in controlled environments, with role scoping.
Touches: Dataverse tables, F&O forms and entities exposed by Microsoft's server
Outcome: Fast start for exploration, then curated tools for production.
Cross-system tools
One MCP server combines Dynamics tools with MES, PLM and quality system tools so agents can answer cross-system questions.
Touches: Dynamics entities plus MES work orders, PLM items, QMS records
Outcome: Agents span the manufacturing landscape through one protocol.
Private agent access
An on-prem agent on an open-weight model uses the same MCP server over the internal network.
Touches: MCP server on internal network, F&O local business data or Business Central on-premises APIs
Outcome: Air-gapped or restricted environments get agent access without cloud dependencies.
User-delegated calls
Tool calls carry the requesting user's identity through on-behalf-of authentication so Dynamics roles apply.
Touches: Entra ID on-behalf-of tokens, Dynamics security roles
Outcome: Agents see only what the user may see.
Query guardrails
Tools enforce filters, row limits and timeouts, and route analytical questions to a replica or lake instead of the transactional system.
Touches: OData $filter and $top, Synapse Link or Fabric link tables
Outcome: Agent traffic does not slow ERP users.
Reference architecture
An MCP server sits between agents and Dynamics. It publishes a catalogue of tools, authenticates callers, maps each tool to OData, API v2.0 or Dataverse calls with guardrails, holds writes as drafts and logs everything.
- 1
MCP clients
Copilot Studio, desktop assistants, or private agents on open-weight models served with vLLM.
- 2
MCP server
Microsoft-provided for Dataverse and Dynamics ERP, or custom built with curated tools and JSON schemas.
- 3
Authentication
Entra ID with on-behalf-of flow so calls run as the user, or a narrowly scoped agent identity for autonomous tasks.
- 4
Dynamics APIs
F&O OData data entities and custom services; Business Central API v2.0 and custom API pages; Dataverse Web API.
- 5
Guardrails and audit
Row limits, timeouts, draft-only writes, rate limiting and a log of each call with user, tool, inputs and records.
Integration notes for your ERP team
- Start with Microsoft's servers in a sandbox to learn, then decide whether production needs a curated custom server.
- Write tool descriptions carefully; agents choose tools from descriptions, and vague ones cause wrong calls.
- Keep the tool catalogue small; large catalogues consume context and confuse models.
- Enforce $top limits and required filters on every read tool.
- Return record IDs and links with results so users can verify in Dynamics.
- Version tools and test them after each Dynamics release wave.
- Log tool calls centrally with user identity for audit.
Deployment options
Microsoft MCP servers
Exploration and Copilot Studio agents in Microsoft cloud.
Enable per environment and scope with security roles; review the exposed tool set before production use.
Custom MCP server in your Azure tenant
Production agents needing curated tools and cross-system access.
Hosted in Azure Container Apps or App Service with private endpoints to Dynamics.
On-prem MCP server
F&O local business data, Business Central on-premises or air-gapped plants.
Runs on internal servers next to private models; no external connectivity required.
Compliance and data control
How the architecture supports your obligations. Certification and accountability stay with your organisation; the design keeps the evidence straightforward.
SOX
Draft-only write tools and user-delegated identity keep posting with accountable people and preserve audit trails.
CMMC and NIST SP 800-171
MCP servers in a CUI enclave inherit access control and audit requirements; logs support the customer's evidence.
ITAR and EAR
Tools exposing technical data are restricted to authorised users and private models.
Least privilege
Curated tools limit agent reach to what the use case requires.
How an engagement runs
Phase 1 . 1-2 weeks
Tool design
- -Use case to tool mapping
- -Tool schemas and descriptions
- -Identity design
- -Guardrail rules
Phase 2 . 2-4 weeks
Build
- -MCP server with read tools
- -Draft-only write tools
- -Logging
- -Sandbox tests
Phase 3 . 2-3 weeks
Agent integration
- -Copilot Studio or private agent connected
- -Evaluation set
- -Security review
- -Performance test
Phase 4 . Ongoing
Operate
- -Release wave regression
- -Tool usage reports
- -Access reviews
- -New tools backlog
Questions to ask any vendor, including us
A short list that separates real Dynamics 365 Finance and Operations AI work from a chatbot demo.
- Which tools will agents see, and who approved each?
- Do tool calls run as the user or as a service identity?
- How are writes held for approval?
- What limits stop heavy queries?
- Can private models use the same server?
- How are tool calls logged and reviewed?
Frequently asked questions
What is a Dynamics 365 MCP server?
It is a server that implements the Model Context Protocol and exposes Dynamics 365 data and actions as tools AI agents can discover and call. Microsoft provides MCP servers for Dataverse and Dynamics 365 ERP, and organisations can build custom servers over F&O OData, Business Central API v2.0 and the Dataverse Web API.
Should I use Microsoft's MCP server or build my own?
Microsoft's servers are a fast way to start and work well with Copilot Studio. For production, many organisations add a curated custom server with a small set of reviewed tools, draft-only writes, row limits and cross-system tools. Check the current status and tool set of Microsoft's servers, as some are in preview.
Can a private model use a Dynamics 365 MCP server?
Yes. MCP is model-agnostic. An agent running an open-weight model on your own GPUs can call an MCP server on your network that talks to Dynamics APIs. This is how air-gapped and restricted environments give agents Dynamics access.
How do I keep agents from changing data?
Expose read tools by default and only add write tools that create drafts, such as quotes, requisitions or unposted journals. Run calls as the user so their roles apply, and require confirmation in Dynamics for anything that posts.
Will MCP agents slow down Dynamics?
They can if tools allow unfiltered queries. Enforce filters, row limits and timeouts, cache reference data and send analytical questions to Synapse Link or Fabric link data rather than the transactional system.
Does Business Central support MCP?
Business Central can be exposed through custom MCP servers over its API v2.0 and custom API pages, and Microsoft has been adding MCP support for Business Central in recent release waves. Check the current release plan for status.
How is MCP different from Power Platform connectors?
Connectors serve Power Automate, Power Apps and Copilot Studio inside Microsoft's platform. MCP is an open protocol any agent can use, including non-Microsoft and private agents. Many organisations use both.
Related guides
Dynamics 365 AI Agents for ERP: Prebuilt Agents, Copilot Studio and When to Build Your Own
How Dynamics 365 AI agents work in Supply Chain and Finance, how to build your own in Copilot Studio, and when a private agent on your servers fits better.
Agents + approval gatesAI Agents for ERP, Running On-Prem
A practical guide to on-prem AI agents for ERP: what they can safely automate, where human approval belongs, and how to design the guardrails.
Infor OS + on-prem AI agentsAI Agents Over Infor ION API, BODs, and the Infor Data Lake
Build AI agents on Infor ION API Gateway, BODs, and Data Lake, alongside or instead of Infor's own GenAI features, with your choice of model and hosting.
D365 F&SCM + private AIAI for Dynamics 365 Finance and Supply Chain beyond Copilot
AI for D365 Finance and Supply Chain beyond Microsoft Copilot: private LLM grounded on data entities and OData, on-prem-capable via Local Business Data.
D365 SCM + on-prem AIAI for Dynamics 365 Supply Chain Management on Local Business Data
AI for Dynamics 365 Supply Chain Management's Local Business Data option: ground a private LLM on production and warehouse data at the edge.
Business Central + private AIAI-powered Dynamics 365 Business Central solutions, on-premises or SaaS, beyond Copilot
AI-powered Dynamics 365 Business Central solutions beyond Copilot: grounded answers over BC finance, inventory and project (job) data via OData and APIs, on-premises or SaaS.
Plan it with numbers
ERP MCP Server Python Tool Skeleton Generator
Get a runnable Python MCP server with one read-only ERP lookup tool, argument validation and errors that the model can understand.
Free ToolMCP Server Security Checklist
Work through authentication, authorization, input handling, prompt injection, secrets, logging and deployment before an MCP server touches ERP data.
Free ToolMCP Tool Catalog and Risk Worksheet
Register each MCP tool your agent exposes, the ERP object it touches and a computed risk score, then export to Excel.
GuideMCP in the Enterprise: Servers, Auth, and Tool Governance
A practical guide to enterprise MCP integration: server architecture, authentication, and governing which tools an AI agent is allowed to call.
GuideAI Agent Architecture for Enterprise ERP Systems
Design AI agent architectures for ERP systems with multi-agent orchestration, tool-use patterns, memory management, and enterprise integration strategies.
GuideSecurity Review for AI Agents in the Enterprise
A security review checklist for enterprise AI agents: data residency, identity and access, prompt injection defense, logging, and vendor risk for manufacturers.
Talk it through with an engineer who knows Dynamics 365 Finance and Operations
Bring one real question your team cannot answer from the ERP today. We will map the data path, the model, and where it runs, and tell you honestly if AI is the wrong tool for it.
Try it here, free
Business Central Setup Checklist (Finance and Manufacturing)
A step-by-step checklist for the first setup of a Business Central company, covering finance, inventory, manufacturing, users and go-live basics.
Keep exploring
Free tools
- Business Central Setup Checklist (Finance and Manufacturing)A step-by-step checklist for the first setup of a Business Central company, covering finance, inventory, manufacturing, users and go-live basics.
- Business Central License Cost CalculatorEstimate Business Central monthly and annual subscription cost from your user mix and your own price per user, with a chart of cost growth.
- Business Central Routing and Production BOM Cost WorksheetPlan routing operations with setup time, run time, lot size and work center rate, and see operation cost per unit before you set up routings in BC.
ERP fixes and how-tos
- Adding a Private AI Layer to Business Central On-PremisesAdd AI to Business Central on-prem without cloud: API v2.0, custom API pages, SQL replica, retrieval, local LLM, BC permission sets, approved write-back.
- Dynamics 365 Supply Chain Management API: OData, Custom Services and Data PackagesD365 Supply Chain / F&O APIs explained: OData data entities, custom services, the data management package API, Entra ID authentication and when to use each.
- Fixing "There are currently no batch servers available for processing" in D365 F&SCMDynamics 365 Finance and Operations batch jobs stuck with no batch servers available for processing. Diagnose server configuration, batch groups and stuck tasks.
AI on your ERP
- Dynamics 365 AI Agents for ERP: Prebuilt Agents, Copilot Studio and When to Build Your OwnHow Dynamics 365 AI agents work in Supply Chain and Finance, how to build your own in Copilot Studio, and when a private agent on your servers fits better.
- Dynamics 365 AI Consulting: Copilot, Agents and Private AI for Finance, Supply Chain and Business CentralDynamics 365 AI consulting for Finance, Supply Chain and Business Central: Copilot, agents, Copilot Studio, private models and on-prem deployments, explained.
Integrations
- How to build an MCP server for Dynamics 365 Business CentralBuild a Model Context Protocol server for Dynamics 365 Business Central: tools to expose, Entra auth, stdio vs HTTP, permission scoping and audit logging.
- How to build an MCP server for Dynamics 365 Finance and Supply ChainBuild a Model Context Protocol server for Dynamics 365 Finance and Supply Chain: tools to expose, Entra auth, transports, scoping and audit for any MCP client.
Software
- Microsoft Dynamics 365 Finance and Supply ChainDynamics 365 Finance and Supply Chain Management explained for manufacturers: modules, data entities, OData, deployment, strengths, limits and alternatives.
- Microsoft Dynamics 365 Business CentralDynamics 365 Business Central explained for manufacturers: modules, APIs, AL extensions, deployment, strengths, limits and alternatives for small and mid-size firms.