# mcp.ServerSession

- **Module:** mcp
- **Package:** github.com/libtmux/libtmux-go/mcp
- **Language:** Go
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-go/blob/52968a3181c1c9e6d1b26c565d4b170968ae61c0/mcp/instance.go#L70
- **Page:** https://libtmux.org/en/go/latest/mcp/reference/mcp-serversession/

ServerSession owns one SDK session and the resources scoped to its client.

## Members

- `Close` (method): Close stops scoped work, closes the transport, and joins SDK session cleanup.
- `Wait` (method): Wait waits for client termination and session cleanup.
