D365FO

D365FO

Production-ready MCP server exposing D365 F&O capabilities to AI assistants and MCP clients.

19
Stars
10
Forks
12
Releases

Overview

Production-ready MCP server built on the FastMCP framework that exposes the full capabilities of Microsoft Dynamics 365 Finance & Operations to AI assistants and other MCP-compatible tools. The server provides multi-transport support (stdio, HTTP, SSE) for flexible deployment and real-time interactions, and ships with an extensive toolset: 49 MCP tools across 9 functional categories, 12 resource types, and 2 prompt templates. It delivers robust production-grade features including proper error handling, authentication, and enterprise-grade security validation, along with enhanced performance such as faster startup and lower memory usage. Advanced profile management supports multiple environments with secure credential storage, while database analysis and metadata insights enable deep discovery and monitoring. Multi-language label resolution and caching improve localization. Enterprise security is reinforced with Azure AD integration, Key Vault support, and audit logging. The repository also includes Python client libraries, Docker and VS Code integrations, and optional deployment options to Azure Container Apps or other hosting environments, with configuration defaults and migration utilities for legacy setups in newer versions.

Details

Owner
mafzaal
Language
Python
License
MIT License
Updated
2025-12-07

Features

Comprehensive MCP toolset across 9 functional categories

Provides 49 MCP tools spanning major D365 F&O operations, including data access, metadata discovery, labeling, profiling, and more.

Multi-transport FastMCP architecture

Supports stdio, HTTP, and Server-Sent Events (SSE) transports for flexible deployment and real-time interactions.

Production-ready security and authentication

Robust error handling, authentication, Azure AD integration, Key Vault support, and audit logging for enterprise-grade security.

Performance optimizations

Enhanced startup performance and memory efficiency via the FastMCP framework (e.g., ~40% faster startup, ~15% lower memory usage).

Advanced environment and profile management

Supports multiple environments with secure credential storage and comprehensive environment/profile management.

Label management and localization

Multi-language label resolution and caching, with label exposure and localization capabilities.

Config management with Pydantic and env support

Pydantic-based settings model for type-safe environment variables, with .env support and legacy config migration.

Container, deployment, and client libraries

Docker images, Azure Container Apps deployment options, PyPI Python client with CLI and integration examples, and VS Code/Claude Desktop integration.

Audience

AI assistantsProvide standardized MCP access to D365 F&O data and operations for chatbots and AI agents.
MCP-compatible tools developersIntegrate D365 F&O capabilities into MCP-compliant clients and tooling.
D365 F&O developers/integratorsDeploy, configure, and manage the MCP server for multi-environment Dynamics 365 integration with security and auditing.

Tags

D365 F&OMCPFastMCPODataMetadataLabel managementAzure ADKey VaultAudit loggingAI assistantsMulti-transportSSEHTTPstdioDockerVS CodeAzure Container Apps