[MCP] Hide codeunit APIs from Available APIs dropdown (AB#650771) - #11701
Open
Divyanshu Kapoor (divyanshukapoor) wants to merge 1 commit into
Open
Divyanshu Kapoor (divyanshukapoor) wants to merge 1 commit into
Divyanshu Kapoor (divyanshukapoor) wants to merge 1 commit into
Conversation
Restrict the Object Type field on the Available APIs page to Page and Query using ValuesAllowed, so Codeunit is no longer selectable in the dropdown while remaining a valid Platform table option. All dormant Codeunit validation/tool/version plumbing remains unchanged. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Divyanshu Kapoor (divyanshukapoor)
requested a review
from a team
as a code owner
September 22, 2026 05:25
Divyanshu Kapoor (divyanshukapoor)
deployed
to
triage
September 22, 2026 05:25 — with
GitHub Actions
Active
Darrick (darjoo)
approved these changes
Sep 22, 2026
Divyanshu Kapoor (divyanshukapoor)
enabled auto-merge (squash)
September 22, 2026 07:34
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What & why
Platform compiler support for API codeunits is still pending. This removes Codeunit choices from the MCP Configuration Available APIs lookup to avoid presenting customers with options that cannot yet be used.
Page and Query lookup behavior is unchanged. All dormant Codeunit validation, tool creation, helper, and version plumbing remains in place so the option can be re-enabled when compiler support is available.
Linked work
AB#650771
How I validated this
What I tested and the outcome (required - be specific: scenarios, commands, screenshots for UI changes)
origin/main: one MCP file changed, with four deletions and no insertions.Risk & compatibility
Low risk. The change only hides Codeunit choices from the Available APIs picker while compiler support is pending. It does not change Page or Query behavior, persisted configuration data, upgrade behavior, or dormant Codeunit validation/tool/version support.