mcp

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: May 25, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMCPServer

func NewMCPServer(f *cmdutil.Factory, version string) *mcp.Server

NewMCPServer creates and configures the MCP server with all GitLab tools. version is the running glab binary's version (e.g. from main.version); it's surfaced to clients via the initialize handshake.

Types

This section is empty.

Directories

Path Synopsis
Package mcputil contains helpers shared across the MCP tools, resources, and prompts packages: client/project resolution, input validation, log truncation, tool annotation factories, and result builders.
Package mcputil contains helpers shared across the MCP tools, resources, and prompts packages: client/project resolution, input validation, log truncation, tool annotation factories, and result builders.

Jump to

Keyboard shortcuts

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