GitLab · Capability

GitLab Webhook Management

Unified capability for managing GitLab project webhooks, including CRUD operations, custom header and URL variable configuration, delivery event history, and testing. Used by DevOps engineers and platform administrators to set up and maintain event-driven integrations.

Run with Naftiko GitlabWebhooksIntegrationsDevopsEvent Driven

What You Can Do

GET
List project webhooks — List all webhooks for a project.
/v1/projects/{id}/webhooks
POST
Add project webhook — Add a new webhook to a project.
/v1/projects/{id}/webhooks
GET
Get project webhook — Get details of a specific project webhook.
/v1/projects/{id}/webhooks/{hook_id}
PUT
Update project webhook — Update a project webhook configuration.
/v1/projects/{id}/webhooks/{hook_id}
DELETE
Delete project webhook — Delete a project webhook.
/v1/projects/{id}/webhooks/{hook_id}
GET
List webhook events — List delivery events for a webhook from the past 7 days.
/v1/projects/{id}/webhooks/{hook_id}/events
POST
Resend webhook event — Resend a previously triggered webhook event.
/v1/projects/{id}/webhooks/{hook_id}/events/{hook_event_id}/resend
POST
Test project webhook — Send a test webhook payload of a specified trigger type.
/v1/projects/{id}/webhooks/{hook_id}/tests/{trigger}
PUT
Set webhook custom header — Set a custom header for a webhook.
/v1/projects/{id}/webhooks/{hook_id}/custom-headers/{key}
DELETE
Delete webhook custom header — Delete a custom header from a webhook.
/v1/projects/{id}/webhooks/{hook_id}/custom-headers/{key}
PUT
Set webhook url variable — Set a URL variable for a webhook.
/v1/projects/{id}/webhooks/{hook_id}/url-variables/{key}
DELETE
Delete webhook url variable — Delete a URL variable from a webhook.
/v1/projects/{id}/webhooks/{hook_id}/url-variables/{key}

MCP Tools

list-project-webhooks

List all webhooks configured for a project.

read-only idempotent
add-project-webhook

Create a new webhook for a project with configurable event triggers.

get-project-webhook

Get configuration details for a specific project webhook.

read-only idempotent
update-project-webhook

Update the configuration of an existing project webhook.

idempotent
delete-project-webhook

Remove a webhook from a project.

idempotent
list-webhook-events

List delivery events for a webhook from the past 7 days.

read-only idempotent
resend-webhook-event

Resend a previously triggered webhook event to retry failed deliveries.

test-project-webhook

Send a test webhook payload of a specified trigger type to verify endpoint configuration.

set-webhook-custom-header

Add or update a custom HTTP header sent with webhook deliveries.

idempotent
delete-webhook-custom-header

Remove a custom HTTP header from a webhook.

idempotent
set-webhook-url-variable

Add or update a URL variable for dynamic webhook URL substitution.

idempotent
delete-webhook-url-variable

Remove a URL variable from a webhook.

idempotent

APIs Used

gitlab-webhooks