gitlab_list_integrations
Retrieve all configured integrations/services for a specific GitLab project by providing its ID or URL-encoded path, enabling effective project management and workflow automation.
Instructions
List all available project integrations/services
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | The ID or URL-encoded path of the project |
Input Schema (JSON Schema)
{
"properties": {
"project_id": {
"description": "The ID or URL-encoded path of the project",
"type": "string"
}
},
"required": [
"project_id"
],
"type": "object"
}
Implementation Reference
- The primary handler function that implements the logic for the gitlab_list_integrations tool. It validates the project_id parameter and calls the integrationsManager to list integrations, then formats the response.export const listIntegrations: ToolHandler = async (params, context) => { const { project_id } = params.arguments || {}; if (!project_id) { throw new McpError(ErrorCode.InvalidParams, 'project_id is required'); } const data = await context.integrationsManager.listIntegrations(project_id as string | number); return formatResponse(data); };
- src/utils/tools-data.ts:267-280 (schema)The input schema definition for the gitlab_list_integrations tool, specifying the required project_id parameter.{ name: 'gitlab_list_integrations', description: 'List all available project integrations/services', inputSchema: { type: 'object', properties: { project_id: { type: 'string', description: 'The ID or URL-encoded path of the project' } }, required: ['project_id'] } },
- src/utils/tool-registry.ts:38-38 (registration)The registration entry in the tool registry that maps the tool name 'gitlab_list_integrations' to its handler function.gitlab_list_integrations: integrationHandlers.listIntegrations,