McpDescriptor¶
Structure Class¶
McpDescriptor
dataclass
¶
The Model Context Protocol (MCP) descriptor for a registry record. Contains the server definition and tools definition for an MCP-compatible server. The schema is validated against the MCP protocol specification.
Attributes¶
server
class-attribute
instance-attribute
¶
server: ServerDefinition | None = None
The MCP server definition, containing the server configuration and schema as defined by the MCP protocol specification.
tools
class-attribute
instance-attribute
¶
tools: ToolsDefinition | None = None
The MCP tools definition, containing the tools available on the MCP server as defined by the MCP protocol specification.