server • Rust AI Agent SDK

server: Set stdio server

server

Method

</div>

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

Set stdio server

Signature

python
def server(mut self, command: impl Into<String>, args: &[&str]) -> Self

Parameters

ParamField impl Into&lt;String&gt;

No description available.

ParamField &[&str]

No description available.

Returns

ResponseField Self

The result of the operation.