Package com.bytedesk.ai.mcp_server
Class McpServerEntity
java.lang.Object
com.bytedesk.core.base.BaseEntity
com.bytedesk.ai.mcp_server.McpServerEntity
- All Implemented Interfaces:
Serializable
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 Summary
FieldsModifier and TypeFieldDescriptionprivate StringCategory UID for organizing servers (optional)private StringMCP Server descriptionprivate BooleanWhether the server is enabledprivate StringMCP Server nameprivate static final longprivate StringServer 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 settingsprivate StringServer status (ACTIVE, INACTIVE, ERROR, CONNECTING, etc.)private StringType of MCP server -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.bytedesk.core.base.BaseEntity
getCreatedAtString, getUpdatedAtString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
name
MCP Server name -
description
MCP Server description -
type
Type of MCP server -
status
Server status (ACTIVE, INACTIVE, ERROR, CONNECTING, etc.) -
enabled
Whether the server is enabled -
categoryUid
Category UID for organizing servers (optional) -
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()
-