GitHub · Capability

GitHub Installation API — Installations

GitHub Installation API — Installations. 16 operations. Lead operation: GitHub List Installation Requests for the Authenticated App. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubInstallations

What You Can Do

GET
Listinstallationrequestsfortheauthenticatedapp — GitHub List Installation Requests for the Authenticated App
/v1/app/installation-requests
GET
Listinstallationsfortheauthenticatedapp — GitHub List Installations for the Authenticated App
/v1/app/installations
GET
Getaninstallationfortheauthenticatedapp — GitHub Get an Installation for the Authenticated App
/v1/app/installations/{installation-id}
DELETE
Deleteaninstallationfortheauthenticatedapp — GitHub Delete an Installation for the Authenticated App
/v1/app/installations/{installation-id}
POST
Createaninstallationaccesstokenforanapp — GitHub Create an Installation Access Token for an App
/v1/app/installations/{installation-id}/access-tokens
PUT
Suspendanappinstallation — GitHub Suspend an App Installation
/v1/app/installations/{installation-id}/suspended
DELETE
Unsuspendanappinstallation — GitHub Unsuspend an App Installation
/v1/app/installations/{installation-id}/suspended
GET
Listrepositoriesaccessibletotheappinstallation — GitHub List Repositories Accessible to the App Installation
/v1/installation/repositories
DELETE
Revokeaninstallationaccesstoken — GitHub Revoke an Installation Access Token
/v1/installation/token
GET
Getanorganizationinstallationfortheauthenticatedapp — GitHub Get an Organization Installation for the Authenticated App
/v1/orgs/{org}/installation
GET
Listappinstallationsforanorganization — GitHub List App Installations for an Organization
/v1/orgs/{org}/installations
GET
Getrepositoryinstallationfortheauthenticatedapp — GitHub Get Repository Installation for the Authenticated App
/v1/repos/{owner}/{repo}/installation
GET
Listappinstallationsaccessibletotheuseraccesstoken — GitHub List App Installations Accessible to the User Access Token
/v1/user/installations
PUT
Addrepositorytoanappinstallation — GitHub Add Repository to an App Installation
/v1/user/installations/{installation-id}/repositories/{repository-id}
DELETE
Removerepositoryfromanappinstallation — GitHub Remove Repository from an App Installation
/v1/user/installations/{installation-id}/repositories/{repository-id}
GET
Getuserinstallationfortheauthenticatedapp — GitHub Get User Installation for the Authenticated App
/v1/users/{username}/installation

MCP Tools

github-list-installation-requests-authenticated

GitHub List Installation Requests for the Authenticated App

read-only idempotent
github-list-installations-authenticated-app

GitHub List Installations for the Authenticated App

read-only idempotent
github-get-installation-authenticated-app

GitHub Get an Installation for the Authenticated App

read-only idempotent
github-delete-installation-authenticated-app

GitHub Delete an Installation for the Authenticated App

idempotent
github-create-installation-access-token

GitHub Create an Installation Access Token for an App

github-suspend-app-installation

GitHub Suspend an App Installation

idempotent
github-unsuspend-app-installation

GitHub Unsuspend an App Installation

idempotent
github-list-repositories-accessible-app

GitHub List Repositories Accessible to the App Installation

read-only idempotent
github-revoke-installation-access-token

GitHub Revoke an Installation Access Token

idempotent
github-get-organization-installation-authenticated

GitHub Get an Organization Installation for the Authenticated App

read-only idempotent
github-list-app-installations-organization

GitHub List App Installations for an Organization

read-only idempotent
github-get-repository-installation-authenticated

GitHub Get Repository Installation for the Authenticated App

read-only idempotent
github-list-app-installations-accessible

GitHub List App Installations Accessible to the User Access Token

read-only idempotent
github-add-repository-app-installation

GitHub Add Repository to an App Installation

idempotent
github-remove-repository-app-installation

GitHub Remove Repository from an App Installation

idempotent
github-get-user-installation-authenticated

