GitHub · Capability

GitHub Org API — Get

GitHub Org API — Get. 32 operations. Lead operation: GitHub Get an Organization. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubGet

What You Can Do

GET
Getanorganization — GitHub Get an Organization
/v1/orgs/{org}
GET
Getgithubactionscacheusageforanorganization — GitHub Get Github Actions Cache Usage for an Organization
/v1/orgs/{org}/actions/cache/usage
GET
Getthecustomizationtemplateforanoidcsubjectclaimforanorganization — GitHub Get the Customization Template for an Oidc Subject Claim for an Organization
/v1/orgs/{org}/actions/oidc/customization/sub
GET
Getgithubactionspermissionsforanorganization — GitHub Get Github Actions Permissions for an Organization
/v1/orgs/{org}/actions/permissions
GET
Getallowedactionsforanorganization — GitHub Get Allowed Actions for an Organization
/v1/orgs/{org}/actions/permissions/selected-actions
GET
Getdefaultworkflowpermissionsforanorganization — GitHub Get Default Workflow Permissions for an Organization
/v1/orgs/{org}/actions/permissions/workflow
GET
Getselfhostedrunnergroupforanorganization — GitHub Get Self-hosted Runner Group for an Organization
/v1/orgs/{org}/actions/runner-groups/{runner-group-id}
GET
Getselfhostedrunnerforanorganization — GitHub Get Self-hosted Runner for an Organization
/v1/orgs/{org}/actions/runners/{runner-id}
GET
Getanorganizationpublickey — GitHub Get an Organization Public Key
/v1/orgs/{org}/actions/secrets/public-key
GET
Getanorganizationsecret — GitHub Get an Organization Secret
/v1/orgs/{org}/actions/secrets/{secret-name}
GET
Getanorganizationvariable — GitHub Get an Organization Variable
/v1/orgs/{org}/actions/variables/{name}
GET
Getannouncementbannerfororganization — GitHub Get Announcement Banner for Organization
/v1/orgs/{org}/announcement
GET
Gettheauditlogforanorganization — GitHub Get the Audit Log for an Organization
/v1/orgs/{org}/audit-log
GET
Getcustomrepositoryrole — GitHub Get Custom Repository Role
/v1/orgs/{org}/custom-repository-roles/{role-id}
GET
Getanorganizationpublickey — GitHub Get an Organization Public Key
/v1/orgs/{org}/dependabot/secrets/public-key
GET
Getanorganizationsecret — GitHub Get an Organization Secret
/v1/orgs/{org}/dependabot/secrets/{secret-name}
GET
Getlistofconflictingpackagesduringdockermigrationfororganization — GitHub Get List of Conflicting Packages During Docker Migration for Organization
/v1/orgs/{org}/docker/conflicts
GET
Getanexternalgroup — GitHub Get an External Group
/v1/orgs/{org}/external-group/{group-id}
GET
Getanorganizationwebhook — GitHub Get an Organization Webhook
/v1/orgs/{org}/hooks/{hook-id}
GET
Getwebhookconfigurationforanorganization — GitHub Get Webhook Configuration for an Organization
/v1/orgs/{org}/hooks/{hook-id}/config
GET
Getwebhookdeliveryforanorganizationwebhook — GitHub Get Webhook Delivery for an Organization Webhook
/v1/orgs/{org}/hooks/{hook-id}/deliveries/{delivery-id}
GET
Getanorganizationinstallationfortheauthenticatedapp — GitHub Get an Organization Installation for the Authenticated App
/v1/orgs/{org}/installation
GET
Getorganizationmembershipforuser — GitHub Get Organization Membership for User
/v1/orgs/{org}/memberships/{username}
GET
Getanorganizationmigrationstatus — GitHub Get an Organization Migration Status
/v1/orgs/{org}/migrations/{migration-id}
GET
Getpackageforanorganization — GitHub Get Package for an Organization
/v1/orgs/{org}/packages/{package-type}/{package-name}
GET
Getpackageversionforanorganization — GitHub Get Package Version for an Organization
/v1/orgs/{org}/packages/{package-type}/{package-name}/versions/{package-version-id}
GET
Getprereceivehookforanorganization — GitHub Get Pre-receive Hook for an Organization
/v1/orgs/{org}/pre-receive-hooks/{pre-receive-hook-id}
GET
Getgithubadvancedsecurityactivecommittersforanorganization — GitHub Get Github Advanced Security Active Committers for an Organization
/v1/orgs/{org}/settings/billing/advanced-security
GET
Getteambyname — GitHub Get Team by Name
/v1/orgs/{org}/teams/{team-slug}
GET
Getdiscussion — GitHub Get Discussion
/v1/orgs/{org}/teams/{team-slug}/discussions/{discussion-number}
GET
Getdiscussioncomment — GitHub Get Discussion Comment
/v1/orgs/{org}/teams/{team-slug}/discussions/{discussion-number}/comments/{comment-number}
GET
Getteammembershipforuser — GitHub Get Team Membership for User
/v1/orgs/{org}/teams/{team-slug}/memberships/{username}

