Add GitLab OAuth MCP to shared AI client registry #344

Closed
opened 2026-10-16 12:54:14 +01:00 by nimmo · 2 comments
Owner

Configure the GitLab pilot's built-in MCP endpoint through the shared declarative registry, alongside Forgejo.

Completion criteria:

  • Add configurable GitLab enable and endpoint options and register it for OAuth-capable clients on all AI-client hosts.
  • Keep OAuth login separate from unattended activation and avoid shared administrator credentials.
  • Document supported clients and initial/headless authentication.
  • Validate generated configuration across Electra, Lena, Vega and Lyra and run flake checks.

Completed by #349, merged as 49edf83fd56a20c7baddcbbcbc202df6be3620e5. Full flake checks, per-host override probes and final-head CI pass. All review findings assessed; false null-semantics claims dismissed with direct execution evidence, valid advisory regression assertions implemented.

Deployment and per-client OAuth authorization remain separate from configuration validation; no fleet activation was performed as part of this merge.

Configure the GitLab pilot's built-in MCP endpoint through the shared declarative registry, alongside Forgejo. Completion criteria: - [x] Add configurable GitLab enable and endpoint options and register it for OAuth-capable clients on all AI-client hosts. - [x] Keep OAuth login separate from unattended activation and avoid shared administrator credentials. - [x] Document supported clients and initial/headless authentication. - [x] Validate generated configuration across Electra, Lena, Vega and Lyra and run flake checks. Completed by #349, merged as `49edf83fd56a20c7baddcbbcbc202df6be3620e5`. Full flake checks, per-host override probes and final-head CI pass. All review findings assessed; false null-semantics claims dismissed with direct execution evidence, valid advisory regression assertions implemented. Deployment and per-client OAuth authorization remain separate from configuration validation; no fleet activation was performed as part of this merge.
nimmo added this to the GitLab Pilot milestone 2026-10-16 12:54:14 +01:00
Author
Owner

Prepared locally on feat/gitlab-mcp-registry (not pushed or deployed).

Added GitLab enable/URL options and shared registry coverage for Codex, OpenCode and Pi on Electra, Lena, Vega and Lyra. OAuth remains an explicit per-client/host login; activation only writes configuration. Antigravity and Hermes follow the existing Cloudflare OAuth exclusions. Forgejo remains configured.

Validation: nix flake check passed, including new cross-host assertions for default endpoint, URL overrides, disabling the server and client exclusions. Nix formatting and staged whitespace checks passed. Existing stdenv platform deprecation warnings arose during unrelated Hermes package evaluation; left outside this change.

README documents normal and headless initial authorization. Live activation and authenticated GitLab MCP tool calls remain pending. No publication or fleet deployment performed.

Prepared locally on `feat/gitlab-mcp-registry` (not pushed or deployed). Added GitLab enable/URL options and shared registry coverage for Codex, OpenCode and Pi on Electra, Lena, Vega and Lyra. OAuth remains an explicit per-client/host login; activation only writes configuration. Antigravity and Hermes follow the existing Cloudflare OAuth exclusions. Forgejo remains configured. Validation: `nix flake check` passed, including new cross-host assertions for default endpoint, URL overrides, disabling the server and client exclusions. Nix formatting and staged whitespace checks passed. Existing stdenv platform deprecation warnings arose during unrelated Hermes package evaluation; left outside this change. README documents normal and headless initial authorization. Live activation and authenticated GitLab MCP tool calls remain pending. No publication or fleet deployment performed.
Author
Owner

Corrected Pi authorization instructions after inspecting the installed pi-mcp-adapter 2.32.1 source and README: use /mcp-auth gitlab inside interactive Pi, not pi mcp login gitlab in the shell. The adapter supports manual callback URL entry for headless sessions and requires an available OS credential store for persistent OAuth. README now documents this for GitLab and corrects the older Cloudflare command too. Documentation whitespace review passed. User reported a Pi timeout; exact host/message requested, so no confirmed timeout cause yet.

Corrected Pi authorization instructions after inspecting the installed pi-mcp-adapter 2.32.1 source and README: use `/mcp-auth gitlab` inside interactive Pi, not `pi mcp login gitlab` in the shell. The adapter supports manual callback URL entry for headless sessions and requires an available OS credential store for persistent OAuth. README now documents this for GitLab and corrects the older Cloudflare command too. Documentation whitespace review passed. User reported a Pi timeout; exact host/message requested, so no confirmed timeout cause yet.
nimmo closed this issue 2026-10-16 23:18:46 +01:00
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
nimmo/nixos-config#344
No description provided.