Raycast extension to create, search and modify issues, manage merge requests, projects and more.
and many more
The extension supports two authentication methods. Which one it uses depends on which credential you fill in, with the Personal Access Token taking precedence when both are set:
API Token preference is set. Simple, ideal for gitlab.com and instances without rotation.API Token preference is empty. Recommended for enterprise instances that revoke or rotate Personal Access Tokens. Tokens are stored encrypted by Raycast and refreshed automatically. The browser flow runs only on first use and when the refresh token is revoked.Leaving both empty configures neither method, and commands report that no API Token or OAuth Application ID is set.
https://gitlab.com or your self-hosted URL).Preferences > Applications and click Add new application.Raycast GitLab (or any label).https://raycast.com/redirect?packageName=Extension
https://raycast.com/redirect/extension
api, read_user, and read_repository. The extension always requests these three.Once you have authorized, Raycast adds a logout option to the extension preferences. Logging out (e.g. to switch accounts) makes the next GitLab command start a fresh authorization flow, as long as the API Token field is still empty. Filling that field back in switches authentication back to the token, and logging out has no further effect.
Go to your GitLab instance e.g. https://gitlab.com
Click on your avatar image in the right upper corner
Click on Edit profile
Click on Access Tokens on the left sidebar
Give your token a name e.g. raycast and set an expiration date (highly recommended)
Select your scope of choice
You need at least read_api. When you want to make write operation via raycast, you should use api
Store the given access token in a secret box because GitLab want show you the key again
Go to the preferences in Raycast (or start any command of GitLab extension)
Set your GitLab instance url
For gitlab.com this would be https://gitlab.com.
Your own instance could be https://mygitlab.org.
Set the token from the previous step into the API Token field
Now you should be able to manage your GitLab instance with Raycast 🚀.
Tip: If your instance auto-revokes Personal Access Tokens (e.g. nightly), use OAuth instead. The Application ID is permanent; access tokens are minted from a long-lived refresh token, so you re-authorize only when the refresh token itself is revoked.
For all read only commands the read_api scope is enough. If you want to create/modify e.g. an issue you need
the api scope.
If you use a self hosted instance make sure that you set your custom CA certificate in the preferences. This can be a tricky process and you need to make sure that you use the right certificate otherwise you get an error. The extension use your certificate and pass it directly to nodejs network stack. If you have troubles checkout various nodejs guides around the internet or checkout the official nodejs documentation.
You can disable certificate errors, but this is not recommended for security reasons ⚠️.



