# LibTmux::MCP::Application.new

**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#L50
- **Page:** https://libtmux.org/en/ruby/v0.1.0.alpha.2/mcp/reference/libtmux-mcp-application-new/

```
def self.new: (
  server: ::LibTmux::Async::Server,
  endpoint_name: ::String,
  ?enabled_tools: ::Array[::String],
  ?max_captures: ::Integer,
  ?max_capture_bytes: ::Integer,
  ?capture_ttl: ::Numeric,
  ?request_timeout: ::Numeric,
  ?max_response_bytes: ::Integer
) -> ::LibTmux::MCP::Application
```

Behavior: MCP application.

Behavior contract: MCP application.
