using System; using xModels.Base; using System.ComponentModel.DataAnnotations; namespace xAiModels.Models.Entities { /// /// An MCP Server Descriptor for Adding Tools to XAI ... /// public class XAiMcpServer : XBaseGuidIDEntity { /// /// Owner ... /// [Required] [StringLength(255)] public string OwnerId { get; set; } /// /// MCP Server Name ... /// [Required] [StringLength(255)] public string Name { get; set; } /// /// Description ... /// [StringLength(1000)] public string Description { get; set; } /// /// Enabled or Disabled ... /// public bool Enabled { get; set; } = true; /// /// Environment Variables as JSON Object ... /// public string EnvironmentVariables { get; set; } /// /// Endpoint to Connect ... /// [StringLength(1000)] public string Endpoint { get; set; } /// /// Headers List as Json Object ... /// public string Headers { get; set; } /// /// Timout Secconds ... /// public int TimeoutSeconds { get; set; } = 30; public DateTime CreatedOn { get; set; } public DateTime UpdatedAt { get; set; } } }