types

package
v0.1.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RegistryMetadata

type RegistryMetadata struct {
	Count      int    `json:"count"`
	NextCursor string `json:"nextCursor"`
}

RegistryMetadata contains pagination information

type RegistryResponse

type RegistryResponse struct {
	Servers  []ServerEntry    `json:"servers"`
	Metadata RegistryMetadata `json:"metadata"`
}

RegistryResponse represents the response from the MCP registry HTTP API

type Repository

type Repository struct {
	URL    string `json:"url"`
	Source string `json:"source"`
}

Repository represents the repository information from the registry HTTP API

type ServerEntry

type ServerEntry struct {
	Server ServerSpec      `json:"server"`
	Meta   json.RawMessage `json:"_meta"`
}

ServerEntry represents a server entry from the registry HTTP API

type ServerSpec

type ServerSpec struct {
	Name        string            `json:"name"`
	Title       string            `json:"title"`
	Description string            `json:"description"`
	Version     string            `json:"version"`
	Status      string            `json:"status"`
	WebsiteURL  string            `json:"websiteUrl"`
	Repository  Repository        `json:"repository"`
	Packages    []model.Package   `json:"packages"`
	Remotes     []model.Transport `json:"remotes"`
}

ServerSpec represents the server specification from the registry HTTP API

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL