GitKraken CLI

gk mcp

Start a local MCP server for your favorite MCP client to interact with

Synopsis

Start a local MCP server for your favorite MCP client to interact with. This command can also be run in “readonly” mode, which will only allow read operations. For more information please visit https://help.gitkraken.com/cli/gk-cli-mcp.

gk mcp [flags]

Examples


gk mcp
gk mcp --readonly

Options

      --experimental   Enable experimental MCP tools.
  -h, --help           help for mcp
  -l, --list-tools     List all available MCP tools with their parameters and descriptions.
  -r, --readonly       Run the MCP server in read-only mode, only allowing read operations.
      --verbose        With --list-tools, also print GitLens discovery diagnostics.

Options inherited from parent commands

      --json             Emit machine-readable JSON on stdout (GK_OUTPUT=json sets it session-wide)
      --no-telemetry     Disable telemetry (OTel spans, Sentry) for this invocation
      --session string   (Optional) Isolate auth and cache under a named session

SEE ALSO

  • gk - GitKraken CLI
  • gk mcp config - Generate GitKraken MCP server configuration for an MCP client
  • gk mcp install - Install the GitKraken MCP server in one or more MCP clients
  • gk mcp uninstall - Uninstall GitKraken MCP server from one or more MCP clients
Auto generated by spf13/cobra on 16-Sep-2026

© 2023 Axosoft, LLC DBA GitKraken