| Name | Type | Description |
|---|---|---|
connections | dict[str, Connection] | None | Default: NoneOptional initial server connection configs. |
| Name | Type |
|---|---|
| connections | dict[str, Connection] | None |
Lazy, per-server cache of persistent MCP sessions.
Discovery always happens through throwaway sessions. Live sessions are only created on the first real tool call inside the runtime event loop so sessions stay bound to the loop that owns their subprocess/transport handles, and so stdio servers are not restarted on every invocation.