{"type":"post","id":"mcp-ruby-sdk-v1-12-0-adds-tools-982d3e","slug":"mcp-ruby-sdk-v1-12-0-adds-tools-982d3e","title":"MCP Ruby SDK v1.12.0 adds tools_list_handler and streaming of request notifications","description":"MCP Ruby SDK v1.12.0 lets server authors return a tool list for each request through tools_list_handler, so the tools a caller sees can vary by caller.","retrieval_nugget":"MCP Ruby SDK v1.12.0 lets server authors return a tool list for each request through tools_list_handler, so the tools a caller sees can vary by caller.","published_at":"2026-11-28","updated_at":"2026-11-28","record_date":"2026-11-28","date_kind":"published_at","topics":["mcp"],"entities":["Model Context Protocol","MCP Ruby SDK"],"related_patterns":["agent-protocols-become-interoperability-layer"],"novelty_label":"new_fact","what_changed":"Version 1.12.0 adds caller-specific tool lists and streamed request notifications, and rejects certain invalid resource registrations.","prior_refs":["https://newruntime.com/posts/mcp-ruby-sdk-v1-11-0-adds-resumable-f64d46/"],"source_url":"https://github.com/modelcontextprotocol/ruby-sdk/releases","source_urls":["https://github.com/modelcontextprotocol/ruby-sdk/releases"],"production":{"schema":"newruntime-production-v1","desk":"newsroom","first_seen_at":"2026-11-28T07:18:39.568Z","independent_sources":1,"notes_synthesized":null,"writer_model":"gpt-6-luna","critic":null,"checks":["primary_source_verified","source_fresh","one_story","copy_contract"],"novelty":{"label":"new_fact","confidence":"high"},"editorial_value":"medium","human_review":"selective"},"citations":[{"claim":"","quotes":["This release adds tools_list_handler, a block that returns the tools for a request, so the visible tools can depend on the caller."],"cite_url":"https://github.com/modelcontextprotocol/ruby-sdk/releases#:~:text=This%20release%20adds%20tools_list_handler%2C%20a%20block%20that%20returns%20the%20tools%20for%20a%20request%2C%20so%20the%20visible%20tools%20can%20depend%20on%20the%20caller.","source_url":"https://github.com/modelcontextprotocol/ruby-sdk/releases","publisher":"github.com"},{"claim":"It also cancels in-flight requests when a session ends, sends no error response for a cancelled request, and prevents idle expiry while a request is in flight.","quotes":["Add Content::ResourceLink class for resource link content type ( #710)"],"cite_url":"https://github.com/modelcontextprotocol/ruby-sdk/releases#:~:text=Add%20Content%3A%3AResourceLink%20class%20for%20resource%20link%20content%20type%20%28%20%23710%29","source_url":"https://github.com/modelcontextprotocol/ruby-sdk/releases","publisher":"github.com"},{"claim":"","quotes":["Cancel in-flight requests when their session ends ( #692)","Send no error response to a cancelled request ( #697)","Keep a session with a request in flight from idle expiry ( #695)"],"cite_url":"https://github.com/modelcontextprotocol/ruby-sdk/releases#:~:text=Cancel%20in%2Dflight%20requests%20when%20their%20session%20ends%20%28%20%23692%29&text=Send%20no%20error%20response%20to%20a%20cancelled%20request%20%28%20%23697%29&text=Keep%20a%20session%20with%20a%20request%20in%20flight%20from%20idle%20expiry%20%28%20%23695%29","source_url":"https://github.com/modelcontextprotocol/ruby-sdk/releases","publisher":"github.com"},{"claim":"A request is refused if its session ends while it is being admitted, duplicate SSE requests that lose the stream claim are refused, and a resources/read request is keyed by URI alone.","quotes":["Answer Invalid params when tool or prompt arguments are not an object ( #691)","Answer Invalid params for the remaining malformed params ( #701)"],"cite_url":"https://github.com/modelcontextprotocol/ruby-sdk/releases#:~:text=Answer%20Invalid%20params%20when%20tool%20or%20prompt%20arguments%20are%20not%20an%20object%20%28%20%23691%29&text=Answer%20Invalid%20params%20for%20the%20remaining%20malformed%20params%20%28%20%23701%29","source_url":"https://github.com/modelcontextprotocol/ruby-sdk/releases","publisher":"github.com"},{"claim":"","quotes":["Refuse a duplicate SSE request that loses the stream claim ( #699)","Refuse a request whose session ends while it is admitted ( #705)","Name a resources/read request by its URI alone ( #719)"],"cite_url":"https://github.com/modelcontextprotocol/ruby-sdk/releases#:~:text=Refuse%20a%20duplicate%20SSE%20request%20that%20loses%20the%20stream%20claim%20%28%20%23699%29&text=Refuse%20a%20request%20whose%20session%20ends%20while%20it%20is%20admitted%20%28%20%23705%29&text=Name%20a%20resources%2Fread%20request%20by%20its%20URI%20alone%20%28%20%23719%29","source_url":"https://github.com/modelcontextprotocol/ruby-sdk/releases","publisher":"github.com"},{"claim":"","quotes":["Pass the access token to a handler the legacy input_required shim re-runs ( #696)","Honor cancellation throughout the legacy input_required shim ( #707)","Release a request that around_request stops before its handler ( #720)"],"cite_url":"https://github.com/modelcontextprotocol/ruby-sdk/releases#:~:text=Pass%20the%20access%20token%20to%20a%20handler%20the%20legacy%20input_required%20shim%20re%2Druns%20%28%20%23696%29&text=Honor%20cancellation%20throughout%20the%20legacy%20input_required%20shim%20%28%20%23707%29&text=Release%20a%20request%20that%20around_request%20stops%20before%20its%20handler%20%28%20%23720%29","source_url":"https://github.com/modelcontextprotocol/ruby-sdk/releases","publisher":"github.com"},{"claim":"","quotes":["With stream_request_notifications: true, the Streamable HTTP transport delivers notifications of an MCP 2026-07-28 request as they are emitted."],"cite_url":"https://github.com/modelcontextprotocol/ruby-sdk/releases#:~:text=With%20stream_request_notifications%3A%20true%2C%20the%20Streamable%20HTTP%20transport%20delivers%20notifications%20of%20an%20MCP%202026%2D07%2D28%20request%20as%20they%20are%20emitted.","source_url":"https://github.com/modelcontextprotocol/ruby-sdk/releases","publisher":"github.com"}],"schema_version":"newruntime-agent-readable-v0.2","stable_id":"post:mcp-ruby-sdk-v1-12-0-adds-tools-982d3e","status":"published","visuals":[],"editor":{"role":"editor","name":"Andrey Reshetnikov","profile":"https://newruntime.com/owner-profile.md","profile_json":"https://newruntime.com/owner-profile.json","same_as":["https://www.linkedin.com/in/reshetnikov1/","https://t.me/lapetuse"]},"routes":{"html":"https://newruntime.com/posts/mcp-ruby-sdk-v1-12-0-adds-tools-982d3e/","markdown":"https://newruntime.com/posts/mcp-ruby-sdk-v1-12-0-adds-tools-982d3e.md","json":"https://newruntime.com/posts/mcp-ruby-sdk-v1-12-0-adds-tools-982d3e.json"},"markdown_url":"https://newruntime.com/posts/mcp-ruby-sdk-v1-12-0-adds-tools-982d3e.md","next_reads":[{"type":"topic","path":"/topics/mcp/","url":"https://newruntime.com/topics/mcp/","title":"Mcp","reason":"Explore the mcp topic hub.","media_type":"text/html","markdown_url":"https://newruntime.com/topics/mcp.md","json_url":"https://newruntime.com/topics/mcp.json"},{"type":"collection","path":"/posts/","url":"https://newruntime.com/posts/","title":"Field Notes","reason":"Open the latest editorial analysis.","media_type":"text/html","json_url":"https://newruntime.com/posts.json"},{"type":"collection","path":"/sources/","url":"https://newruntime.com/sources/","title":"Sources","reason":"See the original sources this archive cites.","media_type":"text/html"}]}
