openai / openai/codex

GitHub connector loses all tools after granting access to a private repository

Open
#40,729 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

auth bug codex-web mcp tool-calls
Dominant language
Rust
Stars
125k
Forks
19.4k
PR merge metrics
PR metrics pending

Description

The GitHub connector becomes unusable after granting access to a private repository.

Repository: https://github.com/ferminquant/fermin-voice-skill

Steps:

  1. Connect GitHub in ChatGPT/Codex.
  2. Access GitHub successfully.
  3. Try to access the private repository above.
  4. Grant read access to the repository.
  5. Retry GitHub operations.

After permission was granted, every GitHub tool returned:

MCP error -32001: Unknown tool

This affected github.get_repo, github.fetch, github.fetch_file, github.get_profile, and github.create_issue.

Expected behavior:
The connector should refresh its authorization and allow access to the private repository. Existing GitHub tools should continue working.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the sequence in the issue: connect GitHub, access the listed private repository, grant read access, and retry the affected operations. Investigate the GitHub connector's authorization refresh path and verify that github.get_repo, github.fetch, github.fetch_file, github.get_profile, and github.create_issue remain available and can access the repository afterward.

Written by the indexing model from the issue text.

Assessment

Tech stack
github
Domain
api, authorization, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.