---
id: topic/dev-itpro/integration-with-ai
type: topic
title: Integration with AI
summary: "Integration with AI in Business Central covers how partners and developers build AI features: Copilot extensions in AL, machine learning APIs, Model Context Protocol (MCP) servers, and custom agents (preview). It answers setup, design, connection and responsible-use questions."
tier: official
language: en
system: copilot
review:
  state: reviewed
  by: opus
  at: "2026-10-07T02:14:54.518Z"
  flags: []
generated:
  at: "2026-10-08T00:04:31.553Z"
  pipeline: 0.2.0
  prompts:
    hub-topic: 1
  input_hash: 3a0af613e330cc71126eec7ae602eb55a12ab29b3551357628e2f618098fd781
evidence:
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/ai/ai-agent-models
    title: AI Models for Agents (preview)
    date: "2026-06-02"
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/al-agent-tools/al-mcp-server
    title: AL MCP Server
    date: "2026-10-02"
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/ai/ai-development-toolkit-attachments
    title: Attachment capabilities and limitations (preview)
    date: "2026-10-02"
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/ai/ai-development-toolkit-best-practices
    title: Best practices for designing an agent (preview)
    date: "2026-10-02"
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/ai-test-copilot-bestpractices
    title: Best Practices for Testing the Copilot Capability in AL
    date: "2026-10-02"
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/ai-build-experience
    title: Build a Copilot user experience with the PromptDialog page
    date: "2026-05-03"
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/ai-build-capability-in-al
    title: Build the Copilot capability in AL
    date: "2026-10-02"
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/ai/mcp-overview
    title: Business Central MCP Server Overview and Setup
    date: "2026-10-02"
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/ai/ai-agent-sdk-overview
    title: Coding agents in AL (preview)
    date: "2026-10-02"
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/ai/ai-agent-sdk-configuration
    title: Configure agents programmatically (preview)
    date: "2026-10-02"
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/ai/configure-mcp-server
    title: Configure Business Central MCP Server
    date: "2026-10-02"
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/ai/use-mcp-server-non-microsoft
    title: Connect Business Central MCP Server to non-Microsoft hosts
    date: "2026-10-02"
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/ai/use-mcp-server-in-vscode
    title: Connect to Business Central MCP Server with Visual Studio Code
    date: "2026-10-02"
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/ai/ai-agent-sdk-convert-agent
    title: Convert an agent to AL code (preview)
    date: "2026-05-03"
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/ai/ai-development-toolkit-sales-validation
    title: Create a Sales Validation Agent
    date: "2026-10-02"
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/ai/ai-agent-sdk-setup-page
    title: Create agent setup pages (preview)
    date: "2026-10-02"
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/ai/create-agent-in-copilot-studio
    title: Create Agents in Copilot Studio that Connect to Business Central
    date: "2026-10-02"
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/ai/ai-development-toolkit-agent-create
    title: Create and activate an agent (preview)
    date: "2026-10-02"
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/copilot-create-promptdialog
    title: Create prompt dialog page for Copilot feature
    date: "2026-10-02"
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/copilot-customize-generate-mode
    title: Customize generate mode caption in Copilot
    date: "2026-10-02"
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/ai-test-copilot-datasets
    title: Datasets
    date: "2026-10-02"
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/ai/ai-agent-sdk-define-register
    title: Define and register an agent programmatically (preview)
    date: "2026-10-02"
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/copilot-design-content-mode
    title: Design content mode of prompt dialog page
    date: "2026-10-02"
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/copilot-design-prompt-mode
    title: Design the prompt mode of prompt dialog page
    date: "2026-10-02"
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/ai/ai-development-toolkit-overview
    title: Designing and coding agents (preview)
    date: "2026-10-02"
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/devenv-page-prompt-error-handling
    title: Error handling in prompt dialogs
    date: "2026-10-02"
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/ai-test-copilot-testtool
    title: Evaluation
    date: "2026-10-02"
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/ai/ai-development-toolkit-export-import
    title: Export and Import an agent configuration
    date: "2026-10-02"
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/ml-forecasting-api-overview
    title: Forecasting API overview
    date: "2024-09-13"
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/ai/ai-development-toolkit-faq
    title: Frequently asked questions (preview)
    date: "2026-10-02"
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/ai-system-app-function-calling
    title: Function calling in AI
    date: "2026-10-02"
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/ai-dev-tools-get-started
    title: Get set up with Azure OpenAI Service
    date: "2026-10-02"
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/copilot-and-agents-influence-without-extending
    title: Influence Copilot and agents without extending them
    date: "2026-10-02"
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/ai/ai-development-toolkit-instruction-keywords
    title: Instruction keywords for an agent (preview)
    date: "2026-10-02"
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/ai/ai-development-toolkit-tasks-api
    title: Integrate with the Tasks AL API (preview)
    date: "2026-10-02"
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/ai-build-experience-overview
    title: Introduction to developing generative AI experiences for your extensions
    date: "2025-07-25"
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/ai/ai-development-toolkit-iterate
    title: Iterate and manage an agent (preview)
    date: "2026-10-02"
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/ai/ai-agent-sdk-tasks
    title: Managing agent tasks programmatically (preview)
    date: "2026-10-02"
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/ml-prediction-api-overview
    title: Prediction API overview
    date: "2024-09-13"
    commit: null
    t: null
    quote: null
  - kind: learn
    url: https://learn.microsoft.com/dynamics365/business-central/dev-itpro/developer/ai-prepare-app-help-copilot
    title: Prepare your app Help for Copilot (preview)
    date: "2026-05-03"
    commit: null
    t: null
    quote: null
