Docs menu+

Issues, merge requests, repos for GitLab. Works with cloud or self-hosted.

#GitLab

Issues, merge requests, repos for GitLab. Works with cloud or self-hosted.

#Get a token

Generate a Personal Access Token (glpat-…) at https://gitlab.com/-/profile/personal_access_tokens.

  • api for full agent use; read_api for read-only.
  • Self-hosted: set host URL when adding.

#Add it to the vault

bash
mcpvault add gitlab

Example session:

text
$ mcpvault add gitlab Label: work PAT: glpat-•••• ✓ Validated as alice ✓ Saved.

#Tools exposed

  • see upstream — issues, MRs, projects, files, search

#Switch to this account

In any chat client wired to mcpvault, ask:

Switch to my <label> GitLab account.

The vault server's activate_account tool flips the active label. Wrappers re-read it on the next call no restart.

GitLab — mcpvault docs