topic hubCopilot & Agentsofficial - Microsoftreviewed - checked by Opus

Integrate with Model Context Protocol

Model Context Protocol (MCP) integration for Business Central: the Business Central MCP Server, its configuration, connecting hosts (VS Code, Copilot Studio, Claude, ChatGPT, GitHub Copilot CLI), and the AL MCP Server for AL development tools. It answers setup, access control and client connection questions.

Path: Integration with AI > Integrate with Model Context Protocol · tier official · system copilot · narrative reviewed (checked by Opus)

Overview

This area covers two MCP servers. The Business Central MCP Server lets AI clients work with Business Central data and business logic through the MCP standard, using API pages and queries. The AL MCP Server exposes AL development tools to any MCP-compatible agent, so builds and symbol searches do not need Visual Studio Code.

Start with the overview and setup page, then the configuration page, where administrators define which APIs agents can reach and which operations (read, create, modify, delete, actions) are allowed. After that, pick the connection page for your client: Visual Studio Code with GitHub Copilot, Copilot Studio agents (via the Business Central connector or the MCP server), or non-Microsoft hosts such as GitHub Copilot CLI, Claude and ChatGPT, which need a Microsoft Entra ID app registration and manual client configuration.

Developers who want agents to build, compile and publish AL code should go to the AL MCP Server page.

Key points

  • Business Central MCP Server supports API Tools, Dynamic Tool Mode and Data Query Tools, including read-only API access, record management and business process execution.
  • Administrators create configurations that define which APIs agents can access and which operations are permitted.
  • Non-Microsoft hosts (GitHub Copilot CLI, Claude, ChatGPT) connect using Entra ID app registration, redirect URI configuration and delegated permissions.
  • VS Code supports user-level or workspace-level MCP configuration, headerless connections and agent mode with GitHub Copilot.
  • Copilot Studio agents can use either the Business Central connector or the MCP server, with appropriate Business Central permissions.
  • Copilot Studio connector actions include find, create, update and delete records plus API actions; the MCP route offers dynamic tool discovery.
  • AL MCP Server tools: al_build, al_compile, al_publish, al_downloadsymbols, al_symbolsearch and al_getdiagnostics.

Learn pages

Videos and posts

Linked by a Haiku matcher with a grounding quote from the item’s summary (link/topics.ts); machine-generated.

Business Central pages and reports

The pages, reports and queries this hub’s Learn pages name (ms.search.form, API reference), joined to the code by exact object id (data/index/docs-objects.json); a page shows the table it runs on.

Source: Microsoft Learn (CC BY 4.0). Descriptions are Learn’s own.

What Learn documents here 6 Learn pages