Skip to main content
Glama

MCP GitLab Server

by Vijay-Duke

gitlab_add_issue_comment

Add comments to GitLab issues using markdown, mentions, and issue references. Specify project ID, issue IID, and comment body for integration with the MCP GitLab Server.

Instructions

Post a new comment on an issue. Supports markdown formatting, mentions (@username), and references to other issues/MRs. Returns the created comment with metadata.

Input Schema

NameRequiredDescriptionDefault
bodyYesComment text content (string, required). Supports markdown, mentions (@user), and references (#123, !456)
issue_iidYesIssue internal ID (integer). Project-specific issue number (e.g., #123). Not the global issue ID
project_idNoProject ID (integer) or path (string like 'group/project'). Optional - auto-detects from current git repository if not provided

Input Schema (JSON Schema)

{ "properties": { "body": { "description": "Comment text content (string, required). Supports markdown, mentions (@user), and references (#123, !456)", "type": "string" }, "issue_iid": { "description": "Issue internal ID (integer). Project-specific issue number (e.g., #123). Not the global issue ID", "type": "integer" }, "project_id": { "description": "Project ID (integer) or path (string like 'group/project'). Optional - auto-detects from current git repository if not provided", "type": "string" } }, "required": [ "issue_iid", "body" ], "type": "object" }

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