Skip to content

v22.2.1

Latest

Choose a tag to compare

@brandonlehmann brandonlehmann released this 21 May 13:06
· 1 commit to master since this release
9678195

Add MCP.Tool and MCP.Prompt inline-typing helpers.

Wrapping inline tool / prompt descriptors with MCP.Tool({...}) or MCP.Prompt({...}) locks generic inference from inputSchema / outputSchema / argsSchema, so callbacks type-check precisely without as any or as const workarounds. Existing inline arrays without the wrapper continue to work unchanged.

Also bumps @gibme/fetch from ^22.0.1 to ^22.1.0.