— D365 F&O · MCP

The d365fo-client + MCP Server.

Production-ready Model Context Protocol server for Microsoft Dynamics 365 Finance & Operations. Connect AI assistants — GitHub Copilot, Claude Desktop, VS Code — with one-click installation and 34 specialized tools.

Open source · Enterprise-ready · MCP-native
— One-click VS Code install

From hours of config to one click.

The full configuration was manual JSON, environment variables, and dependency hell. It's now a single button that prompts for credentials and installs the server with uvx dependency management.

— Capabilities

34 tools across 7 functional categories.

Production-ready coverage of every major D365 F&O operation surface — connection, CRUD, metadata, labels, profiles, sync, performance.

Connection & Environment 2 tools

Connectivity testing & environment info.

CRUD operations 6 tools

Advanced OData querying & entity management.

Metadata discovery 6 tools

Entity search, schema analysis, enumeration discovery.

Label management 2 tools

Multi-language label operations & batch processing.

Profile management 10 tools

Multi-environment configuration & credential management.

Sync & sessions 4 tools

Sync session orchestration with progress reporting.

Performance 4 tools

Caching, FTS5 search, query plan inspection.


— AI clients

Drop into any MCP-compatible client.

GitHub Copilot

Native MCP support for code workflows.

Claude Desktop

Direct config with uvx dependency management.

VS Code

Built-in MCP integration; one-click install.

Custom AI apps

Standard MCP protocol for any compatible client.


— Quick start

Three ways to install.

VS Code
# one-click install
Click the button above
# auto-prompts for credentials
No manual config required.

Automatic dependency management with uvx.

Claude Desktop
# add to Claude config
"command": "uvx",
"args": ["--from", "d365fo-client",
         "d365fo-mcp-server"]

Always pulls the latest released version.

Direct (PyPI)
# install from PyPI
pip install d365fo-client

# start the MCP server
d365fo-mcp-server

Traditional install for custom setups.


— Related writing

Posts about d365fo-client + MCP.

Implementation notes, deeper dives, and release breakdowns.

RAG Evaluation in Production: Moving Beyond Metrics for Enterprise Success

Your enterprise RAG app works in the lab, but how does it perform in production? Discover advanced strategies beyond static metrics to ensure reliability and business value.

Read

From Wall Street to ERP: Why Transformer Embeddings Are Eating Enterprise Transaction Systems

Enterprise ERP logs are high-signal event streams. By applying sequence-based transformers (like Revolut’s PRAGMA) and Tabular Foundation Models (like Prior Labs’ TabPFN) to ERP data, we can build unified, multi-task systems that outperform custom feature engineering.

Read

The ERP Copilot Security Dilemma: Dynamic Row-Level Security and Identity Delegation in LLMs

Naive Service Principal access exposes sensitive ERP data to LLM context windows. Learn how to architect zero-trust AI agents using OAuth2 On-Behalf-Of (OBO) token exchange and database-enforced Row-Level Security (RLS).

Read

Beyond the Prompt: Context Engineering Patterns for Complex Enterprise APIs

Enterprise APIs are too massive for LLM prompts. Discover context engineering patterns like JIT schema pruning, semantic routing, and session compression to build efficient agents.

Read

Microsoft Agent Framework 1.0 for .NET: The Agentic Runtime .NET Developers Have Been Waiting For

Microsoft Agent Framework 1.0 unifies AutoGen and Semantic Kernel into a single, production-ready agentic runtime for .NET. A deep-dive for product owners, architects, and developers — with a real expense-tracker agent built in C# to show how it all fits together.

Read

D365 F&O Client & MCP Server v0.3.7: Request Tracing & Server Timing Are Here

D365 F&O Client & MCP Server v0.3.7 ships comprehensive request tracing and server timing visibility — making production debugging and performance analysis dramatically easier.

Read

Have a hard AI problem?

I work with a small number of teams each quarter — usually on production LLM pipelines, MCP integrations with enterprise systems, or evaluation frameworks that survive contact with real data.