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

# McpServerTool - Go SDK

> McpServerTool type definition

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

MCP (Model Context Protocol) tool configuration

## Fields

| Field               | Type                                                                                                                             | Required             | Description |
| ------------------- | -------------------------------------------------------------------------------------------------------------------------------- | -------------------- | ----------- |
| `AllowedTools`      | optionalnullable.OptionalNullable\[[components.AllowedToolsUnion](/client-sdks/go/api-reference/models/allowedtoolsunion)]       | :heavy\_minus\_sign: | N/A         |
| `Authorization`     | `*string`                                                                                                                        | :heavy\_minus\_sign: | N/A         |
| `ConnectorID`       | [\*components.ConnectorID](/client-sdks/go/api-reference/models/connectorid)                                                     | :heavy\_minus\_sign: | N/A         |
| `Headers`           | optionalnullable.OptionalNullable\[map\[string]`string`]                                                                         | :heavy\_minus\_sign: | N/A         |
| `RequireApproval`   | optionalnullable.OptionalNullable\[[components.RequireApprovalUnion](/client-sdks/go/api-reference/models/requireapprovalunion)] | :heavy\_minus\_sign: | N/A         |
| `ServerDescription` | `*string`                                                                                                                        | :heavy\_minus\_sign: | N/A         |
| `ServerLabel`       | `string`                                                                                                                         | :heavy\_check\_mark: | N/A         |
| `ServerURL`         | `*string`                                                                                                                        | :heavy\_minus\_sign: | N/A         |
| `Type`              | [components.McpServerToolType](/client-sdks/go/api-reference/models/mcpservertooltype)                                           | :heavy\_check\_mark: | N/A         |
