ruby-sdk/test/mcp/resource
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Koichi ITO 08832c6b43 Fix Resource::Contents#to_h to use correct property names per MCP spec
This PR fixes thr following fields with the MCP specification which requires:

- Text resources use `text` and `mimeType` fields
- Binary resources use `blob` (base64-encoded) and `mimeType` fields

https://modelcontextprotocol.io/specification/2025-11-25/server/resources#resource-contents

Fixes #234.
2026-02-19 13:50:10 +09:00
..
contents_test.rb Fix Resource::Contents#to_h to use correct property names per MCP spec 2026-02-19 13:50:10 +09:00
embedded_test.rb Fix Resource::Embedded not setting @resource in initialize 2026-01-26 11:37:33 +09:00