MCP Tools

github-get-organization

GitHub Get an Organization

read-only idempotent
github-get-github-actions-cache

GitHub Get Github Actions Cache Usage for an Organization

read-only idempotent
github-get-customization-template-oidc

GitHub Get the Customization Template for an Oidc Subject Claim for an Organization

read-only idempotent
github-get-github-actions-permissions

GitHub Get Github Actions Permissions for an Organization

read-only idempotent
github-get-allowed-actions-organization

GitHub Get Allowed Actions for an Organization

read-only idempotent
github-get-default-workflow-permissions

GitHub Get Default Workflow Permissions for an Organization

read-only idempotent
github-get-self-hosted-runner

GitHub Get Self-hosted Runner Group for an Organization

read-only idempotent
github-get-self-hosted-runner-2

GitHub Get Self-hosted Runner for an Organization

read-only idempotent
github-get-organization-public-key

GitHub Get an Organization Public Key

read-only idempotent
github-get-organization-secret

GitHub Get an Organization Secret

read-only idempotent
github-get-organization-variable

GitHub Get an Organization Variable

read-only idempotent
github-get-announcement-banner-organization

GitHub Get Announcement Banner for Organization

read-only idempotent
github-get-audit-log-organization

GitHub Get the Audit Log for an Organization

read-only idempotent
github-get-custom-repository-role

GitHub Get Custom Repository Role

read-only idempotent
github-get-organization-public-key-2

GitHub Get an Organization Public Key

read-only idempotent
github-get-organization-secret-2

GitHub Get an Organization Secret

read-only idempotent
github-get-list-conflicting-packages

GitHub Get List of Conflicting Packages During Docker Migration for Organization

read-only idempotent
github-get-external-group

GitHub Get an External Group

read-only idempotent
github-get-organization-webhook

GitHub Get an Organization Webhook

read-only idempotent
github-get-webhook-configuration-organization

GitHub Get Webhook Configuration for an Organization

read-only idempotent
github-get-webhook-delivery-organization

GitHub Get Webhook Delivery for an Organization Webhook

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

GitHub Get an Organization Installation for the Authenticated App

read-only idempotent
github-get-organization-membership-user

GitHub Get Organization Membership for User

read-only idempotent
github-get-organization-migration-status

GitHub Get an Organization Migration Status

read-only idempotent
github-get-package-organization

GitHub Get Package for an Organization

read-only idempotent
github-get-package-version-organization

GitHub Get Package Version for an Organization

read-only idempotent
github-get-pre-receive-hook

GitHub Get Pre-receive Hook for an Organization

read-only idempotent
github-get-github-advanced-security

GitHub Get Github Advanced Security Active Committers for an Organization

read-only idempotent
github-get-team-name

GitHub Get Team by Name

read-only idempotent
github-get-discussion

GitHub Get Discussion

read-only idempotent
github-get-discussion-comment

