# LibTmux::MCP::Application#invite_shell

**MCP concept example** Maintained as a working example of core library usage and deployment. Example APIs, tools and configuration may change without a compatibility or product support commitment.

- **Module:** LibTmux::MCP
- **Package:** libtmux-mcp
- **Language:** Ruby
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ruby/blob/dcc9f8b5a6970144a9e7d80cd5f381d8f6198372/gems/libtmux-mcp/lib/libtmux/mcp/application.rb#L104
- **Page:** https://libtmux.org/en/ruby/v0.1.0.alpha.2/mcp/reference/libtmux-mcp-application-invite_shell/

```
def invite_shell: (
  ::LibTmux::EntityRef,
  ?timeout: ::Numeric?,
  ?expires_in: ::Numeric,
  ?cancellation: untyped
) -> ::LibTmux::MCP::_ShellInvitation
```

Behavior: MCP application.

Behavior contract: MCP application.
