> ## Documentation Index
> Fetch the complete documentation index at: https://praison.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# connect • Rust AI Agent SDK

> connect: Connect to the MCP server (placeholder)

# connect

<div className="flex items-center gap-2">
  <Badge color="blue">Async</Badge>
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**MCP**](../classes/MCP) class in the [**mcp**](../modules/mcp) module.

Connect to the MCP server (placeholder)

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
async def connect(&mut self) -> Result<()>
```

### Returns

<ResponseField name="Returns" type="Result<()>">
  The result of the operation.
</ResponseField>
