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
| Name | Type | Description |
|---|---|---|
org required | string | The organization name. The name is not case sensitive. |
repositories required | array | A list of arrays indicating which repositories should be migrated. |
lock_repositories | boolean | Indicates whether repositories should be locked (to prevent manipulation)… |
exclude_metadata | boolean | Indicates whether metadata should be excluded and only git source should be… |
exclude_git_data | boolean | Indicates whether the repository git data should be excluded from the migration. |
exclude_attachments | boolean | Indicates whether attachments should be excluded from the migration (to reduce… |
exclude_releases | boolean | Indicates whether releases should be excluded from the migration (to reduce… |
exclude_owner_projects | boolean | Indicates whether projects owned by the organization or users should be… |
org_metadata_only | boolean | Indicates whether this should only include organization metadata (repositories… |
exclude | array | Exclude 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:
{
"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:
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 ….