Skip to content

McpServerStatus

Base classes

Name Children Inherits
CodexBaseModel
codexed.models.base
Base model for all Codex API models.

⋔ Inheritance diagram

graph TD
  1765573327["v2_protocol.McpServerStatus"]
  3116041069["base.CodexBaseModel"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  3116041069 --> 1765573327
  3879467795 --> 3116041069
  2751680898 --> 3879467795

🛈 DocStrings

Bases: CodexBaseModel

Source code in src/codexed/models/v2_protocol.py
class McpServerStatus(CodexBaseModel):
    auth_status: McpAuthStatus
    environment_id: str | None = None
    """
    Environment that contributed this registration; null for a thread-wide server. Older servers omit this field.
    """
    http_origin: str | None = None
    """
    HTTP origin of the effective configured endpoint, including plugin servers. Excludes credentials, path, query, and fragment; null for non-HTTP transports.
    """
    name: str
    plugin_id: str | None = None
    resource_templates: list[ResourceTemplate]
    resources: list[Resource]
    runtime_status: McpServerConnectionStatus | None = None
    """
    Current thread-runtime connection state; null when unavailable or the configuration changed.
    """
    server_capabilities: Any | None = None
    """
    Capabilities advertised by the initialized MCP server; null when unavailable.
    """
    server_info: McpServerInfo | None = None
    tool_list_meta: Any | None = None
    """
    Opaque `_meta` from the first page of the corresponding MCP tool catalog. Null when unavailable.
    """
    tools: dict[str, Tool]
    tools_error: str | None = None
    """
    Tool discovery failed and no catalog was returned. Null when a catalog is returned, including cached or empty catalogs.
    """

environment_id class-attribute instance-attribute

environment_id: str | None = None

Environment that contributed this registration; null for a thread-wide server. Older servers omit this field.

http_origin class-attribute instance-attribute

http_origin: str | None = None

HTTP origin of the effective configured endpoint, including plugin servers. Excludes credentials, path, query, and fragment; null for non-HTTP transports.

runtime_status class-attribute instance-attribute

runtime_status: McpServerConnectionStatus | None = None

Current thread-runtime connection state; null when unavailable or the configuration changed.

server_capabilities class-attribute instance-attribute

server_capabilities: Any | None = None

Capabilities advertised by the initialized MCP server; null when unavailable.

tool_list_meta class-attribute instance-attribute

tool_list_meta: Any | None = None

Opaque _meta from the first page of the corresponding MCP tool catalog. Null when unavailable.

tools_error class-attribute instance-attribute

tools_error: str | None = None

Tool discovery failed and no catalog was returned. Null when a catalog is returned, including cached or empty catalogs.

:fa-brands-github: Show source on GitHub