Skip to main content

Module pool

Module pool 

Source
Expand description

Per-core MCP connection pool.

McpConnectionPool holds one client per configured server and is shared across every session built from the same [lash_core::LashCore]. Connections are established eagerly when the pool is constructed and held for the lifetime of the pool.

The wire-level transport is provided by the official rmcp SDK.

Structsยง

McpConnectionPool
Shared, per-core connection pool. Wrapped in Arc and cloned into each session plugin instance.