glab-mcp-serve - Man Page

Start a MCP server with stdio transport. (EXPERIMENTAL)

Synopsis

glab mcp serve [flags]

Description

Start a Model Context Protocol server to expose GitLab features as tools for AI assistants like Claude Code.

The server uses stdio (standard input and output) transport for communication, and provides tools to:

To configure this server in Claude Code, add this code to your MCP settings:

{
  "mcpServers": {
    "glab": {
      "type": "stdio",
      "command": "glab",
      "args": ["mcp", "serve"]
    }
  }
}

This feature is an experiment and is not ready for production use. It might be unstable or removed at any time. For more information, see https://docs.gitlab.com/policy/development_stages_support/.

Options Inherited from Parent Commands

-h, --help[=false] Show help for this command.

Example

$ glab mcp serve

See Also

glab-mcp(1)

Referenced By

glab-mcp(1).

Mar 2026 Auto generated by spf13/cobra