Python API Docs

This section is for users importing pycycle-mcp as a Python package. It focuses on the importable module surface and callable entrypoints.

Top-level package

pyCycle MCP server package.

class pycycle_mcp.SessionManager[source]

Manage pyCycle/OpenMDAO Problem sessions keyed by UUID.

close(session_id)[source]

Remove a session.

create_session(problem, meta=None)[source]

Register a new session and return its identifier.

get(session_id)[source]

Retrieve the problem and metadata for a session.

CLI entrypoint

Entry point for the pyCycle MCP FastMCP server.

pycycle_mcp.main.build_parser()[source]

Create the argument parser for the FastMCP server CLI.

pycycle_mcp.main.main(argv=None)[source]

Register tools and start the FastMCP server.