Documentation
¶
Overview ¶
Package metadata implements MCP tools for the GitLab Metadata API.
The package fetches server version, revision, Enterprise edition status, and Kubernetes Agent Server metadata, then renders those values as structured JSON and Markdown for MCP tool responses.
The package wraps the GitLab Metadata API:
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActionSpecs ¶
func ActionSpecs(client *gitlabclient.Client) []toolutil.ActionSpec
ActionSpecs returns canonical specs for metadata actions exposed as MCP tools. The single get route is projected into the dynamic, meta, individual, and audit surfaces by the action catalog (ADR-0004).
func FormatGetMarkdown ¶
FormatGetMarkdown formats metadata as markdown.
Types ¶
type GetOutput ¶
type GetOutput struct {
toolutil.HintableOutput
Version string `json:"version"`
Revision string `json:"revision"`
KAS KASInfo `json:"kas"`
Enterprise bool `json:"enterprise"`
}
GetOutput is the output for metadata.
Click to show internal directories.
Click to hide internal directories.