| Filename | Latest commit message | Latest commit date |
|---|---|---|
SDK v2 registerTool takes Standard JSON Schema objects (z.object(...))
and keeps a deprecated overload for the v1 raw-shape form. Mirror that
here so existing servers passing { field: z.string() } keep compiling;
the call is forwarded to the SDK, which auto-wraps the shape. Tests
exercise both forms end to end through a real McpServer and Client.
|
||
| .. | ||
| index.examples.ts | ||
| index.test.ts | ||
| index.ts | ||