links:
  learn: []
  objects:
    - object/page/8350
    - object/page/8351
    - object/page/8359
  features: []
  topics:
    - topic/dev-itpro/integration-with-ai/integrate-ai-using-developer-tools-for-c
    - topic/dev-itpro/integration-with-ai/develop-ai-with-machine-learning-apis
    - topic/dev-itpro/integration-with-ai/integrate-with-model-context-protocol
    - topic/dev-itpro/integration-with-ai/designing-and-coding-agents-preview
  localizations: []
  videos:
    - video/7SSNcUMFtCw
  posts:
    - post/demiliani-com/12036
  guidelines: []
  changes:
    - change/bcapps/10205
learn_toc_path:
  - Integration with AI
toc_file: dev-itpro/TOC.md
parent: null
children:
  - topic/dev-itpro/integration-with-ai/integrate-ai-using-developer-tools-for-c
  - topic/dev-itpro/integration-with-ai/develop-ai-with-machine-learning-apis
  - topic/dev-itpro/integration-with-ai/integrate-with-model-context-protocol
  - topic/dev-itpro/integration-with-ai/designing-and-coding-agents-preview
coverage:
  learn: 56
  code: 3
  video: 1
  blog: 1
  guideline: 0
bc_forms:
  - 8350
  - 8351
  - 8359
member_hash: c2dd5f9cf5ebc4993d1fb12616a73bd1c730dd902c12bbed7966eba02503f218
narrative: generated
---

# Integration with AI

> Integration with AI in Business Central covers how partners and developers build AI features: Copilot extensions in AL, machine learning APIs, Model Context Protocol (MCP) servers, and custom agents (preview). It answers setup, design, connection and responsible-use questions.

Path: Integration with AI · tier official · system copilot · narrative reviewed (checked by Opus)

## Overview

This area groups four ways to bring AI into Business Central. Developer tools for Copilot cover generative AI features written in AL, including the System.AI module, the PromptDialog page type and Azure OpenAI setup. The machine learning APIs cover the Forecasting (Time Series) and Prediction APIs.

The Model Context Protocol pages describe the Business Central MCP Server and the AL MCP Server, and how to connect them from hosts such as VS Code and Copilot Studio. The agents (preview) pages explain how to design, create, configure, run and code custom agents with the AI development toolkit in sandboxes.

Start with the Copilot developer tools if you are building generative AI features in AL. Choose the machine learning APIs for forecasting or prediction tasks. Go to the MCP pages to expose Business Central to external AI hosts. Use the agents pages for custom agents that work on tasks.

## Key points

- Copilot developer tools: what counts as a Copilot extension, the System.AI module, the PromptDialog page type, Azure OpenAI setup, Business Central AI resources, Help preparation and a transparency note.
- Machine learning APIs: the Forecasting (Time Series) API and the Prediction API, plus a transparency note on capabilities, limits and responsible AI.
- Business Central MCP Server: overview, configuration, API tools, dynamic tool mode and data query tools.
- MCP connection options: VS Code, Copilot Studio and non-Microsoft hosts, with access-control guidance.
- AL MCP Server: supports AL development tools.
- Agents (preview): design, create, configure, run, iterate and code custom agents with the AI development toolkit in sandboxes.
- Agent topics include instructions, permissions and profiles, tasks, attachments, visibility, export/import and the Tasks AL API.

## Subtopics

- [Integrate AI using developer tools for Copilot](integration-with-ai/integrate-ai-using-developer-tools-for-c.md) (24 pages)
- [Develop AI with machine learning APIs](integration-with-ai/develop-ai-with-machine-learning-apis.md) (3 pages)
- [Integrate with Model Context Protocol](integration-with-ai/integrate-with-model-context-protocol.md) (6 pages)
- [Designing and coding agents (preview)](integration-with-ai/designing-and-coding-agents-preview.md) (23 pages)

## Videos, posts and code changes

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

- [#10205 Deprecate Text Completion API in AI SDK (work item 621038)](../../changes/bcapps/10205.md) (code change): "Text Completion API in the Azure OpenAI AI module is marked obsolete"
- [Why not start improving Business Central APIs definitions for supporting AI?](../../posts/demiliani-com/12036.md) (community post): "Business Central APIs lack AI-ready metadata that LLMs need to reliably call functions"
- [What's New: Business Central AI Resources (2025 release wave 1)](../../videos/7SSNcUMFtCw.md) (video): "ai resources; copilot; azure openai; content safety; data privacy"

## 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.

- [Page 8350 "MCP Config List"](../../objects/page/8350.md) · captioned "Model Context Protocol (MCP) Server Configurations" · via [Integrate with Model Context Protocol](integration-with-ai/integrate-with-model-context-protocol.md)
- [Page 8351 "MCP Config Card"](../../objects/page/8351.md) · captioned "Model Context Protocol (MCP) Server Configuration" · via [Integrate with Model Context Protocol](integration-with-ai/integrate-with-model-context-protocol.md)
- [Page 8359 "MCP Config Warning List"](../../objects/page/8359.md) · captioned "MCP Configuration Warnings" · on [Table 8352 "MCP Config Warning"](../../objects/table/8352.md) · via [Integrate with Model Context Protocol](integration-with-ai/integrate-with-model-context-protocol.md)

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