Home / Servers / GitHub API / migrations_unlock_repo_for_org

Unlock an organization repository

An MCP tool from the GitHub API server, hosted on mcp.hjlabs.in.

Unlock an organization repository Unlocks a repository that was locked for migration. You should unlock each migrated repository and delete them when the migration is complete and you no longer need the source data. [DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock]

Name on the gateway: github_api__migrations_unlock_repo_for_org · may change things.

Parameters

NameTypeDescription
org requiredstringThe organization name. The name is not case sensitive.
migration_id requiredintegerThe unique identifier of the migration.
repo_name requiredstringrepo_name parameter

How to call it

Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:

call_tool arguments
{
  "name": "github_api__migrations_unlock_repo_for_org",
  "arguments": {
    "org": "…",
    "migration_id": 0,
    "repo_name": "…"
  }
}

Or connect the GitHub API server directly, which lists 1,221 tools including this one:

Run in your terminal
claude mcp add --transport http hj-github-api https://mcp.hjlabs.in/mcp/github-api \
  --header "Authorization: Bearer YOUR_API_KEY"

Try asking

Use the unlock an organization repository tool with org set to ….

More from GitHub API