OptionalallowedList of allowed tool names or a filter object. Use this to limit which tools from the MCP server are available to the model.
OptionalauthorizationAn OAuth access token for authentication with the MCP server. Your application must handle the OAuth authorization flow and provide the token here.
OptionalheadersOptional HTTP headers to send to the MCP server. Use for authentication or other purposes.
OptionalrequireSpecify which of the MCP server's tools require approval before execution.
"always": All tools require approval"never": No tools require approvalMcpApprovalFilter: Fine-grained control over which tools require approvalOptionalserverOptional description of the MCP server, used to provide more context to the model.
A label for this MCP server, used to identify it in tool calls.
The URL for the MCP server. The server must implement the Streamable HTTP or HTTP/SSE transport protocol.
Options for connecting to a remote MCP server via URL.