Dynamics 365 Finance & Operations MCP Server

1

Add it to Claude Code

Run this in a terminal.

Run in terminal
claude mcp add -e "D365FO_TENANT_ID=${D365FO_TENANT_ID}" -e "D365FO_CLIENT_ID=${D365FO_CLIENT_ID}" -e "D365FO_CLIENT_SECRET=${D365FO_CLIENT_SECRET}" d365fo-client -- uvx --from d365fo-client@latest d365fo-fastmcp-server
Required:D365FO_TENANT_IDD365FO_CLIENT_IDD365FO_CLIENT_SECRET
README.md

Production-ready MCP server for Microsoft Dynamics 365 Finance & Operations

Dynamics 365 Finance & Operations MCP Server

Production-ready Model Context Protocol (MCP) server that exposes the full capabilities of Microsoft Dynamics 365 Finance & Operations (D365 F&O) to AI assistants and other MCP-compatible tools. This enables sophisticated Dynamics 365 integration workflows through standardized protocol interactions.

🚀 One-Click Installation for VS Code:

🐳 Docker Installation for VS Code:

[-24bfa5?style=flat-square&logo=docker&logoColor=white)](https://

Tools (2)

odata_queryExecute OData queries against D365 F&O entities
get_metadataRetrieve metadata for D365 F&O entities

Environment Variables

D365FO_TENANT_IDrequiredAzure AD Tenant ID for D365 F&O authentication
D365FO_CLIENT_IDrequiredAzure AD Client ID for D365 F&O authentication
D365FO_CLIENT_SECRETrequiredAzure AD Client Secret for D365 F&O authentication

Configuration

claude_desktop_config.json
{"mcpServers": {"d365fo": {"command": "uvx", "args": ["d365fo-client"], "env": {"D365FO_TENANT_ID": "your_tenant_id", "D365FO_CLIENT_ID": "your_client_id", "D365FO_CLIENT_SECRET": "your_client_secret"}}}}

Try it

List all available entities in the Finance and Operations environment.
Fetch the top 10 records from the Vendor entity using OData.
Get the metadata definition for the SalesOrderHeader entity.
Query the GeneralJournalEntry entity for records created in the last 30 days.

Frequently Asked Questions

What are the key features of Dynamics 365 Finance & Operations?

Full integration with Microsoft Dynamics 365 Finance & Operations. Support for OData operations to read and manipulate data. Metadata discovery for exploring entity structures. Secure authentication via Azure AD. Standardized Model Context Protocol implementation.

What can I use Dynamics 365 Finance & Operations for?

Automating data extraction from D365 F&O for reporting. Assisting developers in exploring D365 entity schemas. Streamlining business process workflows via AI-driven queries. Performing ad-hoc database analysis on ERP records.

How do I install Dynamics 365 Finance & Operations?

Install Dynamics 365 Finance & Operations by running: uvx d365fo-client

What MCP clients work with Dynamics 365 Finance & Operations?

Dynamics 365 Finance & Operations works with any MCP-compatible client including Claude Desktop, Claude Code, Cursor, and other editors with MCP support.

Turn this server into reusable context

Keep Dynamics 365 Finance & Operations docs, env vars, and workflow notes in Conare so your agent carries them across sessions.

Need the old visual installer? Open Conare IDE.
Open Conare