Skip to content

MCP GitLab Tools Not Available Despite Being Listed in Tool Usage Policy

Problem Description

All GitLab MCP tools are listed as available in the tool usage policy but are not actually accessible when called.

What I Was Doing

Testing the GitLab MCP server functionality by calling various read operations on the repository john/melange-mvp-template.

What I Expected

The MCP tools should be available and functional, allowing me to:

  • Search repositories
  • Get file contents
  • List issues
  • Get merge requests
  • Access pipeline information
  • etc.

What Actually Happened

Every single MCP GitLab tool call resulted in:

Error: No such tool available: mcp__gitlab-git-haley-io__[tool_name]

Tools Tested (All Failed)

  • mcp__gitlab-git-haley-io__search_repositories
  • mcp__gitlab-git-haley-io__get_file_contents
  • mcp__gitlab-git-haley-io__get_issues

Error Logs

For all tools, the consistent error is:

<tool_use_error>Error: No such tool available: mcp__gitlab-git-haley-io__[tool_name]</tool_use_error>

Environment Context

  • Repository: john/melange-mvp-template on git.haley.io
  • GitLab CLI (glab) works perfectly - confirmed by successfully running glab issue list
  • GitLab server connectivity is functional
  • MCP tools are listed in the allowed tools policy but not actually available

Expected Resolution

The MCP server should be properly configured and all listed tools should be functional. The tools listed in the usage policy include:

  • mcp__gitlab-git-haley-io__get_merge_request
  • mcp__gitlab-git-haley-io__get_pipelines
  • mcp__gitlab-git-haley-io__get_latest_pipeline
  • mcp__gitlab-git-haley-io__get_jobs
  • mcp__gitlab-git-haley-io__search_repositories
  • mcp__gitlab-git-haley-io__get_file_contents
  • mcp__gitlab-git-haley-io__get_issues
  • mcp__gitlab-git-haley-io__get_issue
  • mcp__gitlab-git-haley-io__get_issue_notes
  • mcp__gitlab-git-haley-io__get_milestones
  • mcp__gitlab-git-haley-io__get_labels
  • mcp__gitlab-git-haley-io__get_pipeline
  • mcp__gitlab-git-haley-io__get_pipeline_jobs
  • mcp__gitlab-git-haley-io__get_job
  • mcp__gitlab-git-haley-io__get_job_log
  • mcp__gitlab-git-haley-io__get_variables
  • mcp__gitlab-git-haley-io__get_branches
  • mcp__gitlab-git-haley-io__get_branch
  • mcp__gitlab-git-haley-io__create_issue

Impact

This completely blocks testing of the MCP GitLab server functionality and prevents any automation through the MCP interface.