Mcp Client Config
data class McpClientConfig(var enabled: Boolean = false, var port: Int = DEFAULT_PORT, var apiKey: String = "", var autoStart: Boolean = true, var safetyEnabled: Boolean = true, var maxAreaSize: Int = DEFAULT_MAX_AREA_SIZE, var allowedCommands: List<String> = DEFAULT_ALLOWED_COMMANDS, var maxEntitiesPerCommand: Int = DEFAULT_MAX_ENTITIES, var maxBlocksPerCommand: Int = DEFAULT_MAX_BLOCKS, var requestTimeoutMs: Int = DEFAULT_TIMEOUT_MS, var showToolLogs: Boolean = true)(source)
Client-side MCP configuration, saved to config/evermod-mcp-client.json.
Independent of com.evermod.lorekeeper.LorekeeperConfig (server-side). Each player has their own client config on their machine.
Constructors
Link copied to clipboard
constructor(enabled: Boolean = false, port: Int = DEFAULT_PORT, apiKey: String = "", autoStart: Boolean = true, safetyEnabled: Boolean = true, maxAreaSize: Int = DEFAULT_MAX_AREA_SIZE, allowedCommands: List<String> = DEFAULT_ALLOWED_COMMANDS, maxEntitiesPerCommand: Int = DEFAULT_MAX_ENTITIES, maxBlocksPerCommand: Int = DEFAULT_MAX_BLOCKS, requestTimeoutMs: Int = DEFAULT_TIMEOUT_MS, showToolLogs: Boolean = true)
Types
Properties
Link copied to clipboard
whitelist of allowed command names
Link copied to clipboard
maximum blocks per axis for area scans
Link copied to clipboard
maximum blocks allowed per fill command
Link copied to clipboard
maximum entities allowed per command
Link copied to clipboard
HTTP request timeout in milliseconds
Link copied to clipboard
whether command safety validation is enabled
Link copied to clipboard
whether to show in-game [MCP] tool call notifications