LibTmux::MCP::Application
- class LibTmux::MCP::Application
-
Discussed in MCP server guide · Page session metadata from Ruby , Ruby MCP API reference
Members
- def accept
_shell : ( ::LibTmux::MCP::_ShellInvitation, ?timeout: ::Numeric?, ?cancellation: untyped ) -> ::LibTmux:: Entity Ref -
Behavior: MCP application.
Description#
Behavior contract: MCP application.
Discussed in MCP server guide
- def call: ( ::String, ?::Hash[untyped, untyped], ?cancellation: untyped ) -> untyped
-
Behavior: MCP application.
Description#
Behavior contract: MCP application.
- def close: () -> nil
-
Behavior: MCP application.
Description#
Behavior contract: MCP application.
- Raises
- def inspect: () -> ::String
-
Behavior: MCP application.
Description#
Behavior contract: MCP application.
- def invite
_shell : ( ::LibTmux:: , ?timeout: ::Numeric?, ?expires_in: ::Numeric, ?cancellation: untyped ) -> ::LibTmux::MCP::_ShellInvitationEntity Ref -
Behavior: MCP application.
Description#
Behavior contract: MCP application.
- def sdk
_server : () -> untyped -
Behavior: MCP application.
Description#
Behavior contract: MCP application.
Discussed in MCP server guide
- def tools: () -> ::Array[untyped]
-
Returns the value of attribute tools.
Description#
Behavior contract: MCP application.
- def self.new: ( server: ::Lib
Tmux:: , endpoint_name: ::String, ?enabled_tools: ::Array[::String], ?max_captures: ::Integer, ?max_capture_bytes: ::Integer, ?capture_ttl: ::Numeric, ?request_timeout: ::Numeric, ?max_response_bytes: ::Integer ) -> ::LibAsync:: Server Tmux:: MCP:: Application -
Behavior: MCP application.
Description#
Behavior contract: MCP application.