> ## 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.

# shutdown • AI Agent SDK

> shutdown: Signal the thread to shut down.

# shutdown

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

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

Signal the thread to shut down.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def shutdown() -> Any
```

### Returns

<ResponseField name="Returns" type="Any">
  The result of the operation.
</ResponseField>

## Uses

* `put`

## Used By

* [`MCP.shutdown`](../functions/MCP-shutdown)

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/mcp/mcp.py#L145">
  `praisonaiagents/mcp/mcp.py` at line 145
</Card>
