mcp.Instance.Connect
- func (i *Instance) Connect( ctx context
.Context , transport sdk.Transport , options *sdk.Server , ) (*ServerSession Options Session , error) -
Connect starts and tracks one client session. It requires tmux 3.3a or newer and rejects an opaque transport unless
AssumeResponseCommitmarks its response-write contract. Incoming messages remain gated until the SDK session has an installed scope.- Parameters
Guides#
Pages that discuss Connect.