GitHub · Capability

GitHub Org API — Migrations

GitHub Org API — Migrations. 7 operations. Lead operation: GitHub Get List of Conflicting Packages During Docker Migration for Organization. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubMigrations

What You Can Do

GET
Getlistofconflictingpackagesduringdockermigrationfororganization — GitHub Get List of Conflicting Packages During Docker Migration for Organization
/v1/orgs/{org}/docker/conflicts
GET
Listorganizationmigrations — GitHub List Organization Migrations
/v1/orgs/{org}/migrations
POST
Startanorganizationmigration — GitHub Start an Organization Migration
/v1/orgs/{org}/migrations
GET
Getanorganizationmigrationstatus — GitHub Get an Organization Migration Status
/v1/orgs/{org}/migrations/{migration-id}
GET
Downloadanorganizationmigrationarchive — GitHub Download an Organization Migration Archive
/v1/orgs/{org}/migrations/{migration-id}/archive
DELETE
Deleteanorganizationmigrationarchive — GitHub Delete an Organization Migration Archive
/v1/orgs/{org}/migrations/{migration-id}/archive
GET
Listrepositoriesinanorganizationmigration — GitHub List Repositories in an Organization Migration
/v1/orgs/{org}/migrations/{migration-id}/repositories

MCP Tools

github-get-list-conflicting-packages

GitHub Get List of Conflicting Packages During Docker Migration for Organization

read-only idempotent
github-list-organization-migrations

GitHub List Organization Migrations

read-only idempotent
github-start-organization-migration

GitHub Start an Organization Migration

github-get-organization-migration-status

GitHub Get an Organization Migration Status

read-only idempotent
github-download-organization-migration-archive

GitHub Download an Organization Migration Archive

read-only idempotent
github-delete-organization-migration-archive

GitHub Delete an Organization Migration Archive

idempotent
github-list-repositories-organization-migration

GitHub List Repositories in an Organization Migration

read-only idempotent

Capability Spec

