baxter2
a290fe281a
Extract MCP::Client pagination loop into fetch_all_pages
...
`#tools`, `#resources`, `#resource_templates`, and `#prompts` each repeated
the same loop to follow `next_cursor` and collect every page, differing only
in the `list_*` method called and the items field read from each page. Move
that loop into a single private `fetch_all_pages` helper so the four methods
are one-liners and the cursor-cycle guard lives in one place.
Behavior is unchanged; the existing `MCP::Client` list tests cover it.
2026-06-11 17:50:59 +10:00
..
client
Merge pull request #365 from koic/conformance_client_auth_offline_access_scope
2026-06-01 01:09:01 +09:00
prompt
Add _meta field to resource, content, and result classes
2026-04-11 15:08:55 +09:00
resource
Add _meta field to resource, content, and result classes
2026-04-11 15:08:55 +09:00
server
Merge pull request #359 from koic/case_insensitive_accept_header
2026-05-24 00:00:43 +09:00
tool
Cache Tool::Schema Validation to Avoid Re-validating Identical Schemas
2026-05-27 12:38:28 +09:00
annotations.rb
Extract MCP::Annotations into a dedicated file
2026-02-03 15:38:04 +09:00
cancellation.rb
Support notifications/cancelled per MCP specification
2026-05-03 04:02:22 +09:00
cancelled_error.rb
Support notifications/cancelled per MCP specification
2026-05-03 04:02:22 +09:00
client.rb
Extract MCP::Client pagination loop into fetch_all_pages
2026-06-11 17:50:59 +10:00
configuration.rb
feat: add opt-in tool output validation
2026-05-12 16:20:43 -04:00
content.rb
Add _meta field to resource, content, and result classes
2026-04-11 15:08:55 +09:00
icon.rb
Support icons parameter
2025-12-30 05:35:22 +09:00
instrumentation.rb
Add around_request hook for request instrumentation
2026-04-11 13:54:47 +09:00
logging_message_notification.rb
logging_message_notification: Remove unused require
2026-02-05 16:05:08 -05:00
methods.rb
Add roots/list and notifications/roots/list_changed support
2026-04-15 02:39:14 +09:00
progress.rb
Support POST response SSE streams for server-to-client messages
2026-04-04 19:20:31 +09:00
prompt.rb
Use autoload to defer loading of unused subsystems
2026-03-12 14:08:27 +09:00
resource.rb
Add size field to MCP::Resource per MCP specification
2026-06-07 21:10:41 +09:00
resource_template.rb
Add _meta field to resource, content, and result classes
2026-04-11 15:08:55 +09:00
server.rb
Support server-to-client ping per MCP specification
2026-05-22 11:28:51 +09:00
server_context.rb
Support server-to-client ping per MCP specification
2026-05-22 11:28:51 +09:00
server_session.rb
Support server-to-client ping per MCP specification
2026-05-22 11:28:51 +09:00
string_utils.rb
Fix ReDoS vulnerability in StringUtils#underscore
2026-01-09 01:14:52 +09:00
tool.rb
Use autoload to defer loading of unused subsystems
2026-03-12 14:08:27 +09:00
transport.rb
Auto-set server.transport in Transport#initialize
2026-04-09 12:08:55 +09:00
version.rb
Release 0.18.0
2026-05-30 03:19:18 +09:00