r/gitlab • • Oct 21 '26

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/
3 Upvotes

5 comments sorted by

1

u/Bxs0755 Oct 21 '26

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 Oct 21 '26

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.

2

u/keksimichi Oct 28 '26

Mind bringing this over into the MCP server feedback issue? Subscribed engineers may be able to determine better whether it is a bug, or otherwise issue.

1

u/yoko_ac Oct 29 '26

Thanks for bringing up the feedback issue :) Posted it: https://gitlab.com/gitlab-org/gitlab/-/work_items/630189#note_4116634193

1

u/keksimichi Oct 29 '26

Thanks, appreciate it!