organizations-migrations.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GitHub Org API — Migrations
  description: 'GitHub Org API — Migrations. 7 operations. Lead operation: GitHub Get List of Conflicting Packages During
    Docker Migration for Organization. Self-contained Naftiko capability covering one Github business surface.'
  tags:
  - Github
  - Migrations
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GITHUB_API_KEY: GITHUB_API_KEY
capability:
  consumes:
  - type: http
    namespace: organizations-migrations
    baseUri: ''
    description: GitHub Org API — Migrations business capability. Self-contained, no shared references.
    resources:
    - name: orgs-org-docker-conflicts
      path: /orgs/{org}/docker/conflicts
      operations:
      - name: getlistofconflictingpackagesduringdockermigrationfororganization
        method: GET
        description: GitHub Get List of Conflicting Packages During Docker Migration for Organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-migrations
      path: /orgs/{org}/migrations
      operations:
      - name: listorganizationmigrations
        method: GET
        description: GitHub List Organization Migrations
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: exclude
          in: query
          type: array
          description: Exclude attributes from the API response to improve performance
      - name: startanorganizationmigration
        method: POST
        description: GitHub Start an Organization Migration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: orgs-org-migrations-migration_id
      path: /orgs/{org}/migrations/{migration_id}
      operations:
      - name: getanorganizationmigrationstatus
        method: GET
        description: GitHub Get an Organization Migration Status
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: exclude
          in: query
          type: array
          description: Exclude attributes from the API response to improve performance
    - name: orgs-org-migrations-migration_id-archive
      path: /orgs/{org}/migrations/{migration_id}/archive
      operations:
      - name: downloadanorganizationmigrationarchive
        method: GET
        description: GitHub Download an Organization Migration Archive
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: deleteanorganizationmigrationarchive
        method: DELETE
        description: GitHub Delete an Organization Migration Archive
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-migrations-migration_id-repositories
      path: /orgs/{org}/migrations/{migration_id}/repositories
      operations:
      - name: listrepositoriesinanorganizationmigration
        method: GET
        description: GitHub List Repositories in an Organization Migration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.GITHUB_API_KEY}}'
  exposes:
  - type: rest
    namespace: organizations-migrations-rest
    port: 8080
    description: REST adapter for GitHub Org API — Migrations. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/orgs/{org}/docker/conflicts
      name: orgs-org-docker-conflicts
      description: REST surface for orgs-org-docker-conflicts.
      operations:
      - method: GET
        name: getlistofconflictingpackagesduringdockermigrationfororganization
        description: GitHub Get List of Conflicting Packages During Docker Migration for Organization
        call: organizations-migrations.getlistofconflictingpackagesduringdockermigrationfororganization
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/migrations
      name: orgs-org-migrations
      description: REST surface for orgs-org-migrations.
      operations:
      - method: GET
        name: listorganizationmigrations
        description: GitHub List Organization Migrations
        call: organizations-migrations.listorganizationmigrations
        with:
          exclude: rest.exclude
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: startanorganizationmigration
        description: GitHub Start an Organization Migration
        call: organizations-migrations.startanorganizationmigration
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/migrations/{migration-id}
      name: orgs-org-migrations-migration-id
      description: REST surface for orgs-org-migrations-migration_id.
      operations:
      - method: GET
        name: getanorganizationmigrationstatus
        description: GitHub Get an Organization Migration Status
        call: organizations-migrations.getanorganizationmigrationstatus
        with:
          exclude: rest.exclude
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/migrations/{migration-id}/archive
      name: orgs-org-migrations-migration-id-archive
      description: REST surface for orgs-org-migrations-migration_id-archive.
      operations:
      - method: GET
        name: downloadanorganizationmigrationarchive
        description: GitHub Download an Organization Migration Archive
        call: organizations-migrations.downloadanorganizationmigrationarchive
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteanorganizationmigrationarchive
        description: GitHub Delete an Organization Migration Archive
        call: organizations-migrations.deleteanorganizationmigrationarchive
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/migrations/{migration-id}/repositories
      name: orgs-org-migrations-migration-id-repositories
      description: REST surface for orgs-org-migrations-migration_id-repositories.
      operations:
      - method: GET
        name: listrepositoriesinanorganizationmigration
        description: GitHub List Repositories in an Organization Migration
        call: organizations-migrations.listrepositoriesinanorganizationmigration
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: organizations-migrations-mcp
    port: 9090
    transport: http
    description: MCP adapter for GitHub Org API — Migrations. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: github-get-list-conflicting-packages
      description: GitHub Get List of Conflicting Packages During Docker Migration for Organization
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: organizations-migrations.getlistofconflictingpackagesduringdockermigrationfororganization
      outputParameters:
      - type: object
        mapping: $.
    - name: github-list-organization-migrations
      description: GitHub List Organization Migrations
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: organizations-migrations.listorganizationmigrations
      with:
        exclude: tools.exclude
      outputParameters:
      - type: object
        mapping: $.
    - name: github-start-organization-migration
      description: GitHub Start an Organization Migration
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: organizations-migrations.startanorganizationmigration
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: github-get-organization-migration-status
      description: GitHub Get an Organization Migration Status
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: organizations-migrations.getanorganizationmigrationstatus
      with:
        exclude: tools.exclude
      outputParameters:
      - type: object
        mapping: $.
    - name: github-download-organization-migration-archive
      description: GitHub Download an Organization Migration Archive
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: organizations-migrations.downloadanorganizationmigrationarchive
      outputParameters:
      - type: object
        mapping: $.
    - name: github-delete-organization-migration-archive
      description: GitHub Delete an Organization Migration Archive
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: organizations-migrations.deleteanorganizationmigrationarchive
      outputParameters:
      - type: object
        mapping: $.
    - name: github-list-repositories-organization-migration
      description: GitHub List Repositories in an Organization Migration
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: organizations-migrations.listrepositoriesinanorganizationmigration
      outputParameters:
      - type: object
        mapping: $.