GitHub · Capability

GitHub Installation API — Get

GitHub Installation API — Get. 4 operations. Lead operation: GitHub Get an Installation for the Authenticated App. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubGet

What You Can Do

GET
Getaninstallationfortheauthenticatedapp — GitHub Get an Installation for the Authenticated App
/v1/app/installations/{installation-id}
GET
Getanorganizationinstallationfortheauthenticatedapp — GitHub Get an Organization Installation for the Authenticated App
/v1/orgs/{org}/installation
GET
Getrepositoryinstallationfortheauthenticatedapp — GitHub Get Repository Installation for the Authenticated App
/v1/repos/{owner}/{repo}/installation
GET
Getuserinstallationfortheauthenticatedapp — GitHub Get User Installation for the Authenticated App
/v1/users/{username}/installation

MCP Tools

github-get-installation-authenticated-app

GitHub Get an Installation for the Authenticated App

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

GitHub Get an Organization Installation for the Authenticated App

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

GitHub Get Repository Installation for the Authenticated App

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

GitHub Get User Installation for the Authenticated App

read-only idempotent

Capability Spec

installation-get.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GitHub Installation API — Get
  description: 'GitHub Installation API — Get. 4 operations. Lead operation: GitHub Get an Installation for the Authenticated
    App. Self-contained Naftiko capability covering one Github business surface.'
  tags:
  - Github
  - Get
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GITHUB_API_KEY: GITHUB_API_KEY
capability:
  consumes:
  - type: http
    namespace: installation-get
    baseUri: ''
    description: GitHub Installation API — Get business capability. Self-contained, no shared references.
    resources:
    - 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: 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: 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: 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-get-rest
    port: 8080
    description: REST adapter for GitHub Installation API — Get. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - 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-get.getaninstallationfortheauthenticatedapp
        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-get.getanorganizationinstallationfortheauthenticatedapp
        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-get.getrepositoryinstallationfortheauthenticatedapp
        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-get.getuserinstallationfortheauthenticatedapp
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: installation-get-mcp
    port: 9090
    transport: http
    description: MCP adapter for GitHub Installation API — Get. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: github-get-installation-authenticated-app
      description: GitHub Get an Installation for the Authenticated App
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: installation-get.getaninstallationfortheauthenticatedapp
      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-get.getanorganizationinstallationfortheauthenticatedapp
      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-get.getrepositoryinstallationfortheauthenticatedapp
      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-get.getuserinstallationfortheauthenticatedapp
      outputParameters:
      - type: object
        mapping: $.