feat: implement migration plan from low-level Server API to high-level McpServer API#386
Merged
jirispilka merged 3 commits intomasterfrom Jan 15, 2026
Merged
Conversation
…ial FastMCP integration
MQ37
reviewed
Jan 13, 2026
Contributor
MQ37
left a comment
There was a problem hiding this comment.
I think the plans looks good but we will encounter a lot of issues when actually implementing this. I think we should make our testing setup more robust before doing changes like this and that would be with the refactor at least one full sprint effort I think. It may be worth it as it sometimes happen that the SDK update introduces breaking changes for our implementation.
res/MCP_SERVER_REFACTOR_ANALYSIS.md
Outdated
| ### Key Changes | ||
|
|
||
| 1. **Replace `Server` with `McpServer`** - Use high-level API as foundation | ||
| 2. **Convert JSON Schema to Zod** - Use `json-schema-to-zod` library for Actor schemas |
Contributor
There was a problem hiding this comment.
json-schema-to-zod is deprecated with Zod v4 as v4 supports this natively
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:
Refactor
src/mcp/server.tsfrom the deprecated low-levelServerAPI to the recommended high-levelMcpServerAPI.Why:
Impact:
IMPORTANT - We don't want to start with implementation. This is only an analysis and possible impact