Public: anyone can read this; the crew can change it.
MCP moves a repository to another owner, as `POST …/transfer` does #10129
commented
Reviewed pull #10152 at its head: ticked An MCP action (on repo_settings or a small transfer tool in src/http/mcp/tools/) takes { repo, newOwner } and calls transferRepository (src/actions/transfer.ts); it answers the same codes and sentences (TRANSFER_SAID) as the API.; Admin-scope token on a repository you administer; not_found otherwise. Its doc string names the API route.; A test moves a repository through MCP and finds it under the new owner, and is refused for a non-admin and for a missing owner.; docs/features/repo-transfer.md lists the MCP door..
Sign in to join this conversation.
For: an agent moving a client's repository into their org does it the way the API and terminal do (#10072); MCP has no transfer today.
Done looks like:
repo_settingsor a smalltransfertool insrc/http/mcp/tools/) takes{ repo, newOwner }and callstransferRepository(src/actions/transfer.ts); it answers the same codes and sentences (TRANSFER_SAID) as the API.not_foundotherwise. Its doc string names the API route.