Class: MCP::Client::DiscoverResult
- Inherits:
-
Struct
- Object
- Struct
- MCP::Client::DiscoverResult
- Defined in:
- lib/mcp/client.rb
Overview
The server's DiscoverResult (MCP 2026-07-28, SEP-2575): the modern protocol versions it serves,
its capabilities and identity, optional instructions, and the REQUIRED ttlMs/cacheScope cache hints.
Instance Attribute Summary collapse
-
#cache_scope ⇒ Object
Returns the value of attribute cache_scope.
-
#capabilities ⇒ Object
Returns the value of attribute capabilities.
-
#instructions ⇒ Object
Returns the value of attribute instructions.
-
#server_info ⇒ Object
Returns the value of attribute server_info.
-
#supported_versions ⇒ Object
Returns the value of attribute supported_versions.
-
#ttl_ms ⇒ Object
Returns the value of attribute ttl_ms.
Instance Attribute Details
#cache_scope ⇒ Object
Returns the value of attribute cache_scope
98 99 100 |
# File 'lib/mcp/client.rb', line 98 def cache_scope @cache_scope end |
#capabilities ⇒ Object
Returns the value of attribute capabilities
98 99 100 |
# File 'lib/mcp/client.rb', line 98 def capabilities @capabilities end |
#instructions ⇒ Object
Returns the value of attribute instructions
98 99 100 |
# File 'lib/mcp/client.rb', line 98 def instructions @instructions end |
#server_info ⇒ Object
Returns the value of attribute server_info
98 99 100 |
# File 'lib/mcp/client.rb', line 98 def server_info @server_info end |
#supported_versions ⇒ Object
Returns the value of attribute supported_versions
98 99 100 |
# File 'lib/mcp/client.rb', line 98 def supported_versions @supported_versions end |
#ttl_ms ⇒ Object
Returns the value of attribute ttl_ms
98 99 100 |
# File 'lib/mcp/client.rb', line 98 def ttl_ms @ttl_ms end |