GitHub Get Discussion Comment

read-only idempotent
github-get-team-membership-user

GitHub Get Team Membership for User

read-only idempotent

Capability Spec

organizations-get.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GitHub Org API — Get
  description: 'GitHub Org API — Get. 32 operations. Lead operation: GitHub Get an Organization. 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: organizations-get
    baseUri: ''
    description: GitHub Org API — Get business capability. Self-contained, no shared references.
    resources:
    - name: orgs-org
      path: /orgs/{org}
      operations:
      - name: getanorganization
        method: GET
        description: GitHub Get an Organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-actions-cache-usage
      path: /orgs/{org}/actions/cache/usage
      operations:
      - name: getgithubactionscacheusageforanorganization
        method: GET
        description: GitHub Get Github Actions Cache Usage for an Organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-actions-oidc-customization-sub
      path: /orgs/{org}/actions/oidc/customization/sub
      operations:
      - name: getthecustomizationtemplateforanoidcsubjectclaimforanorganization
        method: GET
        description: GitHub Get the Customization Template for an Oidc Subject Claim for an Organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-actions-permissions
      path: /orgs/{org}/actions/permissions
      operations:
      - name: getgithubactionspermissionsforanorganization
        method: GET
        description: GitHub Get Github Actions Permissions for an Organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-actions-permissions-selected-actions
      path: /orgs/{org}/actions/permissions/selected-actions
      operations:
      - name: getallowedactionsforanorganization
        method: GET
        description: GitHub Get Allowed Actions for an Organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-actions-permissions-workflow
      path: /orgs/{org}/actions/permissions/workflow
      operations:
      - name: getdefaultworkflowpermissionsforanorganization
        method: GET
        description: GitHub Get Default Workflow Permissions for an Organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-actions-runner-groups-runner_group_id
      path: /orgs/{org}/actions/runner-groups/{runner_group_id}
      operations:
      - name: getselfhostedrunnergroupforanorganization
        method: GET
        description: GitHub Get Self-hosted Runner Group for an Organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-actions-runners-runner_id
      path: /orgs/{org}/actions/runners/{runner_id}
      operations:
      - name: getselfhostedrunnerforanorganization
        method: GET
        description: GitHub Get Self-hosted Runner for an Organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-actions-secrets-public-key
      path: /orgs/{org}/actions/secrets/public-key
      operations:
      - name: getanorganizationpublickey
        method: GET
        description: GitHub Get an Organization Public Key
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-actions-secrets-secret_name
      path: /orgs/{org}/actions/secrets/{secret_name}
      operations:
      - name: getanorganizationsecret
        method: GET
        description: GitHub Get an Organization Secret
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-actions-variables-name
      path: /orgs/{org}/actions/variables/{name}
      operations:
      - name: getanorganizationvariable
        method: GET
        description: GitHub Get an Organization Variable
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-announcement
      path: /orgs/{org}/announcement
      operations:
      - name: getannouncementbannerfororganization
        method: GET
        description: GitHub Get Announcement Banner for Organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-audit-log
      path: /orgs/{org}/audit-log
      operations:
      - name: gettheauditlogforanorganization
        method: GET
        description: GitHub Get the Audit Log for an Organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-custom-repository-roles-role_id
      path: /orgs/{org}/custom-repository-roles/{role_id}
      operations:
      - name: getcustomrepositoryrole
        method: GET
        description: GitHub Get Custom Repository Role
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-dependabot-secrets-public-key
      path: /orgs/{org}/dependabot/secrets/public-key
      operations:
      - name: getanorganizationpublickey
        method: GET
        description: GitHub Get an Organization Public Key
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-dependabot-secrets-secret_name
      path: /orgs/{org}/dependabot/secrets/{secret_name}
      operations:
      - name: getanorganizationsecret
        method: GET
        description: GitHub Get an Organization Secret
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - 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-external-group-group_id
      path: /orgs/{org}/external-group/{group_id}
      operations:
      - name: getanexternalgroup
        method: GET
        description: GitHub Get an External Group
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-hooks-hook_id
      path: /orgs/{org}/hooks/{hook_id}
      operations:
      - name: getanorganizationwebhook
        method: GET
        description: GitHub Get an Organization Webhook
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-hooks-hook_id-config
      path: /orgs/{org}/hooks/{hook_id}/config
      operations:
      - name: getwebhookconfigurationforanorganization
        method: GET
        description: GitHub Get Webhook Configuration for an Organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-hooks-hook_id-deliveries-delivery_id
      path: /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}
      operations:
      - name: getwebhookdeliveryforanorganizationwebhook
        method: GET
        description: GitHub Get Webhook Delivery for an Organization Webhook
        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-memberships-username
      path: /orgs/{org}/memberships/{username}
      operations:
      - name: getorganizationmembershipforuser
        method: GET
        description: GitHub Get Organization Membership for User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - 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-packages-package_type-package_name
      path: /orgs/{org}/packages/{package_type}/{package_name}
      operations:
      - name: getpackageforanorganization
        method: GET
        description: GitHub Get Package for an Organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-packages-package_type-package_name-versions-package_version_id
      path: /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}
      operations:
      - name: getpackageversionforanorganization
        method: GET
        description: GitHub Get Package Version for an Organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-pre-receive-hooks-pre_receive_hook_id
      path: /orgs/{org}/pre-receive-hooks/{pre_receive_hook_id}
      operations:
      - name: getprereceivehookforanorganization
        method: GET
        description: GitHub Get Pre-receive Hook for an Organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-settings-billing-advanced-security
      path: /orgs/{org}/settings/billing/advanced-security
      operations:
      - name: getgithubadvancedsecurityactivecommittersforanorganization
        method: GET
        description: GitHub Get Github Advanced Security Active Committers for an Organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-teams-team_slug
      path: /orgs/{org}/teams/{team_slug}
      operations:
      - name: getteambyname
        method: GET
        description: GitHub Get Team by Name
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-teams-team_slug-discussions-discussion_number
      path: /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}
      operations:
      - name: getdiscussion
        method: GET
        description: GitHub Get Discussion
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-teams-team_slug-discussions-discussion_number-comments-comment_number
      path: /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}
      operations:
      - name: getdiscussioncomment
        method: GET
        description: GitHub Get Discussion Comment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-teams-team_slug-memberships-username
      path: /orgs/{org}/teams/{team_slug}/memberships/{username}
      operations:
      - name: getteammembershipforuser
        method: GET
        description: GitHub Get Team Membership for User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.GITHUB_API_KEY}}'
  exposes:
  - type: rest
    namespace: organizations-get-rest
    port: 8080
    description: REST adapter for GitHub Org API — Get. One Spectral-compliant resource per consumed operation, prefixed with
      /v1.
    resources:
    - path: /v1/orgs/{org}
      name: orgs-org
      description: REST surface for orgs-org.
      operations:
      - method: GET
        name: getanorganization
        description: GitHub Get an Organization
        call: organizations-get.getanorganization
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/actions/cache/usage
      name: orgs-org-actions-cache-usage
      description: REST surface for orgs-org-actions-cache-usage.
      operations:
      - method: GET
        name: getgithubactionscacheusageforanorganization
        description: GitHub Get Github Actions Cache Usage for an Organization
        call: organizations-get.getgithubactionscacheusageforanorganization
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/actions/oidc/customization/sub
      name: orgs-org-actions-oidc-customization-sub
      description: REST surface for orgs-org-actions-oidc-customization-sub.
      operations:
      - method: GET
        name: getthecustomizationtemplateforanoidcsubjectclaimforanorganization
        description: GitHub Get the Customization Template for an Oidc Subject Claim for an Organization
        call: organizations-get.getthecustomizationtemplateforanoidcsubjectclaimforanorganization
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/actions/permissions
      name: orgs-org-actions-permissions
      description: REST surface for orgs-org-actions-permissions.
      operations:
      - method: GET
        name: getgithubactionspermissionsforanorganization
        description: GitHub Get Github Actions Permissions for an Organization
        call: organizations-get.getgithubactionspermissionsforanorganization
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/actions/permissions/selected-actions
      name: orgs-org-actions-permissions-selected-actions
      description: REST surface for orgs-org-actions-permissions-selected-actions.
      operations:
      - method: GET
        name: getallowedactionsforanorganization
        description: GitHub Get Allowed Actions for an Organization
        call: organizations-get.getallowedactionsforanorganization
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/actions/permissions/workflow
      name: orgs-org-actions-permissions-workflow
      description: REST surface for orgs-org-actions-permissions-workflow.
      operations:
      - method: GET
        name: getdefaultworkflowpermissionsforanorganization
        description: GitHub Get Default Workflow Permissions for an Organization
        call: organizations-get.getdefaultworkflowpermissionsforanorganization
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/actions/runner-groups/{runner-group-id}
      name: orgs-org-actions-runner-groups-runner-group-id
      description: REST surface for orgs-org-actions-runner-groups-runner_group_id.
      operations:
      - method: GET
        name: getselfhostedrunnergroupforanorganization
        description: GitHub Get Self-hosted Runner Group for an Organization
        call: organizations-get.getselfhostedrunnergroupforanorganization
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/actions/runners/{runner-id}
      name: orgs-org-actions-runners-runner-id
      description: REST surface for orgs-org-actions-runners-runner_id.
      operations:
      - method: GET
        name: getselfhostedrunnerforanorganization
        description: GitHub Get Self-hosted Runner for an Organization
        call: organizations-get.getselfhostedrunnerforanorganization
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/actions/secrets/public-key
      name: orgs-org-actions-secrets-public-key
      description: REST surface for orgs-org-actions-secrets-public-key.
      operations:
      - method: GET
        name: getanorganizationpublickey
        description: GitHub Get an Organization Public Key
        call: organizations-get.getanorganizationpublickey
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/actions/secrets/{secret-name}
      name: orgs-org-actions-secrets-secret-name
      description: REST surface for orgs-org-actions-secrets-secret_name.
      operations:
      - method: GET
        name: getanorganizationsecret
        description: GitHub Get an Organization Secret
        call: organizations-get.getanorganizationsecret
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/actions/variables/{name}
      name: orgs-org-actions-variables-name
      description: REST surface for orgs-org-actions-variables-name.
      operations:
      - method: GET
        name: getanorganizationvariable
        description: GitHub Get an Organization Variable
        call: organizations-get.getanorganizationvariable
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/announcement
      name: orgs-org-announcement
      description: REST surface for orgs-org-announcement.
      operations:
      - method: GET
        name: getannouncementbannerfororganization
        description: GitHub Get Announcement Banner for Organization
        call: organizations-get.getannouncementbannerfororganization
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/audit-log
      name: orgs-org-audit-log
      description: REST surface for orgs-org-audit-log.
      operations:
      - method: GET
        name: gettheauditlogforanorganization
        description: GitHub Get the Audit Log for an Organization
        call: organizations-get.gettheauditlogforanorganization
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/custom-repository-roles/{role-id}
      name: orgs-org-custom-repository-roles-role-id
      description: REST surface for orgs-org-custom-repository-roles-role_id.
      operations:
      - method: GET
        name: getcustomrepositoryrole
        description: GitHub Get Custom Repository Role
        call: organizations-get.getcustomrepositoryrole
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/dependabot/secrets/public-key
      name: orgs-org-dependabot-secrets-public-key
      description: REST surface for orgs-org-dependabot-secrets-public-key.
      operations:
      - method: GET
        name: getanorganizationpublickey
        description: GitHub Get an Organization Public Key
        call: organizations-get.getanorganizationpublickey
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/dependabot/secrets/{secret-name}
      name: orgs-org-dependabot-secrets-secret-name
      description: REST surface for orgs-org-dependabot-secrets-secret_name.
      operations:
      - method: GET
        name: getanorganizationsecret
        description: GitHub Get an Organization Secret
        call: organizations-get.getanorganizationsecret
        outputParameters:
        - type: object
          mapping: $.
    - 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-get.getlistofconflictingpackagesduringdockermigrationfororganization
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/external-group/{group-id}
      name: orgs-org-external-group-group-id
      description: REST surface for orgs-org-external-group-group_id.
      operations:
      - method: GET
        name: getanexternalgroup
        description: GitHub Get an External Group
        call: organizations-get.getanexternalgroup
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/hooks/{hook-id}
      name: orgs-org-hooks-hook-id
      description: REST surface for orgs-org-hooks-hook_id.
      operations:
      - method: GET
        name: getanorganizationwebhook
        description: GitHub Get an Organization Webhook
        call: organizations-get.getanorganizationwebhook
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/hooks/{hook-id}/config
      name: orgs-org-hooks-hook-id-config
      description: REST surface for orgs-org-hooks-hook_id-config.
      operations:
      - method: GET
        name: getwebhookconfigurationforanorganization
        description: GitHub Get Webhook Configuration for an Organization
        call: organizations-get.getwebhookconfigurationforanorganization
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/hooks/{hook-id}/deliveries/{delivery-id}
      name: orgs-org-hooks-hook-id-deliveries-delivery-id
      description: REST surface for orgs-org-hooks-hook_id-deliveries-delivery_id.
      operations:
      - method: GET
        name: getwebhookdeliveryforanorganizationwebhook
        description: GitHub Get Webhook Delivery for an Organization Webhook
        call: organizations-get.getwebhookdeliveryforanorganizationwebhook
        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: organizations-get.getanorganizationinstallationfortheauthenticatedapp
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/memberships/{username}
      name: orgs-org-memberships-username
      description: REST surface for orgs-org-memberships-username.
      operations:
      - method: GET
        name: getorganizationmembershipforuser
        description: GitHub Get Organization Membership for User
        call: organizations-get.getorganizationmembershipforuser
        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-get.getanorganizationmigrationstatus
        with:
          exclude: rest.exclude
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/packages/{package-type}/{package-name}
      name: orgs-org-packages-package-type-package-name
      description: REST surface for orgs-org-packages-package_type-package_name.
      operations:
      - method: GET
        name: getpackageforanorganization
        description: GitHub Get Package for an Organization
        call: organizations-get.getpackageforanorganization
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/packages/{package-type}/{package-name}/versions/{package-version-id}
      name: orgs-org-packages-package-type-package-name-versions-package-version-id
      description: REST surface for orgs-org-packages-package_type-package_name-versions-package_version_id.
      operations:
      - method: GET
        name: getpackageversionforanorganization
        description: GitHub Get Package Version for an Organization
        call: organizations-get.getpackageversionforanorganization
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/pre-receive-hooks/{pre-receive-hook-id}
      name: orgs-org-pre-receive-hooks-pre-receive-hook-id
      description: REST surface for orgs-org-pre-receive-hooks-pre_receive_hook_id.
      operations:
      - method: GET
        name: getprereceivehookforanorganization
        description: GitHub Get Pre-receive Hook for an Organization
        call: organizations-get.getprereceivehookforanorganization
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/settings/billing/advanced-security
      name: orgs-org-settings-billing-advanced-security
      description: REST surface for orgs-org-settings-billing-advanced-security.
      operations:
      - method: GET
        name: getgithubadvancedsecurityactivecommittersforanorganization
        description: GitHub Get Github Advanced Security Active Committers for an Organization
        call: organizations-get.getgithubadvancedsecurityactivecommittersforanorganization
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/teams/{team-slug}
      name: orgs-org-teams-team-slug
      description: REST surface for orgs-org-teams-team_slug.
      operations:
      - method: GET
        name: getteambyname
        description: GitHub Get Team by Name
        call: organizations-get.getteambyname
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/teams/{team-slug}/discussions/{discussion-number}
      name: orgs-org-teams-team-slug-discussions-discussion-number
      description: REST surface for orgs-org-teams-team_slug-discussions-discussion_number.
      operations:
      - method: GET
        name: getdiscussion
        description: GitHub Get Discussion
        call: organizations-get.getdiscussion
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/teams/{team-slug}/discussions/{discussion-number}/comments/{comment-number}
      name: orgs-org-teams-team-slug-discussions-discussion-number-comments-comment-number
      description: REST surface for orgs-org-teams-team_slug-discussions-discussion_number-comments-comment_number.
      operations:
      - method: GET
        name: getdiscussioncomment
        description: GitHub Get Discussion Comment
        call: organizations-get.getdiscussioncomment
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/teams/{team-slug}/memberships/{username}
      name: orgs-org-teams-team-slug-memberships-username
      description: REST surface for orgs-org-teams-team_slug-memberships-username.
      operations:
      - method: GET
        name: getteammembershipforuser
        description: GitHub Get Team Membership for User
        call: organizations-get.getteammembershipforuser
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: organizations-get-mcp
    port: 9090
    transport: http
    description: MCP adapter for GitHub Org API — Get. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: github-get-organization
      description: GitHub Get an Organization
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: organizations-get.getanorganization
      outputParameters:
      - type: object
        mapping: $.
    - name: github-get-github-actions-cache
      description: GitHub Get Github Actions Cache Usage for an Organization
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: organizations-get.getgithubactionscacheusageforanorganization
      outputParameters:
      - type: object
        mapping: $.
    - name: github-get-customization-template-oidc
      description: GitHub Get the Customization Template for an Oidc Subject Claim for an Organization
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: organizations-get.getthecustomizationtemplateforanoidcsubjectclaimforanorganization
      outputParameters:
      - type: object
        mapping: $.
    - name: github-get-github-actions-permissions
      description: GitHub Get Github Actions Permissions for an Organization
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: organizations-get.getgithubactionspermissionsforanorganization
      outputParameters:
      - type: object
        mapping: $.
    - name: github-get-allowed-actions-organization
      description: GitHub Get Allowed Actions for an Organization
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: organizations-get.getallowedactionsforanorganization
      outputParameters:
      - type: object
        mapping: $.
    - name: github-get-default-workflow-permissions
      description: GitHub Get Default Workflow Permissions for an Organization
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: organizations-get.getdefaultworkflowpermissionsforanorganization
      outputParameters:
      - type: object
        mapping: $.
    - name: github-get-self-hosted-runner
      description: GitHub Get Self-hosted Runner Group for an Organization
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: organizations-get.getselfhostedrunnergroupforanorganization
      outputParameters:
      - type: object
        mapping: $.
    - name: github-get-self-hosted-runner-2
      description: GitHub Get Self-hosted Runner for an Organization
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: organizations-get.getselfhostedrunnerforanorganization
      outputParameters:
      - type: object
        mapping: $.
    - name: github-get-organization-public-key
      description: GitHub Get an Organization Public Key
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: organizations-get.getanorganizationpublickey
      outputParameters:
      - type: object
        mapping: $.
    - name: github-get-organization-secret
      description: GitHub Get an Organization Secret
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: organizations-get.getanorganizationsecret
      outputParameters:
      - type: object
        mapping: $.
    - name: github-get-organization-variable
      description: GitHub Get an Organization Variable
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: organizations-get.getanorganizationvariable
      outputParameters:
      - type: object
        mapping: $.
    - name: github-get-announcement-banner-organization
      description: GitHub Get Announcement Banner for Organization
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: organizations-get.getannouncementbannerfororganization
      outputParameters:
      - type: object
        mapping: $.
    - name: github-get-audit-log-organization
      description: GitHub Get the Audit Log for an Organization
      hints:
        readOnly: true
        destructive: false
  

# --- truncated at 32 KB (38 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/github/refs/heads/main/capabilities/organizations-get.yaml