ServerDefinition¶
Structure Class¶
ServerDefinition
dataclass
¶
The server definition for an MCP descriptor. Contains the schema version and inline content for the MCP server configuration.
Attributes¶
inline_content
class-attribute
instance-attribute
¶
inline_content: str | None = None
The JSON content containing the MCP server definition, conforming to the MCP protocol specification.
schema_version
class-attribute
instance-attribute
¶
schema_version: str | None = None
The schema version of the server definition based on the MCP protocol specification. If not specified, the version is auto-detected from the content.