Commit 66ef4df
committed
chore(server): add zod dep for McpServer migration (Phase 0)
Phase 0 of the Server→McpServer + valibot→Zod migration. A throwaway POC
(deleted) validated the target pattern over raw stdio: McpServer with a
registration loop + shared dispatch callback, Zod raw-shape inputSchema
auto-generating the tools/list JSON Schema with field descriptions
(.describe() preserved) and required/optional/min-max intact, registerPrompt
for figma_to_code, edge validation rejecting bad args (-32602), and no
deprecated Server symbol. zod is pinned to ^4.4.3 to match the SDK's resolved
peer (no dual version).1 parent 8de7066 commit 66ef4df
2 files changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
| 34 | + | |
34 | 35 | | |
35 | 36 | | |
36 | 37 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments