gitlab_get_current_user
Retrieve detailed profile information of the currently authenticated user on the MCP GitLab Server, including ID, permissions, and account status, to verify authentication, check capabilities, or use in automation scripts.
Instructions
Get the currently authenticated user's profile Returns comprehensive information about the authenticated user including:
- Basic info: ID, username, name, email
- Profile details: bio, organization, job title
- Account status: state, creation date, admin status
- Permissions: can_create_group, can_create_project
- Security: two_factor_enabled, external status
Use cases:
- Verify authentication is working
- Get user context for automation scripts
- Check user permissions and capabilities
- Display user info in applications
Example response: {'id': 123, 'username': 'johndoe', 'name': 'John Doe', ...}
Input Schema
Name | Required | Description | Default |
---|---|---|---|
No arguments |