github / github/github-mcp-server
Resource protected by organization SAML enforcement
- Dominant language
- Go
- Stars
- 33k
- Forks
- 5k
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 52
Description
I'm connected to the GitHub MCP server on VSCode. When asking a GitHub related question in Copilot Agent mode, I'd get the following error:
```
Resource protected by organization SAML enforcement. You must grant your OAuth token access to this organization.
```
Couldn't find any issue related to this in this repo. Though I did find [one in the CLI repo](https://github.com/cli/cli/issues/2661), which suggests me to re-authenticate to GitHub with `gh auth login`. I tried before prompting Copilot but no luck. Same error.
Contributor guide
Research direction
No file or test is identified. Start by reproducing the error through the GitHub MCP server in VSCode Copilot Agent mode with an organization using SAML enforcement, then compare the behavior with the CLI repo issue and the suggested gh auth login flow. Done means identifying and addressing the authentication failure, or documenting the remaining limitation and its required recovery steps.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github, go, vscode
- Domain
- authentication, security
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100