generate_mcp_schema

Function generate_mcp_schema 

Source
pub fn generate_mcp_schema(config: &CompiledConfig) -> McpSchema
Expand description

Generate deterministic MCP schema from compiled configuration.

The output is canonical:

  • Tools are sorted by ID
  • File hashes are in a BTreeMap (sorted keys)
  • JSON output will be consistent across runs