---
id: change/bcapps/10008
type: change
title: "#10008 [MCP] Add codeunit APIs as MCP tools in MCP configuration"
summary: Codeunit APIs are now integrated into MCP configuration as a new object type alongside API pages and queries, with unified selection UI and metadata sourced from the Api Web Service table.
tier: official
language: en
tags:
  - feature
  - main
  - bc30
  - page api overview
  - table api overview buffer
  - codeunit mcp config
  - codeunit mcp config implementation
  - codeunit mcp config missing object
  - codeunit mcp config missing parent
system: development
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:08:12.756Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 6670f6a16f9df987e16b6c6af4b7f34af14a3094
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/10008
    title: "microsoft/BCApps#10008: [MCP] Add codeunit APIs as MCP tools in MCP configuration"
    date: "2026-08-20"
    commit: 6670f6a16f9df987e16b6c6af4b7f34af14a3094
    t: null
    quote: Adds Codeunit as a new object type in the MCP configuration UI, at parity with API pages and queries
links:
  learn: []
  objects:
    - object/page/812
    - object/table/812
    - object/codeunit/8350
    - object/codeunit/8351
    - object/codeunit/8353
    - object/codeunit/8354
    - object/codeunit/8356
    - object/page/8376
    - object/page/8352
    - object/table/8357
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 10008
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/10008
kind: pr
base_branch: main
major: "30"
merged_at: "2026-08-20T02:58:55Z"
author: onbuyuka
author_type: User
community_contribution: false
labels:
  - "AL: System Application"
  - "Team: Integrations"
change_class: code
change_kind: feature
behavior_change: true
breaking: false
files:
  count: 13
  additions: 615
  deletions: 269
  al: 10
apps:
  - Base Application
  - System Application
objects_touched:
  - key: page/812
    page: page/812
    type: page
    id: 812
    name: API Overview
    app: Base Application
    status: modified
  - key: table/812
    page: table/812
    type: table
    id: 812
    name: API Overview Buffer
    app: Base Application
    status: modified
  - key: codeunit/8350
    page: codeunit/8350
    type: codeunit
    id: 8350
    name: MCP Config
    app: System Application
    status: modified
  - key: codeunit/8351
    page: codeunit/8351
    type: codeunit
    id: 8351
    name: MCP Config Implementation
    app: System Application
    status: modified
  - key: codeunit/8353
    page: codeunit/8353
    type: codeunit
    id: 8353
    name: MCP Config Missing Object
    app: System Application
    status: modified
  - key: codeunit/8354
    page: codeunit/8354
    type: codeunit
    id: 8354
    name: MCP Config Missing Parent
    app: System Application
    status: modified
  - key: codeunit/8356
    page: codeunit/8356
    type: codeunit
    id: 8356
    name: MCP Upgrade
    app: System Application
    status: modified
  - key: page/8376
    page: page/8376
    type: page
    id: 8376
    name: MCP API Object Lookup
    app: System Application
    status: modified
  - key: page/8352
    page: page/8352
    type: page
    id: 8352
    name: MCP Config Tool List
    app: System Application
    status: modified
  - key: table/8357
    page: table/8357
    type: table
    id: 8357
    name: MCP API Object Buffer
    app: System Application
    status: modified
objects_unjoined: []
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 643238
systems:
  - development
  - integration
quote: Adds Codeunit as a new object type in the MCP configuration UI, at parity with API pages and queries
joined_against:
  major: "30"
  commit: ecbc028c25dbe83b61313bc566e6c1d41184bb1c
---

# #10008 [MCP] Add codeunit APIs as MCP tools in MCP configuration

> Codeunit APIs are now integrated into MCP configuration as a new object type alongside API pages and queries, with unified selection UI and metadata sourced from the Api Web Service table.

[Pull request](https://github.com/microsoft/BCApps/pull/10008) · merged into `main` (BC30) on 2026-08-20 by onbuyuka · 13 files (+615 -269), 10 AL · feature · tier official · reviewed (checked by Opus)

## What changed

- Codeunits are added as an MCP tool object type, at parity with API pages and queries, with a new CreateCodeunitAPITool facade
- API metadata for pages, queries and codeunits now comes from the Api Web Service table, and only published APIs are listed
- The API Overview page lists pages, queries and codeunits, and its Entity column shows the entity set name
- Allow Bound Actions is renamed to Allow Actions; AllowBoundActions is deprecated, and for codeunit tools Allow Actions is the invoke toggle
- Microsoft and standard beta pages are excluded from selection, while third-party beta pages stay available
- Behaviour changes for users or extensions.

## AL objects touched

- [Page 812 "API Overview"](../../objects/page/812.md), Base Application: modified
- [Table 812 "API Overview Buffer"](../../objects/table/812.md), Base Application: modified
- [Codeunit 8350 "MCP Config"](../../objects/codeunit/8350.md), System Application: modified
- [Codeunit 8351 "MCP Config Implementation"](../../objects/codeunit/8351.md), System Application: modified
- [Codeunit 8353 "MCP Config Missing Object"](../../objects/codeunit/8353.md), System Application: modified
- [Codeunit 8354 "MCP Config Missing Parent"](../../objects/codeunit/8354.md), System Application: modified
- [Codeunit 8356 "MCP Upgrade"](../../objects/codeunit/8356.md), System Application: modified
- [Page 8376 "MCP API Object Lookup"](../../objects/page/8376.md), System Application: modified
- [Page 8352 "MCP Config Tool List"](../../objects/page/8352.md), System Application: modified
- [Table 8357 "MCP API Object Buffer"](../../objects/table/8357.md), System Application: modified

## Context

- Work items: AB#643238
- Labels: AL: System Application, Team: Integrations
- Systems: development, integration
- From the description: "Adds Codeunit as a new object type in the MCP configuration UI, at parity with API pages and queries"

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).
