
D365FO MCP Server
Let your agent query and work with Microsoft Dynamics 365 Finance & Operations data through a community MCP bridge.
Overview
D365FO MCP Server is a MCP server for the Build phase that connects AI agents to Microsoft Dynamics 365 Finance & Operations using Azure app credentials over stdio.
What is this MCP server?
- Community-driven D365 Finance & Operations MCP server (pypi d365fo-client 0.3.6)
- Azure AD app auth via D365FO_CLIENT_ID, CLIENT_SECRET, and TENANT_ID
- Optional D365FO_BASE_URL for environment-specific FO endpoints
- Install paths: uvx from PyPI or OCI image ghcr.io/mafzaal/d365fo-client:0.3.6
- stdio transport for Claude Code-style agent tooling
- Published version 0.3.6 on PyPI and OCI
- 4 documented environment variables (3 required secrets/IDs plus optional BASE_URL)
- 2 package transports: PyPI uvx and ghcr.io OCI
Community signal: 32 GitHub stars.
What problem does it solve?
Building against D365FO means juggling OAuth, environment URLs, and APIs that agents cannot safely guess without a dedicated integration surface.
Who is it for?
Consultants and indie integrators already licensed for D365FO who want agent-accessible FO operations during Build.
Skip if: Builders with no D365 tenant, no Azure app registration, or projects unrelated to Microsoft ERP.
What do I get? / Deliverables
After configuration, your agent can use MCP tools backed by authenticated D365FO client access for finance and operations scenarios you implement.
- Authenticated MCP session to your D365FO base URL
- Agent-ready Finance & Operations integration surface (tooling defined by server implementation)
Recommended MCP Servers
Journey fit
ERP connectivity is a Build-phase integration task when the product or internal tool must talk to D365FO entities and workflows. Integrations subphase holds third-party system MCP servers that extend the agent into line-of-business clouds.
How it compares
ERP OData-style MCP bridge, not a general Microsoft 365 or Power Platform skill pack.
Common Questions / FAQ
Who is io.github.mafzaal/d365fo-client for?
Developers and solo integrators building agent or API workflows against Dynamics 365 Finance & Operations with Azure AD app credentials.
When should I use io.github.mafzaal/d365fo-client?
Use it in Build when you need MCP tools that authenticate to your FO environment and support agent-driven integration tasks.
How do I add io.github.mafzaal/d365fo-client to my agent?
Register the stdio server via uvx d365fo-client or the Docker OCI image, and set D365FO_CLIENT_ID, D365FO_CLIENT_SECRET, D365FO_TENANT_ID, and D365FO_BASE_URL as required.