Home / Servers / GitHub API / migrations_start_for_org

Start an organization migration

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

Start an organization migration Initiates the generation of a migration archive. [POST /orgs/{org}/migrations]

Name on the gateway: github_api__migrations_start_for_org · may change things.

Parameters

NameTypeDescription
org requiredstringThe organization name. The name is not case sensitive.
repositories requiredarrayA list of arrays indicating which repositories should be migrated.
lock_repositoriesbooleanIndicates whether repositories should be locked (to prevent manipulation)…
exclude_metadatabooleanIndicates whether metadata should be excluded and only git source should be…
exclude_git_databooleanIndicates whether the repository git data should be excluded from the migration.
exclude_attachmentsbooleanIndicates whether attachments should be excluded from the migration (to reduce…
exclude_releasesbooleanIndicates whether releases should be excluded from the migration (to reduce…
exclude_owner_projectsbooleanIndicates whether projects owned by the organization or users should be…
org_metadata_onlybooleanIndicates whether this should only include organization metadata (repositories…
excludearrayExclude related items from being returned in the response in order to improve…

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_start_for_org",
  "arguments": {
    "org": "…",
    "repositories": []
  }
}

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 start an organization migration tool with org set to ….

More from GitHub API