cursus.mcp.tools.configΒΆ

cursus.mcp tools for the config.* namespace.

Schema-driven configuration introspection for a pipeline DAG. These tools wrap the interactive cursus.api.factory.DAGConfigFactory and the field-extraction utilities in cursus.api.factory.field_extractor, plus the config (de)serialization helpers in cursus.core.config_fields. The factory is inherently stateful (it accumulates base + per-step config across calls), so this surface deliberately exposes only the stateless, JSON-clean operations: building a factory from a DAG to read out its field requirements, extracting requirements for a single named config class, and summarizing a saved config file. Operations that require live, in-process Pydantic config objects (merge_and_save_configs) cannot be driven from a JSON tool boundary and return an explanatory error instead of pretending to work.