Skip to main content

Module handler

Module handler 

Source
Expand description

AgentBlockClientHandler — custom ClientHandler for agent-block MCP clients.

Subtask 1: structural skeleton. Subtask 2: on_progress wired to handler_isle bytecode forwarding. Subtask 3: on_logging_message log bridge + create_message sampling skeleton.

Structs§

AgentBlockClientHandler
Custom MCP client handler that holds per-server Lua callback registries.

Constants§

MCP_USER_LOG_CBS
Global table that holds user-provided log callbacks stored by server name on the main Isle.
MCP_USER_PROGRESS_CBS
Global table that holds user-provided progress callbacks stored by server name on the main Isle.
MCP_USER_PROMPTS_LIST_CHANGED_CBS
Global table that holds user-provided prompts-list-changed callbacks stored by server name on the main Isle.
MCP_USER_RESOURCES_LIST_CHANGED_CBS
Global table that holds user-provided resources-list-changed callbacks stored by server name on the main Isle.
MCP_USER_RESOURCE_UPDATE_CBS
Global table that holds user-provided resource-update callbacks stored by server name on the main Isle.
MCP_USER_TOOLS_LIST_CHANGED_CBS
Global table that holds user-provided tools-list-changed callbacks stored by server name on the main Isle.

Functions§

install_mcp_dispatcher_on_handler_isle
Install MCP dispatcher tables and functions on the handler Isle.