Skip to content

Gitlab mcp: Make "default_branch" property in "GitLabRepositorySchema" optional to fix GitLab error "Invalid arguments" #1560

@mcpride

Description

@mcpride

Describe the bug
gitlab mcp generates the following error when running "search_repositories" for an on-prem hosted gitlab instance:

MCP error -32603: Invalid arguments: items.16.default_branch: Required

Expected behavior
No error

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