Help us shape the future of Go! Take the 2026 Go Developer Survey

cmd/

directory
v3.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2026 License: MIT

Directories

Path Synopsis
Command audit_1to1 is the consolidated 1:1 SDK↔API parity audit.
Command audit_1to1 is the consolidated 1:1 SDK↔API parity audit.
internal/actions
Package actions reports client-go SDK endpoints that no MCP action invokes (R-ACTION).
Package actions reports client-go SDK endpoints that no MCP action invokes (R-ACTION).
internal/enums
Package enums holds the 1:1 audit rule for enumerated values (R-ENUM).
Package enums holds the 1:1 audit rule for enumerated values (R-ENUM).
internal/merge
Package merge combines the four 1:1-audit gap reports — struct completeness (R-INPUT/R-OUTPUT), action coverage (R-ACTION), metadata completeness (R-META), and enum values (R-ENUM) — into a single per-package backlog.
Package merge combines the four 1:1-audit gap reports — struct completeness (R-INPUT/R-OUTPUT), action coverage (R-ACTION), metadata completeness (R-META), and enum values (R-ENUM) — into a single per-package backlog.
internal/metadata
Package metadata reports discovery-metadata gaps (R-META) across the canonical ActionSpec catalog.
Package metadata reports discovery-metadata gaps (R-META) across the canonical ActionSpec catalog.
internal/paths
Package paths holds the 1:1 audit rule about the request an action actually issues (R-PATH).
Package paths holds the 1:1 audit rule about the request an action actually issues (R-PATH).
internal/sdk
Package sdk holds the two 1:1 audit rules whose universe comes from the SDK rather than from this repository's own call sites (R-SERVICE, R-GRAPHQL).
Package sdk holds the two 1:1 audit rules whose universe comes from the SDK rather than from this repository's own call sites (R-SERVICE, R-GRAPHQL).
internal/shared
Package shared holds constants and helpers used across multiple audit_1to1 sub-packages so they cannot drift.
Package shared holds constants and helpers used across multiple audit_1to1 sub-packages so they cannot drift.
internal/structs
Package structs verifies the 1:1 field mapping between the MCP tool input/output structs and the client-go SDK Options/result structs they wrap.
Package structs verifies the 1:1 field mapping between the MCP tool input/output structs and the client-go SDK Options/result structs they wrap.
Command audit_action_ids holds every canonical action ID this repository publishes to a model against the IDs the catalog really builds.
Command audit_action_ids holds every canonical action ID this repository publishes to a model against the IDs the catalog really builds.
Command audit_catalog_first generates a source-discovered inventory of internal/tools domain coverage for the ActionSpec migration.
Command audit_catalog_first generates a source-discovered inventory of internal/tools domain coverage for the ActionSpec migration.
Command audit_dead_consts reports every unexported constant in this repository that nothing reads.
Command audit_dead_consts reports every unexported constant in this repository that nothing reads.
Command audit_discovery_completeness reports discovery-metadata gaps that affect how well models can find and choose the right action.
Command audit_discovery_completeness reports discovery-metadata gaps that affect how well models can find and choose the right action.
Command audit_doc_coverage reports per-doc-file gaps between docs/reference/tools/<doc>.md and the canonical action catalog.
Command audit_doc_coverage reports per-doc-file gaps between docs/reference/tools/<doc>.md and the canonical action catalog.
Command audit_doc_tool_names checks every name the documentation teaches a reader to call against what the server really serves: the `gitlab_*` tool names against the names it registers, and the `domain.action` IDs against the catalog it builds.
Command audit_doc_tool_names checks every name the documentation teaches a reader to call against what the server really serves: the `gitlab_*` tool names against the names it registers, and the `domain.action` IDs against the catalog it builds.
Command audit_dynamic_aliases checks the dynamic toolset compatibility alias catalog for governance issues.
Command audit_dynamic_aliases checks the dynamic toolset compatibility alias catalog for governance issues.
Command audit_e2e_coverage is the one command that says what the end-to-end suite covers.
Command audit_e2e_coverage is the one command that says what the end-to-end suite covers.
Command audit_edition_tier reports the doc-grounded licensing tier of every canonical MCP action and compares it to the action's current gating.
Command audit_edition_tier reports the doc-grounded licensing tier of every canonical MCP action and compares it to the action's current gating.
Command audit_gateway_chars scans everything a client receives from tools/list, prompts/list and resources/list, on every tool surface and at the widest tier, for characters that MCP gateway validators reject.
Command audit_gateway_chars scans everything a client receives from tools/list, prompts/list and resources/list, on every tool surface and at the widest tier, for characters that MCP gateway validators reject.
Command audit_graphql_documents fails when a raw GraphQL document in this repository is one the pinned GitLab schema refuses.
Command audit_graphql_documents fails when a raw GraphQL document in this repository is one the pinned GitLab schema refuses.
Command audit_graphql_shapes fails when a struct this repository decodes a GraphQL response into cannot hold what the document it is sent with asks for.
Command audit_graphql_shapes fails when a struct this repository decodes a GraphQL response into cannot hold what the document it is sent with asks for.
Command audit_install_buttons checks the one-click install buttons against what the pages around them claim.
Command audit_install_buttons checks the one-click install buttons against what the pages around them claim.
Command audit_md_escaping fails when a Markdown formatter interpolates a value this server did not write into a construct that value can change the shape of.
Command audit_md_escaping fails when a Markdown formatter interpolates a value this server did not write into a construct that value can change the shape of.
Command audit_meta_descriptions checks the prose a meta-tool serves against the parameters its actions actually accept.
Command audit_meta_descriptions checks the prose a meta-tool serves against the parameters its actions actually accept.
Command audit_metrics generates a comprehensive metrics summary for the gitlab-mcp-server MCP server.
Command audit_metrics generates a comprehensive metrics summary for the gitlab-mcp-server MCP server.
Command audit_readonly_graphql fails when an action the canonical catalog classifies ReadOnly can reach a GraphQL mutation.
Command audit_readonly_graphql fails when an action the canonical catalog classifies ReadOnly can reach a GraphQL mutation.
Command audit_sdk_context reports every call into client-go that does not hand the SDK the caller's context.
Command audit_sdk_context reports every call into client-go that does not hand the SDK the caller's context.
Command audit_supply_chain audits the release supply chain's configuration invariants.
Command audit_supply_chain audits the release supply chain's configuration invariants.
Command audit_surface_quality is the consolidated MCP tool surface quality audit.
Command audit_surface_quality is the consolidated MCP tool surface quality audit.
Command audit_tenancy holds the tenant policy register, internal/tenancy, to the code that enforces it.
Command audit_tenancy holds the tenant policy register, internal/tenancy, to the code that enforces it.
Command audit_test_goroutines detects testing.T abort calls made from goroutines other than the one running the test.
Command audit_test_goroutines detects testing.T abort calls made from goroutines other than the one running the test.
Command audit_test_names scans all Go test files and classifies test function names by their naming pattern.
Command audit_test_names scans all Go test files and classifies test function names by their naming pattern.
Command audit_test_subtests finds case loops in test functions that assert without opening a subtest, and can rewrite the mechanical ones.
Command audit_test_subtests finds case loops in test functions that assert without opening a subtest, and can rewrite the mechanical ones.
Command audit_tokens measures the LLM context window overhead of all registered MCP tool definitions.
Command audit_tokens measures the LLM context window overhead of all registered MCP tool definitions.
Command bench_resources measures what this server costs to run, and draws the charts the documentation publishes.
Command bench_resources measures what this server costs to run, and draws the charts the documentation publishes.
Command format_md_tables normalizes Markdown pipe tables in README.md, docs/ and the Astro documentation site under site/src/content/docs/.
Command format_md_tables normalizes Markdown pipe tables in README.md, docs/ and the Astro documentation site under site/src/content/docs/.
Command gen_action_catalog_manifest generates the ActionSpec group builder manifest used by the catalog-first runtime.
Command gen_action_catalog_manifest generates the ActionSpec group builder manifest used by the catalog-first runtime.
Command gen_api_live pins what a booted GitLab says its own REST API is.
Command gen_api_live pins what a booted GitLab says its own REST API is.
Command gen_brand emits every vector brand asset from one parametric geometry, so the mark cannot drift between its surfaces.
Command gen_brand emits every vector brand asset from one parametric geometry, so the mark cannot drift between its surfaces.
Command gen_graphql_schema pins a GitLab GraphQL schema into the repository.
Command gen_graphql_schema pins a GitLab GraphQL schema into the repository.
Command gen_icon_webp rasterizes the SVG icon constants declared in internal/toolutil/icons.go into lossless WebP fallbacks for MCP clients that reject image/svg+xml (VS Code Copilot's mcpIcons.ts MIME allowlist, for example, admits image/webp but not SVG).
Command gen_icon_webp rasterizes the SVG icon constants declared in internal/toolutil/icons.go into lossless WebP fallbacks for MCP clients that reject image/svg+xml (VS Code Copilot's mcpIcons.ts MIME allowlist, for example, admits image/webp but not SVG).
Command gen_lhm_manifest regenerates the tools, prompts, and resources arrays in lhm.plugin.json, the manifest published to the LobeHub Marketplace.
Command gen_lhm_manifest regenerates the tools, prompts, and resources arrays in lhm.plugin.json, the manifest published to the LobeHub Marketplace.
Command gen_llms generates llms.txt and llms-full.txt files.
Command gen_llms generates llms.txt and llms-full.txt files.
Command gen_model_corpus renders the model evaluation corpus breadth ledger: what the corpus asks about, counted against the action catalog.
Command gen_model_corpus renders the model evaluation corpus breadth ledger: what the corpus asks about, counted against the action catalog.
Command gen_model_results turns what a model evaluation run observed into what this repository publishes: the committed record, the reference page and the README tables.
Command gen_model_results turns what a model evaluation run observed into what this repository publishes: the committed record, the reference page and the README tables.
Command gen_orbit_record records what GitLab.com's Orbit routes answer and commits the key tree of each answer to docs/development/orbit-responses.json.
Command gen_orbit_record records what GitLab.com's Orbit routes answer and commits the key tree of each answer to docs/development/orbit-responses.json.
Command gen_request_inventory merges the request shards the unit suite records into the committed inventory of what this server sends GitLab.
Command gen_request_inventory merges the request shards the unit suite records into the committed inventory of what this server sends GitLab.
Command gen_stats auto-generates the repository statistics section in README.md.
Command gen_stats auto-generates the repository statistics section in README.md.
Command gen_testing_docs regenerates the managed test metrics section in docs/development/testing/testing.md.
Command gen_testing_docs regenerates the managed test metrics section in docs/development/testing/testing.md.
Command godoc_tool is the consolidated Go documentation auditor and fixer.
Command godoc_tool is the consolidated Go documentation auditor and fixer.
internal
actionids
Package actionids is the one reader of the canonical action IDs this repository publishes, and the one rule for spotting one inside prose.
Package actionids is the one reader of the canonical action IDs this repository publishes, and the one rule for spotting one inside prose.
apidocs
Package apidocs is a shared fetcher for the GitLab API reference docs (the doc/api/<area>.md files in the gitlab-org/gitlab monorepo) used as a source of truth alongside the client-go SDK by the audit utilities.
Package apidocs is a shared fetcher for the GitLab API reference docs (the doc/api/<area>.md files in the gitlab-org/gitlab monorepo) used as a source of truth alongside the client-go SDK by the audit utilities.
apilive
Package apilive is the committed record of what a booted GitLab says its own REST API is, and the one reader of it.
Package apilive is the committed record of what a booted GitLab says its own REST API is, and the one reader of it.
auditshared
Package auditshared holds analysis helpers shared by the discovery-metadata auditors (cmd/audit_1to1 R-META and cmd/audit_discovery_completeness): the projected-description probe, owner-package resolution, and the shared usage/description quality checks.
Package auditshared holds analysis helpers shared by the discovery-metadata auditors (cmd/audit_1to1 R-META and cmd/audit_discovery_completeness): the projected-description probe, owner-package resolution, and the shared usage/description quality checks.
docgen
Package docgen contains helpers for generated project documentation.
Package docgen contains helpers for generated project documentation.
golist
Package golist holds the row shape two commands ask `go list` for, and the one answer to which `go` they ask it of.
Package golist holds the row shape two commands ask `go list` for, and the one answer to which `go` they ask it of.
goprogram
Package goprogram is the one go/packages front end for the gates that type-check this repository's own source.
Package goprogram is the one go/packages front end for the gates that type-check this repository's own source.
graphqldocs
Package graphqldocs reads every raw GraphQL document this repository writes out of the source and judges each one against a GitLab schema.
Package graphqldocs reads every raw GraphQL document this repository writes out of the source and judges each one against a GitLab schema.
graphqlintrospect
Package graphqlintrospect asks a GitLab instance for its GraphQL schema and converts the answer to SDL.
Package graphqlintrospect asks a GitLab instance for its GraphQL schema and converts the answer to SDL.
mcpsurface
Package mcpsurface is the one reader of the MCP surface this server serves.
Package mcpsurface is the one reader of the MCP surface this server serves.
orbitrecord
Package orbitrecord is the committed record of what GitLab.com's Orbit routes answer, and the one reader of it.
Package orbitrecord is the committed record of what GitLab.com's Orbit routes answer, and the one reader of it.
provenance
Package provenance holds the one age verdict the commands that pin an external truth pass on their committed record.
Package provenance holds the one age verdict the commands that pin an external truth pass on their committed record.
requestinventory
Package requestinventory holds the committed record of what this server sends GitLab, and the one definition of which catalog actions it covers.
Package requestinventory holds the committed record of what this server sends GitLab, and the one definition of which catalog actions it covers.
testsource
Package testsource answers the three questions every command that reads _test.go files in this repository used to answer for itself: whether a function name is a Go test entry point, which naming bucket that name falls in, and which files a scan of the tree may look at.
Package testsource answers the three questions every command that reads _test.go files in this repository used to answer for itself: whether a function name is a Go test entry point, which naming bucket that name falls in, and which files a scan of the tree may look at.
Command server is the MCP server entry point for gitlab-mcp-server.
Command server is the MCP server entry point for gitlab-mcp-server.

Jump to

Keyboard shortcuts

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