Option C Tools
Loading...
Searching...
No Matches
oct.mcp.server.ServerState Class Reference
Collaboration diagram for oct.mcp.server.ServerState:
[legend]

Static Public Attributes

str session_id = ""

Static Protected Attributes

ServerState _server_state = None

Detailed Description

All pipeline layer instances for one server session.

Created in :func:`start_server` and stored in the module-level
``_server_state`` singleton so tool handlers can access it without
having to pass context through the MCP SDK call graph.

Definition at line 122 of file server.py.

Member Data Documentation

◆ _server_state

ServerState oct.mcp.server.ServerState._server_state = None
staticprotected

Definition at line 144 of file server.py.

◆ session_id

str oct.mcp.server.ServerState.session_id = ""
static

Definition at line 139 of file server.py.


The documentation for this class was generated from the following file:
  • G:/PythonApps/Option_C/oct/oct/mcp/server.py