-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Fix #25094: Upgrade MCP server SDK support #25097
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
openmetadata-mcp/src/main/java/org/openmetadata/mcp/AuthEnrichedMcpContextExtractor.java
Show resolved
Hide resolved
🔍 CI failure analysis for 6bf1c08: Python tests blocked by type checking error (missing 'extension' parameter). Playwright tests mostly passing (880+) with a few UI test failures unrelated to MCP SDK changes.IssueTwo types of CI failures:
Root CausesPython Tests - Type Checking ErrorMissing required parameter in SDK example: The basedpyright type checker blocks all Python tests before they can run. Playwright Tests - Test FailuresMultiple Playwright jobs with similar patterns:
Common failures: Element visibility assertions in Glossary, Tags, Users, SubDomains ImpactPython test jobs: All blocked by type checking error
Playwright test jobs: Mixed results
The Playwright failures are in UI components unrelated to the MCP SDK backend changes. They appear to be pre-existing flaky tests or timing issues in the test environment, not caused by this PR. Code Review 👍 Approved with suggestionsSDK upgrade looks solid with good test coverage. One behavioral change for null token handling needs clarification to ensure auth works as expected.
|
| Auto-apply | Compact |
|
|
Was this helpful? React with 👍 / 👎 | This comment will update automatically (Docs)
|
|
Failed to cherry-pick changes to the 1.11.5 branch. |
* Fix #25094: Upgrade MCP SDK lib * Update json-validator deps --------- Co-authored-by: Mohit Yadav <105265192+mohityadav766@users.noreply.github.com> Co-authored-by: mohitdeuex <mohit.y@deuexsolutions.com> (cherry picked from commit 39b26e4) # Conflicts: # openmetadata-service/src/main/java/org/openmetadata/service/TypeRegistry.java # openmetadata-service/src/main/java/org/openmetadata/service/jdbi3/EntityRepository.java
|
manually picked |



Describe your changes:
Fixes #25094
I worked on ... because ...
Type of change:
Checklist:
Fixes <issue-number>: <short explanation>Summary by Gitar
mcp-sdk.versionfrom 0.14.0 to 0.17.0 inopenmetadata-mcp/pom.xmlMcpSchema.CallToolResultbuilder pattern with direct constructor calls inDefaultToolContext.javaMcpTransportContextcreation to use immutableMap.of()inAuthEnrichedMcpContextExtractor.javaMcpSdkUpgradeTest.java(185 lines) validating all SDK 0.17.0 API changesThis will update automatically on new commits.