Skip to main content
Glama

MCP GitLab Server

by Vijay-Duke

gitlab_list_user_events

Track and filter GitLab user activities like issue creation, comments, and code pushes. Use to analyze contributions, monitor actions, or create audit trails by filtering by action type, target type, and date range.

Instructions

Get user's activity feed Returns: Array of user activities Use when: Tracking user contributions, audit trail Filtering: By action type, target type, date range

Example activities:

  • Created issue #123

  • Commented on MR !456

  • Pushed to branch main

  • Closed issue #789

Related tools:

  • gitlab_list_project_members: Find users

  • gitlab_search_in_project: Search by user

Input Schema

NameRequiredDescriptionDefault
actionNoEvent action filter Type: string (enum) Options: - 'created': New items created - 'updated': Existing items modified - 'closed': Items closed - 'reopened': Items reopened - 'pushed': Code pushed - 'commented': Comments added - 'merged': MRs merged - 'joined': User joined project - 'left': User left project - 'destroyed': Items deleted - 'expired': Items expired Optional: Yes (returns all actions if not specified)
afterNoStart date for event filtering Type: string Format: ISO 8601 date Inclusive: Yes Optional: Yes Examples: - '2024-01-01' (events from start of 2024) - '2024-06-15T14:00:00Z' (specific time) See also: DESC_DATE_SINCE for similar functionality
beforeNoEnd date for event filtering Type: string Format: ISO 8601 date Inclusive: Yes Optional: Yes Examples: - '2024-12-31' (events until end of 2024) - '2024-06-15T14:00:00Z' (specific time) See also: DESC_DATE_UNTIL for similar functionality
pageNoPage number for pagination Type: integer Range: ≥1 Default: 1 Example: 3 (to get the third page of results) Note: Use with per_page to navigate large result sets
per_pageNoNumber of results per page Type: integer Range: 1-100 Default: 20 Example: 50 (for faster browsing) Tip: Use smaller values (10-20) for detailed operations, larger (50-100) for listing
target_typeNoEvent target type filter Type: string (enum) Options: - 'Issue': Issue events - 'MergeRequest': MR events - 'Milestone': Milestone events - 'Note': Comment events - 'Project': Project events - 'Snippet': Snippet events - 'User': User events Optional: Yes (returns all types if not specified)
usernameYesGitLab username Type: string Format: Username without @ symbol Case: Case-sensitive Required: Yes Examples: - 'johndoe' (for @johndoe) - 'mary-smith' (for @mary-smith) - 'user123' (for @user123) Note: This is the username, not display name or email

Input Schema (JSON Schema)

{ "properties": { "action": { "description": "Event action filter\nType: string (enum)\nOptions:\n - 'created': New items created\n - 'updated': Existing items modified\n - 'closed': Items closed\n - 'reopened': Items reopened\n - 'pushed': Code pushed\n - 'commented': Comments added\n - 'merged': MRs merged\n - 'joined': User joined project\n - 'left': User left project\n - 'destroyed': Items deleted\n - 'expired': Items expired\nOptional: Yes (returns all actions if not specified)", "enum": [ "commented", "pushed", "created", "closed", "opened", "merged", "joined", "left", "destroyed", "expired", "removed", "deleted", "approved", "updated", "uploaded", "downloaded" ], "type": "string" }, "after": { "description": "Start date for event filtering\nType: string\nFormat: ISO 8601 date\nInclusive: Yes\nOptional: Yes\nExamples:\n - '2024-01-01' (events from start of 2024)\n - '2024-06-15T14:00:00Z' (specific time)\nSee also: DESC_DATE_SINCE for similar functionality", "type": "string" }, "before": { "description": "End date for event filtering\nType: string\nFormat: ISO 8601 date\nInclusive: Yes\nOptional: Yes\nExamples:\n - '2024-12-31' (events until end of 2024)\n - '2024-06-15T14:00:00Z' (specific time)\nSee also: DESC_DATE_UNTIL for similar functionality", "type": "string" }, "page": { "default": 1, "description": "Page number for pagination\nType: integer\nRange: ≥1\nDefault: 1\nExample: 3 (to get the third page of results)\nNote: Use with per_page to navigate large result sets", "minimum": 1, "type": "integer" }, "per_page": { "default": 50, "description": "Number of results per page\nType: integer\nRange: 1-100\nDefault: 20\nExample: 50 (for faster browsing)\nTip: Use smaller values (10-20) for detailed operations, larger (50-100) for listing", "maximum": 100, "minimum": 1, "type": "integer" }, "target_type": { "description": "Event target type filter\nType: string (enum)\nOptions:\n - 'Issue': Issue events\n - 'MergeRequest': MR events\n - 'Milestone': Milestone events\n - 'Note': Comment events\n - 'Project': Project events\n - 'Snippet': Snippet events\n - 'User': User events\nOptional: Yes (returns all types if not specified)", "enum": [ "Note", "Issue", "MergeRequest", "Commit", "Project", "Snippet", "User", "WikiPage", "Milestone", "Discussion", "DiffNote" ], "type": "string" }, "username": { "description": "GitLab username\nType: string\nFormat: Username without @ symbol\nCase: Case-sensitive\nRequired: Yes\nExamples:\n - 'johndoe' (for @johndoe)\n - 'mary-smith' (for @mary-smith)\n - 'user123' (for @user123)\nNote: This is the username, not display name or email", "type": "string" } }, "required": [ "username" ], "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