MCPServer constructor

MCPServer({
  1. required String serverLabel,
  2. String? authorization,
  3. String? serverUrl,
  4. List<String>? allowedTools,
  5. Map<String, dynamic>? headers,
  6. String? requireApproval,
  7. List<String>? alwaysRequireApproval,
  8. List<String>? neverRequireApproval,
  9. String? openaiConnectorId,
})

Implementation

MCPServer({
  required this.serverLabel,
  this.authorization,
  this.serverUrl,
  this.allowedTools,
  this.headers,
  this.requireApproval,
  this.alwaysRequireApproval,
  this.neverRequireApproval,
  this.openaiConnectorId,
});