Adds _meta to additional interface types by ihrpr · Pull Request #630 · modelcontextprotocol/typescript-sdk

Add _meta fields to additional MCP types. This PR updates the TypeScript SDK to align with the protocol changes from modelcontextprotocol/modelcontextprotocol#710, which added _meta fields to several additional types in the MCP specification.

Added the optional _meta field to the following types that did not previously have it:

  • Resource
  • ResourceTemplate
  • Tool
  • TextContent
  • ImageContent
  • AudioContent
  • Root

Closes #625