---
id: object/codeunit/8358
type: object
title: Codeunit 8358 "MCP Copilot Cap. Reg."
summary: Codeunit 8358 "MCP Copilot Cap. Reg." in System Application (System.MCP). 1 public procedures, 1 event subscribers. Introduced in BC29, still in BC30, changed in BC30.
tier: official
language: en
tags:
  - codeunit
  - system application
versions:
  introduced: "29"
  last_changed: "30"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 60ebfeb43107e00849e987e0d66af656e68e5aa3a75da6e4df004f15c47d8e19
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/System%20Application/App/MCP/src/Capability/MCPCopilotCapReg.Codeunit.al
    title: src/System Application/App/MCP/src/Capability/MCPCopilotCapReg.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/12207
    - change/bcapps/8634
object_type: codeunit
object_id: 8358
name: MCP Copilot Cap. Reg.
namespace: System.MCP
app: System Application
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in:
  - "30"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 2
  events: 0
  subscribers: 1
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 1
  called_by: 2
  implements: 0
---

# Codeunit 8358 "MCP Copilot Cap. Reg."

> Codeunit 8358 "MCP Copilot Cap. Reg." in System Application (System.MCP). 1 public procedures, 1 event subscribers. Introduced in BC29, still in BC30, changed in BC30.

System Application · System.MCP · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/System%20Application/App/MCP/src/Capability/MCPCopilotCapReg.Codeunit.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Access | Internal |

## Event subscriptions

- OnRegisterCopilotCapability subscribes to Page "Copilot AI Capabilities" OnRegisterCopilotCapability

## Procedures

- `RegisterMCPCapability()` (internal): Registers the MCP server capability so it appears on the Copilot &amp; agent capabilities page and is governed by the standard Activate/Deactivate flow.

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 7773 "Copilot Capability"](../codeunit/7773.md) (2 calls: `RegisterMCPCapability → IsCapabilityRegistered`, `RegisterMCPCapability → RegisterCapability`)

## Called by

- [Codeunit 8352 "MCP Install"](../codeunit/8352.md) (1 call: `OnInstallAppPerDatabase → RegisterMCPCapability`)
- [Codeunit 8356 "MCP Upgrade"](../codeunit/8356.md) (1 call: `UpgradeRegisterMCPCapability → RegisterMCPCapability`)

## Recent changes

- 2026-10-07 [#12207 [MCP] Prepare Data Query Tools for billing](../../changes/bcapps/12207.md) (main, BC30, feature)
- 2026-07-21 [#8634 [MCP] Register MCP server as a Copilot capability](../../changes/bcapps/8634.md) (main, BC30, feature, added)

## Across versions

- Present in: BC29-30
- Changed (declaration) in: BC30

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "codeunit", object_name: "MCP Copilot Cap. Reg.")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
