Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultCatalogRef = "mcp/docker-mcp-catalog"
DefaultCatalogRef is the OCI reference for Docker's default MCP catalog.
Variables ¶
View Source
var Templates = []Template{ { ID: "ai-coding", Title: "AI coding", Description: "Write code faster with Context7 for codebase awareness and Sequential Thinking for structured problem-solving.", ServerNames: []string{"context7", "sequentialthinking"}, }, { ID: "dev-workflow", Title: "Dev workflow", Description: "Automate your development cycle: open issues, write code, and update tickets with GitHub and Atlassian.", ServerNames: []string{"github-official", "atlassian-remote"}, }, { ID: "terminal-control", Title: "Terminal control", Description: "Run commands and scripts, manage files, and control your system directly from your AI client.", ServerNames: []string{"desktop-commander", "filesystem"}, }, }
Templates is the list of built-in starter templates.
Functions ¶
func EnsureCatalogExists ¶
EnsureCatalogExists checks whether the Docker MCP catalog is available locally and pulls it if it is not. This allows template commands to work out of the box without requiring the user to manually pull the catalog first.
func List ¶
func List(format workingset.OutputFormat) error
List prints the available templates in the specified output format.
Types ¶
type Template ¶
type Template struct {
ID string `json:"id" yaml:"id"`
Title string `json:"title" yaml:"title"`
Description string `json:"description" yaml:"description"`
ServerNames []string `json:"server_names" yaml:"server_names"`
}
Template defines a starter profile template that bundles a curated set of MCP servers from the Docker catalog.
func (*Template) CatalogServerRef ¶
CatalogServerRef returns the catalog:// URI for use with profile creation. For example: "catalog://mcp/docker-mcp-catalog/context7+sequentialthinking"
Click to show internal directories.
Click to hide internal directories.