Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RegistryExtensions ¶
type RegistryExtensions struct {
Status model.Status `json:"status" enum:"active,deprecated,deleted" doc:"Server lifecycle status"`
PublishedAt time.Time `json:"publishedAt" format:"date-time" doc:"Timestamp when the server was first published to the registry"`
UpdatedAt time.Time `json:"updatedAt,omitempty" format:"date-time" doc:"Timestamp when the server entry was last updated"`
IsLatest bool `json:"isLatest" doc:"Whether this is the latest version of the server"`
}
type ResponseMeta ¶ added in v1.2.1
type ResponseMeta struct {
Official *RegistryExtensions `json:"io.modelcontextprotocol.registry/official,omitempty" doc:"Official MCP registry metadata"`
}
type ServerJSON ¶
type ServerJSON struct {
Schema string `` /* 194-byte string literal not displayed */
Name string `` /* 236-byte string literal not displayed */
Description string `` /* 193-byte string literal not displayed */
Title string `` /* 146-byte string literal not displayed */
Repository model.Repository `json:"repository,omitempty" doc:"Optional repository metadata for the MCP server source code."`
Version string `json:"version" doc:"Version string for this server. SHOULD follow semantic versioning." example:"1.0.2"`
WebsiteURL string `` /* 171-byte string literal not displayed */
Icons []model.Icon `json:"icons,omitempty" doc:"Optional set of sized icons that the client can display in a user interface."`
Packages []model.Package `json:"packages,omitempty" doc:"Array of package configurations"`
Remotes []model.Transport `json:"remotes,omitempty" doc:"Array of remote configurations"`
Meta *ServerMeta `json:"_meta,omitempty" doc:"Extension metadata using reverse DNS namespacing for vendor-specific data"`
}
type ServerListResponse ¶
type ServerListResponse struct {
Servers []ServerResponse `json:"servers" doc:"List of server entries"`
Metadata Metadata `json:"metadata" doc:"Pagination metadata"`
}
type ServerMeta ¶
type ServerMeta struct {
PublisherProvided map[string]interface{} `` /* 128-byte string literal not displayed */
}
type ServerResponse ¶ added in v1.2.1
type ServerResponse struct {
Server ServerJSON `json:"server" doc:"Server configuration and metadata"`
Meta ResponseMeta `json:"_meta" doc:"Registry-managed metadata"`
}
Click to show internal directories.
Click to hide internal directories.