Skip to main content
Glama

MCP GitLab Server

by Vijay-Duke

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

NameRequiredDescriptionDefault

No arguments

Input Schema (JSON Schema)

{ "properties": {}, "type": "object" }

Other Tools from MCP GitLab Server

Related Tools

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Vijay-Duke/mcp-gitlab'

If you have feedback or need assistance with the MCP directory API, please join our Discord server