Skip to content

Gitlab server - Invalid arguments  #357

@umairatwork8

Description

@umairatwork8

Issue Description

When attempting to interact with GitLab's API through the integration, multiple operations are failing with argument validation errors.

Steps to Reproduce

  1. Attempted to create a new repository: Error: MCP error -32603: Invalid arguments: fork: Required
  2. Attempted to search existing repositories:
    Error: MCP error -32603: Invalid arguments: items.0.owner: Required, items.0.fork: Required, items.1.fork: Required, items.2.owner: Required, items.2.fork: Required [...]

Expected Behavior

  • Repository creation should process with basic parameters (name, visibility, description)
  • Repository search should return results without requiring owner and fork parameters for each item

Actual Behavior

The API is requiring additional parameters that seem to be internal GitLab properties:

  • fork parameter is required for repository creation
  • owner and fork parameters are required for each item in search results

Impact

This issue prevents basic GitLab operations from working, including:

  • Repository creation
  • Repository search
  • Potentially other GitLab API integrations

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions