McpClientModule

Lifecycle manager for the client-side MCP HTTP endpoint.

Properties

Link copied to clipboard

Client-side config (loaded from disk once, updated via commands/packets).

Functions

Link copied to clipboard

Returns true if the client MCP HTTP server is currently running.

Link copied to clipboard
fun register()

Registers client lifecycle hooks (auto-start on join, stop on disconnect).

Link copied to clipboard
fun reload()

Reloads the config from disk.

Link copied to clipboard
fun start()

Starts the client MCP HTTP server. No-op if the API key is blank.

Link copied to clipboard
fun stop()

Stops the client MCP HTTP server.