GitHub Get User Installation for the Authenticated App

read-only idempotent

Capability Spec

installation-installations.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GitHub Installation API — Installations
  description: 'GitHub Installation API — Installations. 16 operations. Lead operation: GitHub List Installation Requests
    for the Authenticated App. Self-contained Naftiko capability covering one Github business surface.'
  tags:
  - Github
  - Installations
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GITHUB_API_KEY: GITHUB_API_KEY
capability:
  consumes:
  - type: http
    namespace: installation-installations
    baseUri: ''
    description: GitHub Installation API — Installations business capability. Self-contained, no shared references.
    resources:
    - name: app-installation-requests
      path: /app/installation-requests
      operations:
      - name: listinstallationrequestsfortheauthenticatedapp
        method: GET
        description: GitHub List Installation Requests for the Authenticated App
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: app-installations
      path: /app/installations
      operations:
      - name: listinstallationsfortheauthenticatedapp
        method: GET
        description: GitHub List Installations for the Authenticated App
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: outdated
          in: query
          type: string
    - name: app-installations-installation_id
      path: /app/installations/{installation_id}
      operations:
      - name: getaninstallationfortheauthenticatedapp
        method: GET
        description: GitHub Get an Installation for the Authenticated App
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: deleteaninstallationfortheauthenticatedapp
        method: DELETE
        description: GitHub Delete an Installation for the Authenticated App
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: app-installations-installation_id-access_tokens
      path: /app/installations/{installation_id}/access_tokens
      operations:
      - name: createaninstallationaccesstokenforanapp
        method: POST
        description: GitHub Create an Installation Access Token for an App
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: app-installations-installation_id-suspended
      path: /app/installations/{installation_id}/suspended
      operations:
      - name: suspendanappinstallation
        method: PUT
        description: GitHub Suspend an App Installation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: unsuspendanappinstallation
        method: DELETE
        description: GitHub Unsuspend an App Installation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: installation-repositories
      path: /installation/repositories
      operations:
      - name: listrepositoriesaccessibletotheappinstallation
        method: GET
        description: GitHub List Repositories Accessible to the App Installation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: installation-token
      path: /installation/token
      operations:
      - name: revokeaninstallationaccesstoken
        method: DELETE
        description: GitHub Revoke an Installation Access Token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-installation
      path: /orgs/{org}/installation
      operations:
      - name: getanorganizationinstallationfortheauthenticatedapp
        method: GET
        description: GitHub Get an Organization Installation for the Authenticated App
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-installations
      path: /orgs/{org}/installations
      operations:
      - name: listappinstallationsforanorganization
        method: GET
        description: GitHub List App Installations for an Organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repos-owner-repo-installation
      path: /repos/{owner}/{repo}/installation
      operations:
      - name: getrepositoryinstallationfortheauthenticatedapp
        method: GET
        description: GitHub Get Repository Installation for the Authenticated App
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: user-installations
      path: /user/installations
      operations:
      - name: listappinstallationsaccessibletotheuseraccesstoken
        method: GET
        description: GitHub List App Installations Accessible to the User Access Token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: user-installations-installation_id-repositories-repository_id
      path: /user/installations/{installation_id}/repositories/{repository_id}
      operations:
      - name: addrepositorytoanappinstallation
        method: PUT
        description: GitHub Add Repository to an App Installation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: removerepositoryfromanappinstallation
        method: DELETE
        description: GitHub Remove Repository from an App Installation
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: users-username-installation
      path: /users/{username}/installation
      operations:
      - name: getuserinstallationfortheauthenticatedapp
        method: GET
        description: GitHub Get User Installation for the Authenticated App
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.GITHUB_API_KEY}}'
  exposes:
  - type: rest
    namespace: installation-installations-rest
    port: 8080
    description: REST adapter for GitHub Installation API — Installations. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/app/installation-requests
      name: app-installation-requests
      description: REST surface for app-installation-requests.
      operations:
      - method: GET
        name: listinstallationrequestsfortheauthenticatedapp
        description: GitHub List Installation Requests for the Authenticated App
        call: installation-installations.listinstallationrequestsfortheauthenticatedapp
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/app/installations
      name: app-installations
      description: REST surface for app-installations.
      operations:
      - method: GET
        name: listinstallationsfortheauthenticatedapp
        description: GitHub List Installations for the Authenticated App
        call: installation-installations.listinstallationsfortheauthenticatedapp
        with:
          outdated: rest.outdated
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/app/installations/{installation-id}
      name: app-installations-installation-id
      description: REST surface for app-installations-installation_id.
      operations:
      - method: GET
        name: getaninstallationfortheauthenticatedapp
        description: GitHub Get an Installation for the Authenticated App
        call: installation-installations.getaninstallationfortheauthenticatedapp
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deleteaninstallationfortheauthenticatedapp
        description: GitHub Delete an Installation for the Authenticated App
        call: installation-installations.deleteaninstallationfortheauthenticatedapp
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/app/installations/{installation-id}/access-tokens
      name: app-installations-installation-id-access-tokens
      description: REST surface for app-installations-installation_id-access_tokens.
      operations:
      - method: POST
        name: createaninstallationaccesstokenforanapp
        description: GitHub Create an Installation Access Token for an App
        call: installation-installations.createaninstallationaccesstokenforanapp
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/app/installations/{installation-id}/suspended
      name: app-installations-installation-id-suspended
      description: REST surface for app-installations-installation_id-suspended.
      operations:
      - method: PUT
        name: suspendanappinstallation
        description: GitHub Suspend an App Installation
        call: installation-installations.suspendanappinstallation
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: unsuspendanappinstallation
        description: GitHub Unsuspend an App Installation
        call: installation-installations.unsuspendanappinstallation
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/installation/repositories
      name: installation-repositories
      description: REST surface for installation-repositories.
      operations:
      - method: GET
        name: listrepositoriesaccessibletotheappinstallation
        description: GitHub List Repositories Accessible to the App Installation
        call: installation-installations.listrepositoriesaccessibletotheappinstallation
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/installation/token
      name: installation-token
      description: REST surface for installation-token.
      operations:
      - method: DELETE
        name: revokeaninstallationaccesstoken
        description: GitHub Revoke an Installation Access Token
        call: installation-installations.revokeaninstallationaccesstoken
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/installation
      name: orgs-org-installation
      description: REST surface for orgs-org-installation.
      operations:
      - method: GET
        name: getanorganizationinstallationfortheauthenticatedapp
        description: GitHub Get an Organization Installation for the Authenticated App
        call: installation-installations.getanorganizationinstallationfortheauthenticatedapp
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/installations
      name: orgs-org-installations
      description: REST surface for orgs-org-installations.
      operations:
      - method: GET
        name: listappinstallationsforanorganization
        description: GitHub List App Installations for an Organization
        call: installation-installations.listappinstallationsforanorganization
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/installation
      name: repos-owner-repo-installation
      description: REST surface for repos-owner-repo-installation.
      operations:
      - method: GET
        name: getrepositoryinstallationfortheauthenticatedapp
        description: GitHub Get Repository Installation for the Authenticated App
        call: installation-installations.getrepositoryinstallationfortheauthenticatedapp
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/user/installations
      name: user-installations
      description: REST surface for user-installations.
      operations:
      - method: GET
        name: listappinstallationsaccessibletotheuseraccesstoken
        description: GitHub List App Installations Accessible to the User Access Token
        call: installation-installations.listappinstallationsaccessibletotheuseraccesstoken
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/user/installations/{installation-id}/repositories/{repository-id}
      name: user-installations-installation-id-repositories-repository-id
      description: REST surface for user-installations-installation_id-repositories-repository_id.
      operations:
      - method: PUT
        name: addrepositorytoanappinstallation
        description: GitHub Add Repository to an App Installation
        call: installation-installations.addrepositorytoanappinstallation
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: removerepositoryfromanappinstallation
        description: GitHub Remove Repository from an App Installation
        call: installation-installations.removerepositoryfromanappinstallation
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/users/{username}/installation
      name: users-username-installation
      description: REST surface for users-username-installation.
      operations:
      - method: GET
        name: getuserinstallationfortheauthenticatedapp
        description: GitHub Get User Installation for the Authenticated App
        call: installation-installations.getuserinstallationfortheauthenticatedapp
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: installation-installations-mcp
    port: 9090
    transport: http
    description: MCP adapter for GitHub Installation API — Installations. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: github-list-installation-requests-authenticated
      description: GitHub List Installation Requests for the Authenticated App
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: installation-installations.listinstallationrequestsfortheauthenticatedapp
      outputParameters:
      - type: object
        mapping: $.
    - name: github-list-installations-authenticated-app
      description: GitHub List Installations for the Authenticated App
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: installation-installations.listinstallationsfortheauthenticatedapp
      with:
        outdated: tools.outdated
      outputParameters:
      - type: object
        mapping: $.
    - name: github-get-installation-authenticated-app
      description: GitHub Get an Installation for the Authenticated App
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: installation-installations.getaninstallationfortheauthenticatedapp
      outputParameters:
      - type: object
        mapping: $.
    - name: github-delete-installation-authenticated-app
      description: GitHub Delete an Installation for the Authenticated App
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: installation-installations.deleteaninstallationfortheauthenticatedapp
      outputParameters:
      - type: object
        mapping: $.
    - name: github-create-installation-access-token
      description: GitHub Create an Installation Access Token for an App
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: installation-installations.createaninstallationaccesstokenforanapp
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: github-suspend-app-installation
      description: GitHub Suspend an App Installation
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: installation-installations.suspendanappinstallation
      outputParameters:
      - type: object
        mapping: $.
    - name: github-unsuspend-app-installation
      description: GitHub Unsuspend an App Installation
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: installation-installations.unsuspendanappinstallation
      outputParameters:
      - type: object
        mapping: $.
    - name: github-list-repositories-accessible-app
      description: GitHub List Repositories Accessible to the App Installation
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: installation-installations.listrepositoriesaccessibletotheappinstallation
      outputParameters:
      - type: object
        mapping: $.
    - name: github-revoke-installation-access-token
      description: GitHub Revoke an Installation Access Token
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: installation-installations.revokeaninstallationaccesstoken
      outputParameters:
      - type: object
        mapping: $.
    - name: github-get-organization-installation-authenticated
      description: GitHub Get an Organization Installation for the Authenticated App
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: installation-installations.getanorganizationinstallationfortheauthenticatedapp
      outputParameters:
      - type: object
        mapping: $.
    - name: github-list-app-installations-organization
      description: GitHub List App Installations for an Organization
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: installation-installations.listappinstallationsforanorganization
      outputParameters:
      - type: object
        mapping: $.
    - name: github-get-repository-installation-authenticated
      description: GitHub Get Repository Installation for the Authenticated App
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: installation-installations.getrepositoryinstallationfortheauthenticatedapp
      outputParameters:
      - type: object
        mapping: $.
    - name: github-list-app-installations-accessible
      description: GitHub List App Installations Accessible to the User Access Token
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: installation-installations.listappinstallationsaccessibletotheuseraccesstoken
      outputParameters:
      - type: object
        mapping: $.
    - name: github-add-repository-app-installation
      description: GitHub Add Repository to an App Installation
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: installation-installations.addrepositorytoanappinstallation
      outputParameters:
      - type: object
        mapping: $.
    - name: github-remove-repository-app-installation
      description: GitHub Remove Repository from an App Installation
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: installation-installations.removerepositoryfromanappinstallation
      outputParameters:
      - type: object
        mapping: $.
    - name: github-get-user-installation-authenticated
      description: GitHub Get User Installation for the Authenticated App
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: installation-installations.getuserinstallationfortheauthenticatedapp
      outputParameters:
      - type: object
        mapping: $.