Documentation
¶
Index ¶
- type AgentJSON
- type AgentListResponse
- type AgentMetadata
- type AgentPackageInfo
- type AgentRegistryExtensions
- type AgentResponse
- type AgentResponseMeta
- type Deployment
- type SkillJSON
- type SkillListResponse
- type SkillMetadata
- type SkillPackageInfo
- type SkillRegistryExtensions
- type SkillRemoteInfo
- type SkillRepository
- type SkillResponse
- type SkillResponseMeta
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentJSON ¶
type AgentJSON struct {
common.AgentManifest `json:",inline"`
Title string `json:"title,omitempty"`
Version string `json:"version"`
Status string `json:"status,omitempty"`
WebsiteURL string `json:"websiteUrl,omitempty"`
Repository *model.Repository `json:"repository,omitempty" doc:"Optional repository metadata for the agent source code."`
Packages []AgentPackageInfo `json:"packages,omitempty"`
Remotes []model.Transport `json:"remotes,omitempty"`
}
AgentJSON mirrors the ServerJSON shape for now, defined locally
type AgentListResponse ¶
type AgentListResponse struct {
Agents []AgentResponse `json:"agents"`
Metadata AgentMetadata `json:"metadata"`
}
type AgentMetadata ¶
type AgentPackageInfo ¶
type AgentRegistryExtensions ¶
type AgentRegistryExtensions struct {
Status string `json:"status"`
PublishedAt time.Time `json:"publishedAt"`
UpdatedAt time.Time `json:"updatedAt"`
IsLatest bool `json:"isLatest"`
Published bool `json:"published"`
}
AgentRegistryExtensions mirrors official metadata stored separately
type AgentResponse ¶
type AgentResponse struct {
Agent AgentJSON `json:"agent"`
Meta AgentResponseMeta `json:"_meta"`
}
type AgentResponseMeta ¶
type AgentResponseMeta struct {
Official *AgentRegistryExtensions `json:"io.modelcontextprotocol.registry/official,omitempty"`
}
type Deployment ¶
type Deployment struct {
ServerName string `json:"serverName"`
Version string `json:"version"`
DeployedAt time.Time `json:"deployedAt"`
UpdatedAt time.Time `json:"updatedAt"`
Status string `json:"status"`
Config map[string]string `json:"config"`
PreferRemote bool `json:"preferRemote"`
ResourceType string `json:"resourceType"` // "mcp" or "agent"
}
Deployment represents a deployed server with its configuration
type SkillJSON ¶
type SkillJSON struct {
Name string `json:"name"`
Title string `json:"title,omitempty"`
Category string `json:"category,omitempty"`
Description string `json:"description"`
Version string `json:"version"`
Status string `json:"status,omitempty"`
WebsiteURL string `json:"websiteUrl,omitempty"`
Repository *SkillRepository `json:"repository,omitempty"`
Packages []SkillPackageInfo `json:"packages,omitempty"`
Remotes []SkillRemoteInfo `json:"remotes,omitempty"`
}
SkillJSON mirrors the ServerJSON shape for now, defined locally
type SkillListResponse ¶
type SkillListResponse struct {
Skills []SkillResponse `json:"skills"`
Metadata SkillMetadata `json:"metadata"`
}
type SkillMetadata ¶
type SkillPackageInfo ¶
type SkillRegistryExtensions ¶
type SkillRegistryExtensions struct {
Status string `json:"status"`
PublishedAt time.Time `json:"publishedAt"`
UpdatedAt time.Time `json:"updatedAt"`
IsLatest bool `json:"isLatest"`
Published bool `json:"published"`
}
RegistryExtensions mirrors official metadata stored separately
type SkillRemoteInfo ¶
type SkillRemoteInfo struct {
URL string `json:"url"`
}
type SkillRepository ¶
type SkillResponse ¶
type SkillResponse struct {
Skill SkillJSON `json:"skill"`
Meta SkillResponseMeta `json:"_meta"`
}
type SkillResponseMeta ¶
type SkillResponseMeta struct {
Official *SkillRegistryExtensions `json:"io.modelcontextprotocol.registry/official,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.