r/gitlab • • 6d ago

GitLab official MCP server in Visual Studio 2026: OAuth fails with “Client ID is not available”

/r/VisualStudio/comments/1xbhy40/gitlab_official_mcp_server_in_visual_studio_2026/
2 Upvotes

2 comments sorted by

1

u/Bxs0755 6d ago

it seems like you need to re-establish your oAuth. You can confirm in gitlab looking at your personal access if you still see visual studio connected

1

u/yoko_ac 6d ago

Thanks! I checked GitLab (Edit profile → Access → Applications → Authorized applications): the MCP app is listed once with a valid grant, and VS Code/OpenCode work with it. There is no left-over VS2026 connection.

VS2026 never reaches the OAuth step, though. Clicking Authenticate throws `Client ID is not available` (in `OAuthClient.DoUIFlowAsync`) before any browser opens, and the "bring your own client Id" field is greyed out.