> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter-d02e98a0-mintlify-5b6e02fd.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# McpServerTool - Python SDK

> McpServerTool method reference

<Warning>
  The Python SDK and docs are currently in beta.
  Report issues on [GitHub](https://github.com/OpenRouterTeam/python-sdk/issues).
</Warning>

MCP (Model Context Protocol) tool configuration

## Fields

| Field                | Type                                                                                           | Required             | Description |
| -------------------- | ---------------------------------------------------------------------------------------------- | -------------------- | ----------- |
| `allowed_tools`      | [OptionalNullable\[components.AllowedToolsUnion\]](../components/allowedtoolsunion.md)         | :heavy\_minus\_sign: | N/A         |
| `authorization`      | *Optional\[str]*                                                                               | :heavy\_minus\_sign: | N/A         |
| `connector_id`       | [Optional\[components.ConnectorID\]](../components/connectorid.md)                             | :heavy\_minus\_sign: | N/A         |
| `headers`            | Dict\[str, *str*]                                                                              | :heavy\_minus\_sign: | N/A         |
| `require_approval`   | [OptionalNullable\[components.RequireApprovalUnion\]](../components/requireapprovalunion.md)   | :heavy\_minus\_sign: | N/A         |
| `server_description` | *Optional\[str]*                                                                               | :heavy\_minus\_sign: | N/A         |
| `server_label`       | *str*                                                                                          | :heavy\_check\_mark: | N/A         |
| `server_url`         | *Optional\[str]*                                                                               | :heavy\_minus\_sign: | N/A         |
| `type`               | [components.McpServerToolType](/client-sdks/python/api-reference/components/mcpservertooltype) | :heavy\_check\_mark: | N/A         |
