Skip to content

[MCP] Include API Version in MCP Configuration Import/Export#6665

Merged
onbuyuka merged 1 commit intomainfrom
bugs/621816-MCPImportExportAPIVersion
Feb 19, 2026
Merged

[MCP] Include API Version in MCP Configuration Import/Export#6665
onbuyuka merged 1 commit intomainfrom
bugs/621816-MCPImportExportAPIVersion

Conversation

@onbuyuka
Copy link
Contributor

@onbuyuka onbuyuka commented Feb 13, 2026

Fix: Include API Version in MCP Configuration Import/Export

Problem

When exporting and importing MCP configurations, the API Version field on configuration tools was not included in the JSON payload. This meant that after a round-trip (export → import), all tools would lose their API version, silently defaulting to an empty value.

Changes

MCPConfigImplementation.Codeunit.al

  • Export: Added apiVersion property to each tool object in the exported JSON.
  • Import: Added parsing of the apiVersion property when importing tools, populating API Version on the MCP Configuration Tool record.

MCPConfigTest.Codeunit.al

  • CreateMCPConfigTool now sets API Version := 'v2.0' to ensure export produces a realistic payload.
  • TestImportConfiguration now asserts that the imported tool retains the correct API version after round-trip.

Testing

  • Existing TestExportConfiguration and TestImportConfiguration tests now cover the apiVersion field end-to-end.

Fixes AB#621816

@onbuyuka onbuyuka requested a review from a team as a code owner February 13, 2026 15:23
@onbuyuka onbuyuka changed the title Fix: Include API Version in MCP Configuration Import/Export [MCP] Include API Version in MCP Configuration Import/Export Feb 13, 2026
@onbuyuka onbuyuka enabled auto-merge (squash) February 13, 2026 15:24
@github-actions github-actions bot added this to the Version 28.0 milestone Feb 13, 2026
@github-actions
Copy link

⚠️ Stale Status Check Deleted

The Pull Request Build workflow run for this PR was older than 72 hours and has been deleted.

📋 Why was it deleted?

Status checks that are too old may no longer reflect the current state of the target branch. To ensure this PR is validated against the latest code and passes up-to-date checks, a fresh build is required.


🔄 How to trigger a new status check:

  1. 📤 Push a new commit to the PR branch, or
  2. 🔁 Close and reopen the PR

This will automatically trigger a new Pull Request Build workflow run.

@onbuyuka onbuyuka closed this Feb 19, 2026
auto-merge was automatically disabled February 19, 2026 11:52

Pull request was closed

@onbuyuka onbuyuka reopened this Feb 19, 2026
@onbuyuka onbuyuka enabled auto-merge (squash) February 19, 2026 12:48
@onbuyuka onbuyuka merged commit 7a2f06e into main Feb 19, 2026
94 of 96 checks passed
@onbuyuka onbuyuka deleted the bugs/621816-MCPImportExportAPIVersion branch February 19, 2026 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments