Skip to content

errors with gitlab 18.2.1 and latest release mcp #185

@paulgiordano

Description

@paulgiordano

Running against gitlab 18.2.1 with mcp 1.0.76 generates many errors:

x  list_commits {"project_id":72,"all":true}   
    MCP error -32603: Invalid arguments: project_id: Expected string, received number   

does eventually produce a table, but it is lacking the projects rejected above.

reproduce:
gemini-cli 0.1.14
for each project find the last commit on any branch and display them in a table with the author, date, and comment fields.

./gemini/settings.json:

{
  "theme": "Default",
  "selectedAuthType": "gemini-api-key",
  "mcpServers": {
    "gitlab-test": {
      "command": "/usr/local/bin/mcp-gitlab",
      "env": {
        "GITLAB_PERSONAL_ACCESS_TOKEN": "<redacted>",
        "GITLAB_API_URL": "https://<our local gitlab>/api/v4",
        "GITLAB_READ_ONLY_MODE": "false",
        "USE_GITLAB_WIKI": "false",
        "USE_MILESTONE": "false",
        "USE_PIPELINE": "false"
      }
    }
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions