Edit

Share via


Model Context Protocol (MCP) in Business Central overview

APPLIES TO: Business Central online

The Model Context Protocol (MCP) is an open standard that defines how AI applications communicate with data sources and tools. It provides a consistent and secure way for AI clients—such as Copilot Studio, GitHub Copilot, Claude, ChatGPT, and custom agents—to access and interact with external systems like Business Central.

Shows how MCP clients connect to Business Central

Business Central MCP Server

An MCP server is a service that implements the Model Context Protocol, exposing an application's data and functionality to AI clients. When an AI client connects to an MCP server, it can read data, perform actions, and integrate that application's capabilities directly into conversational workflows—all through a standardized interface.

The Business Central MCP server enables AI clients to interact with Business Central environments from various channels such as Visual Studio Code, Copilot Studio, and other MCP-compliant clients, allowing customers and employees to conversationally work with Business Central data and business logic.

What the MCP Server can do

By default, the Business Central MCP server provides read-only access to all exposed Business Central API pages. With no extra configuration, MCP clients can read data from your Business Central environment. To enable write operations, administrators configure API page objects with specific permissions for create, modify, delete, and bound actions.

Once configured, these capabilities are exposed to agents as tools, which they can use to:

  • View and manage records – List, create, update, and delete entities such as customers, items, and sales orders
  • Execute business processes – Post documents, change statuses, and run business logic
  • Answer natural language queries – Provide conversational access to Business Central data

The capabilities available to agents depend on how the MCP server is configured and the permissions assigned to each API. Learn more in Configure Business Central MCP Server.

Supported MCP Clients

An MCP client is an AI application that can connect to the Business Central MCP server to discover available tools and run them. Business Central supports:

How MCP clients connect to MCP server

All MCP clients connect to the same Business Central MCP server endpoint:

https://mcp.businesscentral.dynamics.com

You specify which Business Central environment to connect to using the following HTTP headers:

HTTP header Description Example
TenantId Your Microsoft Entra tenant ID (GUID) aaaabbbb-0000-cccc-1111-dddd2222eeee
EnvironmentName The name of the Business Central environment to connect to Production
Company The company name within the environment CRONUS USA, Inc.
ConfigurationName (Optional) The MCP server configuration in the environment to use SalesTeamConfig

MCP clients authenticate with Business Central through a registered application in Microsoft Entra ID. Microsoft MCP clients (Visual Studio Code and Copilot Studio) use a preregistered application, so no extra setup is required. Non-Microsoft clients require you to register your own application.

How authentication works

The Business Central MCP server acts as a bridge between MCP clients and your Business Central data. Business Central MCP authentication follows the standard MCP authentication specification using OAuth 2.0 Authorization Code flow with Proof Key for Code Exchange (PKCE) and Microsoft Entra ID as the authorization server. The MCP server exposes Protected Resource Metadata (PRM) to help clients discover the authorization endpoints and required parameters for authentication. All operations are performed with your user identity and permissions, ensuring audit trails show who performed each action.

Shows the authentication flow between MCP clients and Business Central

Next steps