oas2mcp.deploy.langgraph_app

LangGraph deployment entrypoints for oas2mcp.

Purpose:

Expose compiled LangGraph graphs that wrap the existing summarize/enhance pipeline so the project can be run with LangGraph CLI and deployed through LangSmith Deployments.

Design:
  • Keep the LangGraph layer thin and deterministic.

  • Reuse the existing orchestrator rather than reimplementing workflow logic.

  • Return JSON-serializable outputs suitable for LangGraph API responses.

Attributes

Classes

Oas2McpGraphState

State schema for LangGraph deployment wrappers.

Module Contents

class oas2mcp.deploy.langgraph_app.Oas2McpGraphState[source][source]

Bases: TypedDict

State schema for LangGraph deployment wrappers.

export_dir: NotRequired[str | None][source][source]
include_mcp_recommendations: NotRequired[bool][source][source]
include_risk_notes: NotRequired[bool][source][source]
notes: NotRequired[list[str]][source][source]
output_style: NotRequired[str][source][source]
outputs: NotRequired[dict[str, str]][source][source]
project_name: NotRequired[str | None][source][source]
result: NotRequired[dict[str, Any]][source][source]
root_snapshot_name: NotRequired[str | None][source][source]
source: str[source][source]
user_goal: NotRequired[str | None][source][source]
write_fastmcp_config: NotRequired[bool][source][source]
write_operation_notes: NotRequired[bool][source][source]
write_root_snapshot: NotRequired[bool][source][source]
write_surface_plan: NotRequired[bool][source][source]
oas2mcp.deploy.langgraph_app.enhance_and_export_catalog_graph[source][source]
oas2mcp.deploy.langgraph_app.enhance_catalog_graph[source][source]