Class McpServerEntity

java.lang.Object
com.bytedesk.core.base.BaseEntity
com.bytedesk.ai.mcp_server.McpServerEntity
All Implemented Interfaces:
Serializable

@Entity public class McpServerEntity extends BaseEntity
McpServer entity for Model Context Protocol server configuration and management Stores MCP server connection details, capabilities, and runtime information Database Table: bytedesk_ai_mcp_server Purpose: Stores MCP server definitions, connection settings, and capability information
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • name

      private String name
      MCP Server name
    • description

      private String description
      MCP Server description
    • type

      private String type
      Type of MCP server
    • status

      private String status
      Server status (ACTIVE, INACTIVE, ERROR, CONNECTING, etc.)
    • enabled

      private Boolean enabled
      Whether the server is enabled
    • categoryUid

      private String categoryUid
      Category UID for organizing servers (optional)
    • serverConfig

      private String serverConfig
      Server configuration in JSON format Contains all server-specific configuration including: - serverVersion, serverUrl, host, port, protocol - authToken, authType, authHeaders - connectionTimeout, readTimeout, maxRetries - capabilities, availableTools, availableResources, availablePrompts - environmentVars, healthCheckUrl, healthCheckInterval - priority, tags, metadata, usageStats - autoStart and other settings
  • Constructor Details

    • McpServerEntity

      public McpServerEntity()