Skip to content

ServerDefinition

Structure Class

ServerDefinition dataclass

Bases: _SerdeShape

The MCP server definition with a schema version and inline content. The schemaVersion identifies the version of the MCP server configuration schema.

Attributes

inline_content class-attribute instance-attribute
inline_content: str | None = ...

The inline content of the server definition.

schema_version class-attribute instance-attribute
schema_version: str | None = ...

The schema version of the MCP server configuration. The schema version identifies the format of the server definition content.