Documentation
¶
Overview ¶
Package server wires the tools onto the MCP SDK and dumps the tool surface.
Index ¶
Constants ¶
View Source
const Description = "GitLab over MCP from your own account: issues, merge requests, reviews, the repository and CI."
Description is the one-line description shared by the bundle manifest and the registry entry. At most 100 characters.
View Source
const Name = "gitlab-mcp"
Name is the MCP server name.
Variables ¶
This section is empty.
Functions ¶
func DumpSchemas ¶
DumpSchemas writes the full tool surface — every flag and toolset on — as JSON, without touching the network or credentials. The SDK has no public enumerator, so an in-memory client asks the server, which is also exactly what a client would be told.
Types ¶
type Dump ¶
type Dump struct {
Server string `json:"server"`
Version string `json:"version"`
SDK string `json:"sdk"`
Tools []*mcp.Tool `json:"tools"`
ResourceTemplates []*mcp.ResourceTemplate `json:"resourceTemplates"`
}
Dump is what --dump-schemas writes: the whole registrable surface, every mcp.Tool as the wire carries it, _meta and output schema included. The schema-diff gate compares two of these.
Click to show internal directories.
Click to hide internal directories.