# LibTmux::MCP::Application.new

**MCP concept example** A working example of the core library. It can change without notice.

- **Module:** LibTmux::MCP
- **Package:** libtmux-mcp
- **Language:** Ruby
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-ruby/blob/d8ce4bbee0ca7748a81929f81f7d8d07f8c51267/gems/libtmux-mcp/lib/libtmux/mcp/application.rb#L50
- **Page:** https://libtmux.org/en/ruby/v0.1.0.alpha.3/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.

## Parameters

- `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`)
