Skip to main content

Crate horto_os_ui_mcp

Crate horto_os_ui_mcp 

Source
Expand description

Horto OS UI MCP library: status-api client, backends, and rmcp tools.

Re-exports§

pub use config::McpMode;
pub use config::McpSettings;
pub use server::run_http;
pub use server::HortoMcp;
pub use server::DEFAULT_HTTP_LISTEN_BOX;
pub use server::DEFAULT_HTTP_LISTEN_PC;

Modules§

api_client
HTTP client for horto-os-ui-status-api day-2 routes.
config
Runtime settings from the environment.
embedded_ops
Privileged ops in-process when MCP runs on the box (HORTO_MCP_MODE=box).
net
Local-network peer allowlist (loopback / RFC1918 / ULA / link-local).
remote_ops
Privileged ops via the shared OpenSSH remote runner (HORTO_MCP_MODE=pc).
server
MCP server (rmcp) for Horto (stdio or Streamable HTTP).
tool_args
JSON-schema parameter structs for rmcp Parameters<T> tool handlers.