Python API Docs
This section is for users importing su2-mcp as a Python package. It focuses on the importable module surface and callable entrypoints.
Top-level package
SU2 MCP server package.
- class su2_mcp.SessionManager[source]
Manage SU2 sessions and their resources.
Create an empty session registry.
- close_session(session_id, delete_workdir=False)[source]
Close a session and optionally remove its working directory.
- class su2_mcp.SessionRecord(session_id, workdir, config_path, mesh_path=None, last_run_metadata=None, lock=<factory>)[source]
Session state stored by
SessionManager.
CLI entrypoint
Entry point and helpers for the SU2 MCP FastMCP server.