GitLab Integration
DevBoy tools provides full integration with GitLab for managing issues, merge requests, and code reviews through AI assistants. Both GitLab.com and self-hosted GitLab instances are supported.
Quick Config Generator
Go to your project's main page — the numeric ID is shown below the project name. You can also use the full path (e.g., group/subgroup/project).
Required token scopes
When creating a GitLab Personal Access Token, you need to select the following scopes:
Configuration
Basic configuration
Configuration file
Settings are stored in ~/.config/devboy-tools/config.toml:
The token is stored separately in the OS keychain for security.
Self-hosted GitLab
For GitLab Enterprise or self-managed instances, set the url to your instance:
MCP tools
Once configured, the following MCP tools are available:
Issue tools
Merge request tools
Output formats
All tools support three output formats via the format parameter:
markdown(default) - Human-readable with formattingcompact- Condensed format for limited contextjson- Raw JSON data
Example:
Testing
Verify your GitLab configuration:
This will test the connection and display your GitLab user information.
Troubleshooting
"401 Unauthorized" error
- Verify your token is copied correctly
- Check that the token hasn't expired
- Ensure the token has the required
apiscope
"404 Not Found" error
- Verify the project ID or path is correct
- Ensure the project exists and is accessible with your token
- For paths with subgroups, use the full path (e.g.,
group/subgroup/project)
"403 Forbidden" error
- Your token may lack the required scope
- The project may have restricted API access
- Check if your account has the necessary project permissions
Rate limiting
GitLab API has rate limits:
- GitLab.com: 2,000 requests per minute for authenticated users
- Self-hosted: depends on instance configuration
- The tool will show a rate limit error if exceeded