Dynamics 365 Business Central MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| D365_MODE | No | Runtime mode for the server. Use 'sandbox' for the zero-credential in-memory sandbox or 'live' to connect to Microsoft Dynamics 365 Business Central OData v4 APIs. | sandbox |
| D365_CLIENT_ID | No | Microsoft Entra ID client ID. Required when D365_MODE is 'live'. | |
| D365_READ_ONLY | No | Read-only default. When true, all mutation paths are disabled. Set to false explicitly to enable controlled draft writes. | true |
| D365_TENANT_ID | No | Microsoft Entra ID tenant ID. Required when D365_MODE is 'live'. | |
| D365_COMPANY_ID | No | Dynamics 365 Business Central company ID. Required when D365_MODE is 'live'. | |
| D365_REDACT_PII | No | Deterministic recursive PII redaction. When true, nested values are scrubbed for IBANs, Pakistani CNICs, US SSNs, email addresses, and phone numbers before leaving the server. | true |
| D365_CLIENT_SECRET | No | Microsoft Entra ID client secret. Required when D365_MODE is 'live'. | |
| D365_ENVIRONMENT_NAME | No | Dynamics 365 Business Central environment name. Required when D365_MODE is 'live'. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Governed Microsoft Dynamics 365 Business Central MCP server. Read-only by default with deterministic PII redaction and HMAC write approvals.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| bc_get_customer_ledgerC | Read Business Central customer ledger entries with PII redaction. |
| bc_get_gl_trial_balanceC | Read Business Central general ledger trial balance rows. |
| bc_get_purchase_ordersC | Read Business Central purchase orders filtered by status or vendor number. |
| bc_validate_tax_invoiceC | Validate an invoice payload against PK_FBR_IRIS, SA_ZATCA_P2, or AE_UAE_VAT. |
| bc_request_write_approvalB | Issue a short-lived HMAC-SHA256 approval token for a controlled draft write. |
| bc_create_draft_journalB | Create an unposted draft general journal batch. Requires D365_READ_ONLY=false and a valid HMAC approval token. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 6 tools
Each tool targets a distinct resource or action: three different read surfaces, one tax validation, one approval-token issuance, and one draft-journal creation. The approval-token tool and draft-journal tool are related but clearly differentiated by their descriptions.
All tools use a consistent `bc_` prefix followed by a snake_case verb_noun pattern, such as `bc_get_customer_ledger`, `bc_validate_tax_invoice`, and `bc_create_draft_journal`. The convention is predictable throughout the set.
Six tools is a reasonable, well-scoped size for a focused finance and compliance subset, and each tool has a clear role. It is slightly thin for a broad Dynamics 365 Business Central server, but not unreasonably so.
The set covers several read scenarios plus a controlled draft-write workflow, but lifecycle coverage is notably incomplete: there is no way to read, update, post, or delete the created draft journal. Broader Business Central operations such as vendor, item, sales-order, or posting workflows are also absent.