added 2026-10-03can overwrite dataidempotent
Disconnect a GitHub repository from a project (needs edit access; the repository id is from list_project_repositories). Its pull requests, branches and commits stay on the issues but are redacted at once: only the kind, the number (short SHA for a commit) and the state `disconnected` remain, no title, author, branch or link. Nothing is deleted on GitHub and your sign-in accounts are not touched. Disconnecting one that is already disconnected does nothing. To connect a repository again use the web app (project Settings > Repositories): it is a browser redirect to GitHub and cannot be done here.
projectstringrequiredProject key, e.g. ITRrepositorystringrequiredRepository id, from list_project_repositories
Returns
disconnectedbooleanrequirednotestringoptionalWhat happened to the repository's refs on the issuesprojectstringrequiredrepositorystringrequiredThe repository id
- 2026-10-03 — New write tool (owner or editor): disconnects a repository from a project; its pull requests, branches and commits stay on the issues but show only their kind, number and state disconnected. Connecting stays web-only.
- 2026-10-04 — Claude Code 2.1.288+ (clientInfo claude-code): the text of a successful answer is itself up to 512 bytes, else "Result in structuredContent (N bytes)."; structuredContent and errors are unchanged. See /docs/mcp.