Skip to content

chore: upgrade sample-servers to MCP SDK 1.25.3 and zod 4#47

Merged
xiaoyijun merged 1 commit into
masterfrom
xiaoyijun-feat-upgrade-sample-servers-sdk
Jan 23, 2026
Merged

chore: upgrade sample-servers to MCP SDK 1.25.3 and zod 4#47
xiaoyijun merged 1 commit into
masterfrom
xiaoyijun-feat-upgrade-sample-servers-sdk

Conversation

@xiaoyijun

@xiaoyijun xiaoyijun commented Jan 23, 2026

Copy link
Copy Markdown
Contributor

Summary

Upgrade sample-servers to use the latest MCP SDK 1.25.3 and zod 4.

Changes:

  • Upgrade @modelcontextprotocol/sdk to ^1.25.3
  • Upgrade zod to ^4.3.5 for both mcp-auth and sample-servers
  • Use StreamableHTTPServerTransport instead of SSEServerTransport
  • Use server.registerTool() instead of server.tool()
  • Use protectedResourceMetadataRouter() for todo-manager (protected resource mode)
  • Add MCP_RESOURCE_IDENTIFIER env var for todo-manager
  • Update README with new environment variables
  • Add .env.example file

Testing

tested locally

Checklist

  • .changeset
  • unit tests
  • integration tests
  • necessary TSDoc comments

@codecov

codecov Bot commented Jan 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@xiaoyijun xiaoyijun merged commit c1e1c06 into master Jan 23, 2026
5 checks passed
@xiaoyijun xiaoyijun deleted the xiaoyijun-feat-upgrade-sample-servers-sdk branch January 23, 2026 01:21
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