sir3stoolkit.mcp package
Submodules
sir3stoolkit.mcp.generate_method_access_index module
sir3stoolkit.mcp.server module
sir3stoolkit.mcp.state module
- class sir3stoolkit.mcp.state.ToolkitSessionState(sirgraf_dir: str | None = None, toolkit_package_is_initialized: bool = False, class_instances: dict[~typing.Literal['SIR3S_Model', 'SIR3S_Model_Dataframes', 'SIR3S_Model_Alternative_Models', 'SIR3S_Model_Plotting', 'SIR3S_Model_Advanced_Operations', 'SIR3S_Model_Mantle', 'SIR3S_View'], ~sir3stoolkit.core.wrapper.SIR3S_Model | ~sir3stoolkit.core.wrapper.SIR3S_View | ~sir3stoolkit.mantle.dataframes.SIR3S_Model_Dataframes | ~sir3stoolkit.mantle.alternative_models.SIR3S_Model_Alternative_Models | ~sir3stoolkit.mantle.plotting.SIR3S_Model_Plotting | ~sir3stoolkit.mantle.advanced_operations.SIR3S_Model_Advanced_Operations | ~sir3stoolkit.mantle.mantle.SIR3S_Model_Mantle] = <factory>)[source]
Bases:
objectIn-memory session state for MCP tool calls.
- class_instances: dict[Literal['SIR3S_Model', 'SIR3S_Model_Dataframes', 'SIR3S_Model_Alternative_Models', 'SIR3S_Model_Plotting', 'SIR3S_Model_Advanced_Operations', 'SIR3S_Model_Mantle', 'SIR3S_View'], SIR3S_Model | SIR3S_View | SIR3S_Model_Dataframes | SIR3S_Model_Alternative_Models | SIR3S_Model_Plotting | SIR3S_Model_Advanced_Operations | SIR3S_Model_Mantle]
- get_instance(key: Literal['SIR3S_Model', 'SIR3S_Model_Dataframes', 'SIR3S_Model_Alternative_Models', 'SIR3S_Model_Plotting', 'SIR3S_Model_Advanced_Operations', 'SIR3S_Model_Mantle', 'SIR3S_View']) SIR3S_Model | SIR3S_View | SIR3S_Model_Dataframes | SIR3S_Model_Alternative_Models | SIR3S_Model_Plotting | SIR3S_Model_Advanced_Operations | SIR3S_Model_Mantle[source]
- set_instance(key: Literal['SIR3S_Model', 'SIR3S_Model_Dataframes', 'SIR3S_Model_Alternative_Models', 'SIR3S_Model_Plotting', 'SIR3S_Model_Advanced_Operations', 'SIR3S_Model_Mantle', 'SIR3S_View'], instance: SIR3S_Model | SIR3S_View | SIR3S_Model_Dataframes | SIR3S_Model_Alternative_Models | SIR3S_Model_Plotting | SIR3S_Model_Advanced_Operations | SIR3S_Model_Mantle) None[source]
- sirgraf_dir: str | None = None
- toolkit_package_is_initialized: bool = False
sir3stoolkit.mcp.tools module
Tool implementations for an MCP server template.
These functions are intentionally small and conservative so you can adapt them for your chosen MCP framework.