Expand description
Types and data structures for the Model Context Protocol (MCP) server.
Designed according to AGENTS.md §0-B (focused, single-purpose, <500 lines).
Structs§
- McpIntent
Frame - Operational intent and security boundary context for tool invocations.
- McpTool
Descriptor - Static descriptor for an advertised MCP tool.
- RawTool
Payload - Zero-deserialization view over an incoming
tools/callbyte buffer.
Enums§
- McpRuntime
State - Explicit operational states defining the execution boundaries.
- McpSystem
Error - System and dispatch errors surfaced through standard MCP/JSON-RPC channels.
Functions§
- extract_
raw_ json_ string - Extract a raw JSON string value for
keywithout heap allocation. - hex_
decode - Decodes a hex string into raw bytes.
- parse_
quin_ slice - Helper to parse a slice of quins from JSON.
- parse_
tool_ args - Helper to parse tool arguments from raw JSON bytes.
- qualia_
storage_ path - Root storage dir:
QUALIA_STORAGE_PATH, else~/.qualia(HOME/USERPROFILE), else./.qualia.