Documentation
¶
Overview ¶
Package registry provides access to the MCP server registry
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvVar ¶
type EnvVar struct {
Name string `json:"name"`
Description string `json:"description"`
Required bool `json:"required"`
Default string `json:"default,omitempty"`
}
EnvVar represents an environment variable for an MCP server
type Metadata ¶
type Metadata struct {
Stars int `json:"stars"`
Pulls int `json:"pulls"`
LastUpdated string `json:"last_updated"`
}
Metadata represents metadata about an MCP server
type Registry ¶
type Registry struct {
Version string `json:"version"`
LastUpdated string `json:"last_updated"`
Servers map[string]*Server `json:"servers"`
}
Registry represents the top-level structure of the MCP registry
func GetRegistry ¶
GetRegistry returns the MCP server registry
type Server ¶
type Server struct {
Image string `json:"image"`
Description string `json:"description"`
Transport string `json:"transport"`
Permissions *permissions.Profile `json:"permissions"`
Tools []string `json:"tools"`
EnvVars []*EnvVar `json:"env_vars"`
Args []string `json:"args"`
Metadata *Metadata `json:"metadata"`
RepositoryURL string `json:"repository_url,omitempty"`
Tags []string `json:"tags,omitempty"`
DockerTags []string `json:"docker_tags,omitempty"`
}
Server represents an MCP server in the registry
func ListServers ¶
ListServers returns all servers in the registry
func SearchServers ¶
SearchServers searches for servers in the registry It searches in server names, descriptions, and tags
Click to show internal directories.
Click to hide internal directories.