status • Rust AI Agent SDK

status: Get connection status

status

Method

</div>

This is a method of the MCP class in the mcp module.

Get connection status

Signature

python
def status(&self) -> ConnectionStatus

Returns

ResponseField ConnectionStatus

The result of the operation.