d365fo-client
Verified Safeby mafzaal
Overview
Provides a Model Context Protocol (MCP) server for Microsoft Dynamics 365 Finance & Operations, enabling AI agents and other MCP-compatible tools to perform metadata management, CRUD operations, action calls, label resolution, and environment monitoring.
Installation
python -m d365fo_client.mcp.fastmcp_mainEnvironment Variables
- D365FO_SANDBOX_BASE_URL
- D365FO_BASE_URL
- D365FO_CLIENT_ID
- D365FO_CLIENT_SECRET
- D365FO_TENANT_ID
- D365FO_VERIFY_SSL
- D365FO_LOG_LEVEL
- D365FO_CACHE_DIR
- D365FO_MCP_TRANSPORT
- D365FO_HTTP_HOST
- D365FO_HTTP_PORT
- D365FO_AUTH_API_KEY
- D365FO_AUTH_CLIENT_ID
- D365FO_AUTH_CLIENT_SECRET
- D365FO_AUTH_TENANT_ID
Security Notes
The project uses standard Azure AD authentication via `azure-identity` and `SecretStr` for sensitive environment variables, which is good. SSL verification can be optionally disabled (`verify_ssl=False`), which is a security risk if not managed carefully in production. The `DatabaseToolsMixin` allows execution of SQL queries on a local SQLite cache, and while it includes `_validate_query_safety` to prevent common injection attacks (DELETE, UPDATE, INSERT, DROP), custom SQL execution against a local database could still be a vulnerability if the validation is incomplete or bypassed, potentially leading to local data exposure. No direct 'eval' or malicious obfuscation patterns were identified for remote execution.
Similar Servers
ms-365-mcp-server
Provide an MCP server to interact with Microsoft 365 services like Email, Calendar, Files, and Teams via the Graph API.
Windows-MCP.Net
Enabling AI assistants to automate tasks and interact with the Windows desktop environment.
powerbi-mcp
Enables AI assistants to interact with Power BI Desktop and Service for querying data, managing models, and performing safe bulk operations through natural language, ensuring enterprise-grade security and preserving report visual integrity during refactoring.
mcp-reference-server
The Commerce Operations Foundation MCP Server standardizes the interface between AI agents (like Claude) and fulfillment systems, enabling AI to manage e-commerce operations like order capture, inventory, and fulfillment via plug-and-play adapters.