Skip to content

Update MCP SDK from 0.12.1 to 0.17.2#117

Merged
adamw7 merged 6 commits into
mainfrom
claude/update-mcp-latest-dcFor
Feb 11, 2026
Merged

Update MCP SDK from 0.12.1 to 0.17.2#117
adamw7 merged 6 commits into
mainfrom
claude/update-mcp-latest-dcFor

Conversation

@adamw7
Copy link
Copy Markdown
Owner

@adamw7 adamw7 commented Feb 10, 2026

Upgrade mcp-bom to latest version and adapt to breaking API changes:

  • StdioServerTransportProvider now requires McpJsonMapper parameter
  • Add io.modelcontextprotocol.sdk.mcp.json module requirement

https://claude.ai/code/session_019EaDJTY1RZjUexD8Eq9YGT

Upgrade mcp-bom to latest version and adapt to breaking API changes:
- StdioServerTransportProvider now requires McpJsonMapper parameter
- Add io.modelcontextprotocol.sdk.mcp.json module requirement

https://claude.ai/code/session_019EaDJTY1RZjUexD8Eq9YGT
MCP SDK 0.17.2 no longer properly supports JPMS - mcp-core declares an
invalid Automatic-Module-Name containing a hyphen, and the other JARs
(mcp, mcp-json, mcp-json-jackson2) don't declare module names at all.
Remove module-info.java from both data and data-test modules since
Spring Boot applications work fine without JPMS.

https://claude.ai/code/session_019EaDJTY1RZjUexD8Eq9YGT
In MCP SDK 0.17.2, Tool.builder().inputSchema() no longer accepts a
JSON string — it requires a McpSchema.JsonSchema object.

https://claude.ai/code/session_019EaDJTY1RZjUexD8Eq9YGT
…apper

The jackson2 package is not directly accessible from the mcp umbrella
artifact. Use McpJsonMapper.getDefault() which auto-detects the Jackson
implementation on the classpath.

https://claude.ai/code/session_019EaDJTY1RZjUexD8Eq9YGT
The error message format varies across Derby versions. Assert on the
meaningful part (table name) instead of the full message string.

https://claude.ai/code/session_019EaDJTY1RZjUexD8Eq9YGT
MCP SDK 0.17.2 mcp-core JAR declares an invalid Automatic-Module-Name
(io.modelcontextprotocol.sdk.mcp-core) containing a hyphen, which is
not a legal JPMS module name. This causes the JAR to fall back to the
classpath as an unnamed module.

Restore module-info.java for both data and data-test modules, but
without MCP requires directives. Instead, configure maven-compiler-plugin
and maven-surefire-plugin with --add-reads datamodule=ALL-UNNAMED so
the module can access MCP classes from the unnamed module (classpath).

https://claude.ai/code/session_019EaDJTY1RZjUexD8Eq9YGT
@adamw7 adamw7 merged commit 6f7b5cf into main Feb 11, 2026
2 checks passed
@adamw7 adamw7 deleted the claude/update-mcp-latest-dcFor branch February 11, 2026 12:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants