AnthropicMCPServer.url constructor

const AnthropicMCPServer.url({
  1. required String name,
  2. required String url,
  3. String? authorizationToken,
  4. AnthropicMCPToolConfiguration? toolConfiguration,
})

Create a URL-based MCP server (convenience constructor)

Implementation

const AnthropicMCPServer.url({
  required this.name,
  required this.url,
  this.authorizationToken,
  this.toolConfiguration,
}) : type = 'url';