Expand description
MCP server (rmcp) for Horto (stdio or Streamable HTTP).
Structsยง
Constantsยง
- DEFAULT_
HTTP_ LISTEN_ BOX - Default HTTP listen when
HORTO_MCP_MODE=box. - DEFAULT_
HTTP_ LISTEN_ PC - Default HTTP listen when
HORTO_MCP_MODE=pc.
Functionsยง
- bearer_
ok ๐ - blocking_
str ๐ - default_
listen_ for - Default listen string for a mode.
- gate_
middleware ๐ - http_
router ๐ - mcp_err ๐
- MCP invalid-params error with a human message.
- run_
http - Serve Streamable HTTP until stopped.
- text_ok ๐
- Successful MCP tool result with a single text content block.
- to_
json_ ๐text