How-ToIntegrations

How to Use the MCP Server in Business Central

Learn how to set up and use the Business Central MCP server to let AI clients like GitHub Copilot, Claude, and ChatGPT interact with your Business Central data.

7 min read

The Model Context Protocol (MCP) is an open standard that defines how AI applications communicate with external data sources. Starting with 2026 release wave 1 (version 28.0), Business Central includes an MCP server that lets AI clients read data, perform actions, and work with your BC environment through a conversational interface.

This means you can ask an AI assistant to look up a customer balance, list open sales orders, or create a purchase order, all without opening Business Central directly.


What the MCP Server Does

The Business Central MCP server exposes your environment’s API pages to AI clients as tools. By default, the server provides read-only access to all exposed API pages.

With additional configuration, administrators can enable write operations for specific API pages, allowing agents to:

  • List, create, update, and delete records such as customers, items, and sales orders.
  • Execute business processes like posting documents or changing statuses.
  • Answer natural language questions about Business Central data.

The capabilities available depend on how the MCP server is configured and the permissions assigned to each API page.


Supported AI Clients

An MCP client is any AI application that can connect to the Business Central MCP server. Supported clients include:

ClientSetup required
Visual Studio Code with GitHub CopilotNone (uses pre-registered Microsoft Entra app)
Copilot StudioNone (uses pre-registered Microsoft Entra app)
Claude, ChatGPT, MCP InspectorRegister your own Microsoft Entra ID application

Any client that complies with the Model Context Protocol specification can connect.


How Connections Work

All MCP clients connect to the same endpoint:

https://mcp.businesscentral.dynamics.com

The client specifies which Business Central environment to connect to using HTTP headers:

HeaderDescriptionExample
TenantIdYour Microsoft Entra tenant ID (GUID)aaaabbbb-0000-cccc-1111-dddd2222eeee
EnvironmentNameThe BC environment nameProduction
CompanyThe company within the environmentCRONUS USA, Inc.
ConfigurationName(Optional) A specific MCP server configurationSalesTeamConfig

Authentication

The MCP server uses OAuth 2.0 Authorization Code flow with PKCE through Microsoft Entra ID. All operations run under your user identity and permissions. This means:

  • The agent can only access data you have permission to see.
  • All actions are logged under your user account in the audit trail.
  • There is no separate service account or elevated access.

Microsoft MCP clients (VS Code and Copilot Studio) use a pre-registered Entra application, so no extra setup is required. For non-Microsoft clients, you need to register your own application in Microsoft Entra ID.


Connect from Visual Studio Code

If you use GitHub Copilot in VS Code, connecting to Business Central requires minimal setup:

  1. Open VS Code with the GitHub Copilot extension installed.
  2. Configure the MCP server connection. You need to specify the endpoint URL and the HTTP headers for your tenant, environment, and company.
  3. Start a conversation with Copilot. It will discover the available tools from the MCP server and can use them to answer questions about your BC data.

The exact configuration steps depend on the MCP client configuration format in VS Code. See the Microsoft documentation for current setup instructions.


Connect from Copilot Studio

Copilot Studio agents can connect to Business Central through the MCP server to build custom conversational experiences. Since Copilot Studio uses a pre-registered Microsoft application, no Entra ID app registration is needed.

Configure the connection in your Copilot Studio agent by pointing it to the MCP server endpoint with the appropriate headers for your environment.


Connect Non-Microsoft Clients

For AI clients like Claude, ChatGPT, or custom agents:

  1. Register an application in Microsoft Entra ID with the appropriate permissions for Business Central.
  2. Configure the MCP client to use the registered application for authentication.
  3. Point the client to https://mcp.businesscentral.dynamics.com with the required HTTP headers.

The MCP server exposes Protected Resource Metadata (PRM) to help clients discover authorization endpoints and required parameters.


Configure Write Operations

By default, the MCP server only allows read access. To enable agents to create, modify, or delete records:

  1. Configure API page objects with specific permissions for create, modify, delete, and bound actions.
  2. Use the optional ConfigurationName header to apply different configurations for different teams or use cases.

See the Microsoft documentation on configuring the Business Central MCP server for detailed steps.


Feature Management

In version 28.0, the Enable MCP Server access feature is listed in Feature Management and enabled for all users by default. Disabling it has no effect in this version. The toggle will be removed in a future update.


For a broader overview of all new features in this release, see What’s New in Business Central 2026 Release Wave 1.