Skip to main content
Glama

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

TableJSON Schema
NameRequiredDescriptionDefault
project_idYesThe ID or URL-encoded path of the project

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);
    };
  • 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']
      }
    },
  • The registration entry in the tool registry that maps the tool name 'gitlab_list_integrations' to its handler function.
    gitlab_list_integrations: integrationHandlers.listIntegrations,

Latest Blog Posts

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/rifqi96/mcp-gitlab'

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