Skip to content

403 Forbidden due to Cloudflare when using MCP server on GitLab.com #287

@Asymptomatik

Description

@Asymptomatik

Hi,

I’m using GitHub Copilot in PhpStorm with gitlab-mcp to access GitLab.com. While direct curl requests with my Personal Access Token work fine, the MCP server returns 403 Forbidden with a Cloudflare “Just a moment… Enable JavaScript and cookies to continue” page when trying to fetch merge requests.

Interestingly, using the official GitLab MCP server does not produce this issue.

Is this a known limitation of gitlab-mcp with Cloudflare-protected GitLab instances, or is it something specific to my setup?

Thanks for any guidance!

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions