The D365 Finance & Operations MCP Server provides access to Microsoft Dynamics 365 Finance & Operations environments, enabling AI assistants to explore metadata, query data, and perform write operations on non-production environments.
From the registry: Query and manage Microsoft Dynamics 365 Finance & Operations via MCP
Please install the `d365fo-connector` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **Azure AD app registration** — Register an Azure AD app with D365 F&O API permissions. (https://portal.azure.com)
Canonical MCP server config (stdio transport):
- command: `npx`
- args: ["-y","@zhound/d365fo-mcp-server"]
- required environment variables:
- `D365_TENANT_ID`: Azure AD tenant ID. (example: `<your-tenant-id>`)
- `D365_CLIENT_ID`: Azure AD application (client) ID. (example: `<your-client-id>`)
- `D365_CLIENT_SECRET`: Azure AD client secret. (example: `<your-client-secret>`)
- `D365_ENVIRONMENT_URL`: D365 F&O environment URL. (example: `https://<your-company>.operations.dynamics.com`)
- optional environment variables:
- `D365_ENVIRONMENT_TYPE`: 'production' (read-only) or 'non-production' (R/W). Defaults to production for safety. (example: `non-production`)
- `D365_TRANSPORT`: Transport mode: stdio or http. (example: `stdio`)
- `D365_HTTP_PORT`: HTTP port when using http transport. (example: `3000`)
- `D365_LOG_LEVEL`: Logging level. (example: `info`)
- `D365_CONFIG_FILE`: Path to d365-environments.json config file.
Note: Can also use multi-environment d365-environments.json file instead of env vars. Run 'npm run setup' for interactive setup.
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.D365_TENANT_IDrequiredAzure AD tenant IDD365_CLIENT_IDrequiredAzure AD application (client) IDD365_CLIENT_SECRETrequiredAzure AD client secretD365_ENVIRONMENT_URLrequiredD365 F&O environment URLMCP server that exposes GraphQL operations as tools for AI models.