naftiko: 1.0.0-alpha2 info: label: GitHub v3 REST API — Orgs description: 'GitHub v3 REST API — Orgs. 49 operations. Lead operation: GitHub List Organizations. Self-contained Naftiko capability covering one Github business surface.' tags: - Github - Orgs created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: GITHUB_API_KEY: GITHUB_API_KEY capability: consumes: - type: http namespace: github-orgs baseUri: '' description: GitHub v3 REST API — Orgs business capability. Self-contained, no shared references. resources: - name: organizations path: /organizations operations: - name: orgslist method: GET description: GitHub List Organizations outputRawFormat: json outputParameters: - name: result type: object value: $. - name: organizations-organization_id-custom_roles path: /organizations/{organization_id}/custom_roles operations: - name: orgslistcustomroles method: GET description: GitHub Deprecated - List Custom Repository Roles in an Organization outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: organization_id in: path type: string description: The unique identifier of the organization. required: true - name: orgs-org path: /orgs/{org} operations: - name: orgsget method: GET description: GitHub Get an Organization outputRawFormat: json outputParameters: - name: result type: object value: $. - name: orgsupdate method: PATCH description: GitHub Update an Organization outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: orgsdelete method: DELETE description: GitHub Delete an Organization outputRawFormat: json outputParameters: - name: result type: object value: $. - name: orgs-org-announcement path: /orgs/{org}/announcement operations: - name: announcementbannersgetannouncementbannerfororg method: GET description: GitHub Get Announcement Banner for Organization outputRawFormat: json outputParameters: - name: result type: object value: $. - name: announcementbannerssetannouncementbannerfororg method: PATCH description: GitHub Set Announcement Banner for Organization outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: announcementbannersremoveannouncementbannerfororg method: DELETE description: GitHub Remove Announcement Banner from Organization outputRawFormat: json outputParameters: - name: result type: object value: $. - name: orgs-org-audit-log path: /orgs/{org}/audit-log operations: - name: orgsgetauditlog 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 path: /orgs/{org}/custom-repository-roles operations: - name: orgslistcustomreporoles method: GET description: GitHub List Custom Repository Roles in an Organization outputRawFormat: json outputParameters: - name: result type: object value: $. - name: orgscreatecustomreporole method: POST description: GitHub Create a Custom Repository Role outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: orgs-org-custom-repository-roles-role_id path: /orgs/{org}/custom-repository-roles/{role_id} operations: - name: orgsgetcustomreporole method: GET description: GitHub Get a Custom Repository Role outputRawFormat: json outputParameters: - name: result type: object value: $. - name: orgsupdatecustomreporole method: PATCH description: GitHub Update a Custom Repository Role outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: orgsdeletecustomreporole method: DELETE description: GitHub Delete a Custom Repository Role outputRawFormat: json outputParameters: - name: result type: object value: $. - name: orgs-org-hooks path: /orgs/{org}/hooks operations: - name: orgslistwebhooks method: GET description: GitHub List Organization Webhooks outputRawFormat: json outputParameters: - name: result type: object value: $. - name: orgscreatewebhook method: POST description: GitHub Create an Organization Webhook outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: orgs-org-hooks-hook_id path: /orgs/{org}/hooks/{hook_id} operations: - name: orgsgetwebhook method: GET description: GitHub Get an Organization Webhook outputRawFormat: json outputParameters: - name: result type: object value: $. - name: orgsupdatewebhook method: PATCH description: GitHub Update an Organization Webhook outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: orgsdeletewebhook method: DELETE description: GitHub Delete 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: orgsgetwebhookconfigfororg method: GET description: GitHub Get a Webhook Configuration for an Organization outputRawFormat: json outputParameters: - name: result type: object value: $. - name: orgsupdatewebhookconfigfororg method: PATCH description: GitHub Update a Webhook Configuration for an Organization outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: orgs-org-hooks-hook_id-deliveries path: /orgs/{org}/hooks/{hook_id}/deliveries operations: - name: orgslistwebhookdeliveries method: GET description: GitHub List Deliveries for an Organization Webhook outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: redelivery in: query type: boolean - name: orgs-org-hooks-hook_id-deliveries-delivery_id path: /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id} operations: - name: orgsgetwebhookdelivery method: GET description: GitHub Get a Webhook Delivery for an Organization Webhook outputRawFormat: json outputParameters: - name: result type: object value: $. - name: orgs-org-hooks-hook_id-deliveries-delivery_id-attempts path: /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts operations: - name: orgsredeliverwebhookdelivery method: POST description: GitHub Redeliver a Delivery for an Organization Webhook outputRawFormat: json outputParameters: - name: result type: object value: $. - name: orgs-org-hooks-hook_id-pings path: /orgs/{org}/hooks/{hook_id}/pings operations: - name: orgspingwebhook method: POST description: GitHub Ping an Organization Webhook outputRawFormat: json outputParameters: - name: result type: object value: $. - name: orgs-org-installations path: /orgs/{org}/installations operations: - name: orgslistappinstallations method: GET description: GitHub List App Installations for an Organization outputRawFormat: json outputParameters: - name: result type: object value: $. - name: orgs-org-members path: /orgs/{org}/members operations: - name: orgslistmembers method: GET description: GitHub List Organization Members outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: filter in: query type: string description: Filter members returned in the list. `2fa_disabled` means that only members without [two-factor authentication](https://github.com/blog/1614-two-factor-authenti - name: role in: query type: string description: Filter members returned by their role. - name: orgs-org-members-username path: /orgs/{org}/members/{username} operations: - name: orgscheckmembershipforuser method: GET description: GitHub Check Organization Membership for a User outputRawFormat: json outputParameters: - name: result type: object value: $. - name: orgsremovemember method: DELETE description: GitHub Remove an Organization Member outputRawFormat: json outputParameters: - name: result type: object value: $. - name: orgs-org-memberships-username path: /orgs/{org}/memberships/{username} operations: - name: orgsgetmembershipforuser method: GET description: GitHub Get Organization Membership for a User outputRawFormat: json outputParameters: - name: result type: object value: $. - name: orgssetmembershipforuser method: PUT description: GitHub Set Organization Membership for a User outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: orgsremovemembershipforuser method: DELETE description: GitHub Remove Organization Membership for a User outputRawFormat: json outputParameters: - name: result type: object value: $. - name: orgs-org-outside_collaborators path: /orgs/{org}/outside_collaborators operations: - name: orgslistoutsidecollaborators method: GET description: GitHub List Outside Collaborators for an Organization outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: filter in: query type: string description: Filter the list of outside collaborators. `2fa_disabled` means that only outside collaborators without [two-factor authentication](https://github.com/blog/1614- - name: orgs-org-outside_collaborators-username path: /orgs/{org}/outside_collaborators/{username} operations: - name: orgsconvertmembertooutsidecollaborator method: PUT description: GitHub Convert an Organization Member to Outside Collaborator outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: orgsremoveoutsidecollaborator method: DELETE description: GitHub Remove Outside Collaborator from an Organization outputRawFormat: json outputParameters: - name: result type: object value: $. - name: orgs-org-public_members path: /orgs/{org}/public_members operations: - name: orgslistpublicmembers method: GET description: GitHub List Public Organization Members outputRawFormat: json outputParameters: - name: result type: object value: $. - name: orgs-org-public_members-username path: /orgs/{org}/public_members/{username} operations: - name: orgscheckpublicmembershipforuser method: GET description: GitHub Check Public Organization Membership for a User outputRawFormat: json outputParameters: - name: result type: object value: $. - name: orgssetpublicmembershipforauthenticateduser method: PUT description: GitHub Set Public Organization Membership for the Authenticated User outputRawFormat: json outputParameters: - name: result type: object value: $. - name: orgsremovepublicmembershipforauthenticateduser method: DELETE description: GitHub Remove Public Organization Membership for the Authenticated User outputRawFormat: json outputParameters: - name: result type: object value: $. - name: orgs-org-repository-fine-grained-permissions path: /orgs/{org}/repository-fine-grained-permissions operations: - name: orgslistrepofinegrainedpermissions method: GET description: GitHub List Repository Fine-grained Permissions for an Organization outputRawFormat: json outputParameters: - name: result type: object value: $. - name: orgs-org-security-managers path: /orgs/{org}/security-managers operations: - name: orgslistsecuritymanagerteams method: GET description: GitHub List Security Manager Teams outputRawFormat: json outputParameters: - name: result type: object value: $. - name: orgs-org-security-managers-teams-team_slug path: /orgs/{org}/security-managers/teams/{team_slug} operations: - name: orgsaddsecuritymanagerteam method: PUT description: GitHub Add a Security Manager Team outputRawFormat: json outputParameters: - name: result type: object value: $. - name: orgsremovesecuritymanagerteam method: DELETE description: GitHub Remove a Security Manager Team outputRawFormat: json outputParameters: - name: result type: object value: $. - name: orgs-org-security_product-enablement path: /orgs/{org}/{security_product}/{enablement} operations: - name: orgsenableordisablesecurityproductonallorgrepos method: POST description: GitHub Enable or Disable a Security Feature for an Organization outputRawFormat: json outputParameters: - name: result type: object value: $. - name: user-memberships-orgs path: /user/memberships/orgs operations: - name: orgslistmembershipsforauthenticateduser method: GET description: GitHub List Organization Memberships for the Authenticated User outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: state in: query type: string description: Indicates the state of the memberships to return. If not specified, the API returns both active and pending memberships. - name: user-memberships-orgs-org path: /user/memberships/orgs/{org} operations: - name: orgsgetmembershipforauthenticateduser method: GET description: GitHub Get an Organization Membership for the Authenticated User outputRawFormat: json outputParameters: - name: result type: object value: $. - name: orgsupdatemembershipforauthenticateduser method: PATCH description: GitHub Update an Organization Membership for the Authenticated User outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: user-orgs path: /user/orgs operations: - name: orgslistforauthenticateduser method: GET description: GitHub List Organizations for the Authenticated User outputRawFormat: json outputParameters: - name: result type: object value: $. - name: users-username-orgs path: /users/{username}/orgs operations: - name: orgslistforuser method: GET description: GitHub List Organizations for a User outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: github-orgs-rest port: 8080 description: REST adapter for GitHub v3 REST API — Orgs. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/organizations name: organizations description: REST surface for organizations. operations: - method: GET name: orgslist description: GitHub List Organizations call: github-orgs.orgslist outputParameters: - type: object mapping: $. - path: /v1/organizations/{organization-id}/custom-roles name: organizations-organization-id-custom-roles description: REST surface for organizations-organization_id-custom_roles. operations: - method: GET name: orgslistcustomroles description: GitHub Deprecated - List Custom Repository Roles in an Organization call: github-orgs.orgslistcustomroles with: organization_id: rest.organization_id outputParameters: - type: object mapping: $. - path: /v1/orgs/{org} name: orgs-org description: REST surface for orgs-org. operations: - method: GET name: orgsget description: GitHub Get an Organization call: github-orgs.orgsget outputParameters: - type: object mapping: $. - method: PATCH name: orgsupdate description: GitHub Update an Organization call: github-orgs.orgsupdate with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: orgsdelete description: GitHub Delete an Organization call: github-orgs.orgsdelete outputParameters: - type: object mapping: $. - path: /v1/orgs/{org}/announcement name: orgs-org-announcement description: REST surface for orgs-org-announcement. operations: - method: GET name: announcementbannersgetannouncementbannerfororg description: GitHub Get Announcement Banner for Organization call: github-orgs.announcementbannersgetannouncementbannerfororg outputParameters: - type: object mapping: $. - method: PATCH name: announcementbannerssetannouncementbannerfororg description: GitHub Set Announcement Banner for Organization call: github-orgs.announcementbannerssetannouncementbannerfororg with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: announcementbannersremoveannouncementbannerfororg description: GitHub Remove Announcement Banner from Organization call: github-orgs.announcementbannersremoveannouncementbannerfororg 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: orgsgetauditlog description: GitHub Get the Audit Log for an Organization call: github-orgs.orgsgetauditlog outputParameters: - type: object mapping: $. - path: /v1/orgs/{org}/custom-repository-roles name: orgs-org-custom-repository-roles description: REST surface for orgs-org-custom-repository-roles. operations: - method: GET name: orgslistcustomreporoles description: GitHub List Custom Repository Roles in an Organization call: github-orgs.orgslistcustomreporoles outputParameters: - type: object mapping: $. - method: POST name: orgscreatecustomreporole description: GitHub Create a Custom Repository Role call: github-orgs.orgscreatecustomreporole with: body: rest.body 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: orgsgetcustomreporole description: GitHub Get a Custom Repository Role call: github-orgs.orgsgetcustomreporole outputParameters: - type: object mapping: $. - method: PATCH name: orgsupdatecustomreporole description: GitHub Update a Custom Repository Role call: github-orgs.orgsupdatecustomreporole with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: orgsdeletecustomreporole description: GitHub Delete a Custom Repository Role call: github-orgs.orgsdeletecustomreporole outputParameters: - type: object mapping: $. - path: /v1/orgs/{org}/hooks name: orgs-org-hooks description: REST surface for orgs-org-hooks. operations: - method: GET name: orgslistwebhooks description: GitHub List Organization Webhooks call: github-orgs.orgslistwebhooks outputParameters: - type: object mapping: $. - method: POST name: orgscreatewebhook description: GitHub Create an Organization Webhook call: github-orgs.orgscreatewebhook with: body: rest.body 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: orgsgetwebhook description: GitHub Get an Organization Webhook call: github-orgs.orgsgetwebhook outputParameters: - type: object mapping: $. - method: PATCH name: orgsupdatewebhook description: GitHub Update an Organization Webhook call: github-orgs.orgsupdatewebhook with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: orgsdeletewebhook description: GitHub Delete an Organization Webhook call: github-orgs.orgsdeletewebhook 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: orgsgetwebhookconfigfororg description: GitHub Get a Webhook Configuration for an Organization call: github-orgs.orgsgetwebhookconfigfororg outputParameters: - type: object mapping: $. - method: PATCH name: orgsupdatewebhookconfigfororg description: GitHub Update a Webhook Configuration for an Organization call: github-orgs.orgsupdatewebhookconfigfororg with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/orgs/{org}/hooks/{hook-id}/deliveries name: orgs-org-hooks-hook-id-deliveries description: REST surface for orgs-org-hooks-hook_id-deliveries. operations: - method: GET name: orgslistwebhookdeliveries description: GitHub List Deliveries for an Organization Webhook call: github-orgs.orgslistwebhookdeliveries with: redelivery: rest.redelivery 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: orgsgetwebhookdelivery description: GitHub Get a Webhook Delivery for an Organization Webhook call: github-orgs.orgsgetwebhookdelivery outputParameters: - type: object mapping: $. - path: /v1/orgs/{org}/hooks/{hook-id}/deliveries/{delivery-id}/attempts name: orgs-org-hooks-hook-id-deliveries-delivery-id-attempts description: REST surface for orgs-org-hooks-hook_id-deliveries-delivery_id-attempts. operations: - method: POST name: orgsredeliverwebhookdelivery description: GitHub Redeliver a Delivery for an Organization Webhook call: github-orgs.orgsredeliverwebhookdelivery outputParameters: - type: object mapping: $. - path: /v1/orgs/{org}/hooks/{hook-id}/pings name: orgs-org-hooks-hook-id-pings description: REST surface for orgs-org-hooks-hook_id-pings. operations: - method: POST name: orgspingwebhook description: GitHub Ping an Organization Webhook call: github-orgs.orgspingwebhook outputParameters: - type: object mapping: $. - path: /v1/orgs/{org}/installations name: orgs-org-installations description: REST surface for orgs-org-installations. operations: - method: GET name: orgslistappinstallations description: GitHub List App Installations for an Organization call: github-orgs.orgslistappinstallations outputParameters: - type: object mapping: $. - path: /v1/orgs/{org}/members name: orgs-org-members description: REST surface for orgs-org-members. operations: - method: GET name: orgslistmembers description: GitHub List Organization Members call: github-orgs.orgslistmembers with: filter: rest.filter role: rest.role outputParameters: - type: object mapping: $. - path: /v1/orgs/{org}/members/{username} name: orgs-org-members-username description: REST surface for orgs-org-members-username. operations: - method: GET name: orgscheckmembershipforuser description: GitHub Check Organization Membership for a User call: github-orgs.orgscheckmembershipforuser outputParameters: - type: object mapping: $. - method: DELETE name: orgsremovemember description: GitHub Remove an Organization Member call: github-orgs.orgsremovemember 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: orgsgetmembershipforuser description: GitHub Get Organization Membership for a User call: github-orgs.orgsgetmembershipforuser outputParameters: - type: object mapping: $. - method: PUT name: orgssetmembershipforuser description: GitHub Set Organization Membership for a User call: github-orgs.orgssetmembershipforuser with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: orgsremovemembershipforuser description: GitHub Remove Organization Membership for a User call: github-orgs.orgsremovemembershipforuser outputParameters: - type: object mapping: $. - path: /v1/orgs/{org}/outside-collaborators name: orgs-org-outside-collaborators description: REST surface for orgs-org-outside_collaborators. operations: - method: GET name: orgslistoutsidecollaborators description: GitHub List Outside Collaborators for an Organization call: github-orgs.orgslistoutsidecollaborators with: filter: rest.filter outputParameters: - type: object mapping: $. - path: /v1/orgs/{org}/outside-collaborators/{username} name: orgs-org-outside-collaborators-username description: REST surface for orgs-org-outside_collaborators-username. operations: - method: PUT name: orgsconvertmembertooutsidecollaborator description: GitHub Convert an Organization Member to Outside Collaborator call: github-orgs.orgsconvertmembertooutsidecollaborator with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: orgsremoveoutsidecollaborator description: GitHub Remove Outside Collaborator from an Organization call: github-orgs.orgsremoveoutsidecollaborator outputParameters: - type: object mapping: $. - path: /v1/orgs/{org}/public-members name: orgs-org-public-members description: REST surface for orgs-org-public_members. operations: - method: GET name: orgslistpublicmembers description: GitHub List Public Organization Members call: github-orgs.orgslistpublicmembers outputParameters: - type: object mapping: $. - path: /v1/orgs/{org}/public-members/{username} name: orgs-org-public-members-username description: REST surface for orgs-org-public_members-username. operations: - method: GET name: orgscheckpublicmembershipforuser description: GitHub Check Public Organization Membership for a User call: github-orgs.orgscheckpublicmembershipforuser outputParameters: - type: object mapping: $. - method: PUT name: orgssetpublicmembershipforauthenticateduser description: GitHub Set Public Organization Membership for the Authenticated User call: github-orgs.orgssetpublicmembershipforauthenticateduser outputParameters: - type: object mapping: $. - method: DELETE name: orgsremovepublicmembershipforauthenticateduser description: GitHub Remove Public Organization Membership for the Authenticated User call: github-orgs.orgsremovepublicmembershipforauthenticateduser outputParameters: - type: object mapping: $. - path: /v1/orgs/{org}/repository-fine-grained-permissions name: orgs-org-repository-fine-grained-permissions description: REST surface for orgs-org-repository-fine-grained-permissions. operations: - method: GET name: orgslistrepofinegrainedpermissions description: GitHub List Repository Fine-grained Permissions for an Organization call: github-orgs.orgslistrepofinegrainedpermissions outputParameters: - type: object mapping: $. - path: /v1/orgs/{org}/security-managers name: orgs-org-security-managers description: REST surface for orgs-org-security-managers. operations: - method: GET name: orgslistsecuritymanagerteams description: GitHub List Security Manager Teams call: github-orgs.orgslistsecuritymanagerteams outputParameters: - type: object mapping: $. - path: /v1/orgs/{org}/security-managers/teams/{team-slug} name: orgs-org-security-managers-teams-team-slug description: REST surface for orgs-org-security-managers-teams-team_slug. operations: - method: PUT name: orgsaddsecuritymanagerteam description: GitHub Add a Security Manager Team call: github-orgs.orgsaddsecuritymanagerteam outputParameters: - type: object mapping: $. - method: DELETE name: orgsremovesecuritymanagerteam description: GitHub Remove a Security Manager Team call: github-orgs.orgsremovesecuritymanagerteam outputParameters: - type: object mapping: $. - path: /v1/orgs/{org}/{security-product}/{enablement} name: orgs-org-security-product-enablement description: REST surface for orgs-org-security_product-enablement. operations: - method: POST name: orgsenableordisablesecurityproductonallorgrepos description: GitHub Enable or Disable a Security Feature for an Organization call: github-orgs.orgsenableordisablesecurityproductonallorgrepos outputParameters: - type: object mapping: $. - path: /v1/user/memberships/orgs name: user-memberships-orgs description: REST surface for user-memberships-orgs. operations: - method: GET name: orgslistmembershipsforauthenticateduser description: GitHub List Organization Memberships for the Authenticated User call: github-orgs.orgslistmembershipsforauthenticateduser with: state: rest.state outputParameters: - type: object mapping: $. - path: /v1/user/memberships/orgs/{org} name: user-memberships-orgs-org description: REST surface for user-memberships-orgs-org. operations: - method: GET name: orgsgetmembershipforauthenticateduser description: GitHub Get an Organization Membership for the Authenticated User call: github-orgs.orgsgetmembershipforauthenticateduser outputParameters: - type: object mapping: $. - method: PATCH name: orgsupdatemembershipforauthenticateduser description: GitHub Update an Organization Membership for the Authenticated User call: github-orgs.orgsupdatemembershipforauthenticateduser with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/user/orgs name: user-orgs description: REST surface for user-orgs. operations: - method: GET name: orgslistforauthenticateduser description: GitHub List Organizations for the Authenticated User call: github-orgs.orgslistforauthenticateduser outputParameters: - type: object mapping: $. - path: /v1/users/{username}/orgs name: users-username-orgs description: REST surface for users-username-orgs. operations: - method: GET name: orgslistforuser description: GitHub List Organizations for a User call: github-orgs.orgslistforuser outputParameters: - type: object mapping: $. - type: mcp namespace: github-orgs-mcp port: 9090 transport: http description: MCP adapter for GitHub v3 REST API — Orgs. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: github-list-organizations description: GitHub List Organizations hints: readOnly: true destructive: false idempotent: true call: github-orgs.orgslist outputParameters: - type: object mapping: $. - name: github-deprecated-list-custom-repository description: GitHub Deprecated - List Custom Repository Roles in an Organization hints: readOnly: true destructive: false idempotent: true call: github-orgs.orgslistcustomroles with: organization_id: tools.organization_id outputParameters: - type: object mapping: $. - name: github-get-organization description: GitHub Get an Organization hints: readOnly: true destructive: false idempotent: true call: github-orgs.orgsget outputParameters: - type: object mapping: $. - name: github-update-organization description: GitHub Update an Organization hints: readOnly: false destructive: false idempotent: true call: github-orgs.orgsupdate with: body: tools.body outputParameters: - type: object mapping: $. - name: github-delete-organization description: GitHub Delete an Organization hints: readOnly: false destructive: true idempotent: true call: github-orgs.orgsdelete 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: github-orgs.announcementbannersgetannouncementbannerfororg outputParameters: - type: object mapping: $. - name: github-set-announcement-banner-organization description: GitHub Set Announcement Banner for Organization hints: readOnly: false destructive: false idempotent: true call: github-orgs.announcementbannerssetannouncementbannerfororg with: body: tools.body outputParameters: - type: object mapping: $. - name: github-remove-announcement-banner-organization description: GitHub Remove Announcement Banner from Organization hints: readOnly: false destructive: true idempotent: true call: github-orgs.announcementbannersremoveannouncementbannerfororg outputParameters: - type: object mapping: $. - name: github-get-audit-log-organization description: GitHub Get the Audit Log for an Organization hints: readOnly: true destructive: false idempotent: true call: github-orgs.orgsgetauditlog outputParameters: - type: object mapping: $. - name: github-list-custom-repository-roles description: GitHub List Custom Repository Roles in an Organization hints: readOnly: true destructive: false idempotent: true call: github-orgs.orgslistcustomreporoles outputParameters: - type: object mapping: $. - name: github-create-custom-repository-role description: GitHub Create a Custom Repository Role hints: readOnly: false destructive: false idempotent: false call: github-orgs.orgscreatecustomreporole with: body: tools.body outputParameters: - type: object mapping: $. - name: github-get-custom-repository-role description: GitHub Get a Custom Repository Role hints: readOnly: true destructive: false idempotent: true call: github-orgs.orgsgetcustomreporole outputParameters: - type: object mapping: $. - name: github-update-custom-repository-role description: GitHub Update a Custom Repository Role hints: readOnly: false destructive: false idempotent: true call: github-orgs.orgsupdatecustomreporole with: body: tools.body outputParameters: - type: object mapping: $. - name: github-delete-custom-repository-role description: GitHub Delete a Custom Repository Role hints: readOnly: false destructive: true idempotent: true call: github-orgs.orgsdeletecustomreporole outputParameters: - type: object mapping: $. - name: github-list-organization-webhooks description: GitHub List Organization Webhooks hints: readOnly: true destructive: false idempotent: true call: github-orgs.orgslistwebhooks outputParameters: - type: object mapping: $. - name: github-create-organization-webhook description: GitHub Create an Organization Webhook hints: readOnly: false destructive: false idempotent: false call: github-orgs.orgscreatewebhook with: body: tools.body outputParameters: - type: object mapping: $. - name: github-get-organization-webhook description: GitHub Get an Organization Webhook hints: readOnly: true destructive: false idempotent: true call: github-orgs.orgsgetwebhook outputParameters: - type: object mapping: $. - name: github-update-organization-webhook description: GitHub Update an Organization Webhook hints: readOnly: false destructive: false idempotent: true call: github-orgs.orgsupdatewebhook with: body: tools.body outputParameters: - type: object mapping: $. - name: github-delete-organization-webhook description: GitHub Delete an Organization Webhook hints: readOnly: false destructive: true idempotent: true call: github-orgs.orgsdeletewebhook outputParameters: - type: object mapping: $. - name: github-get-webhook-configuration-organization description: GitHub Get a Webhook Configuration for an Organization hints: readOnly: true destructive: false idempotent: true call: github-orgs.orgsgetwebhookconfigfororg outputParameters: - type: object mapping: $. - name: github-update-webhook-configuration-organization description: GitHub Update a Webhook Configuration for an Organization hints: readOnly: false destructive: false idempotent: true call: github-orgs.orgsupdatewebhookconfigfororg with: body: tools.body outputParameters: - type: object mapping: $. - name: github-list-deliveries-organization-webhook description: GitHub List Deliveries for an Organization Webhook hints: readOnly: true destructive: false idempotent: true call: github-orgs.orgslistwebhookdeliveries with: redelivery: tools.redelivery outputParameters: - type: object mapping: $. - name: github-get-webhook-delivery-organization description: GitHub Get a Webhook Delivery for an Organization Webhook hints: readOnly: true destructive: false idempotent: true call: github-orgs.orgsgetwebhookdelivery outputParameters: - type: object mapping: $. - name: github-redeliver-delivery-organization-webhook description: GitHub Redeliver a Delivery for an Organization Webhook hints: readOnly: false destructive: false idempotent: false call: github-orgs.orgsredeliverwebhookdelivery outputParameters: - type: object mapping: $. - name: github-ping-organization-webhook description: GitHub Ping an Organization Webhook hints: readOnly: false destructive: false idempotent: false call: github-orgs.orgspingwebhook 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: github-orgs.orgslistappinstallations outputParameters: - type: object mapping: $. - name: github-list-organization-members description: GitHub List Organization Members hints: readOnly: true destructive: false idempotent: true call: github-orgs.orgslistmembers with: filter: tools.filter role: tools.role outputParameters: - type: object mapping: $. - name: github-check-organization-membership-user description: GitHub Check Organization Membership for a User hints: readOnly: true destructive: false idempotent: true call: github-orgs.orgscheckmembershipforuser outputParameters: - type: object mapping: $. - name: github-remove-organization-member description: GitHub Remove an Organization Member hints: readOnly: false destructive: true idempotent: true call: github-orgs.orgsremovemember outputParameters: - type: object mapping: $. - name: github-get-organization-membership-user description: GitHub Get Organization Membership for a User hints: readOnly: true destructive: false idempotent: true call: github-orgs.orgsgetmembershipforuser outputParameters: - type: object mapping: $. - name: github-set-organization-membership-user description: GitHub Set Organization Membership for a User hints: readOnly: false destructive: false idempotent: true call: github-orgs.orgssetmembershipforuser with: body: tools.body outputParameters: - type: object mapping: $. - name: github-remove-organization-membership-user description: GitHub Remove Organization Membership for a User hints: readOnly: false destructive: true idempotent: true call: github-orgs.orgsremovemembershipforuser outputParameters: - type: object mapping: $. - name: github-list-outside-collaborators-organization description: GitHub List Outside Collaborators for an Organization hints: readOnly: true destructive: false idempotent: true call: github-orgs.orgslistoutsidecollaborators with: filter: tools.filter outputParameters: - type: object mapping: $. - name: github-convert-organization-member-outside description: GitHub Convert an Organization Member to Outside Collaborator hints: readOnly: false destructive: false idempotent: true call: github-orgs.orgsconvertmembertooutsidecollaborator with: body: tools.body outputParameters: - type: object mapping: $. - name: github-remove-outside-collaborator-organization description: GitHub Remove Outside Collaborator from an Organization hints: readOnly: false destructive: true idempotent: true call: github-orgs.orgsremoveoutsidecollaborator outputParameters: - type: object mapping: $. - name: github-list-public-organization-members description: GitHub List Public Organization Members hints: readOnly: true destructive: false idempotent: true call: github-orgs.orgslistpublicmembers outputParameters: - type: object mapping: $. - name: github-check-public-organization-membership description: GitHub Check Public Organization Membership for a User hints: readOnly: true destructive: false idempotent: true call: github-orgs.orgscheckpublicmembershipforuser outputParameters: - type: object mapping: $. - name: github-set-public-organization-membership description: GitHub Set Public Organization Membership for the Authenticated User hints: readOnly: false destructive: false idempotent: true call: github-orgs.orgssetpublicmembershipforauthenticateduser outputParameters: - type: object mapping: $. - name: github-remove-public-organization-membership description: GitHub Remove Public Organization Membership for the Authenticated User hints: readOnly: false destructive: true idempotent: true call: github-orgs.orgsremovepublicmembershipforauthenticateduser outputParameters: - type: object mapping: $. - name: github-list-repository-fine-grained description: GitHub List Repository Fine-grained Permissions for an Organization hints: readOnly: true destructive: false idempotent: true call: github-orgs.orgslistrepofinegrainedpermissions outputParameters: - type: object mapping: $. - name: github-list-security-manager-teams description: GitHub List Security Manager Teams hints: readOnly: true destructive: false idempotent: true call: github-orgs.orgslistsecuritymanagerteams outputParameters: - type: object mapping: $. - name: github-add-security-manager-team description: GitHub Add a Security Manager Team hints: readOnly: false destructive: false idempotent: true call: github-orgs.orgsaddsecuritymanagerteam outputParameters: - type: object mapping: $. - name: github-remove-security-manager-team description: GitHub Remove a Security Manager Team hints: readOnly: false destructive: true idempotent: true call: github-orgs.orgsremovesecuritymanagerteam outputParameters: - type: object mapping: $. - name: github-enable-disable-security-feature description: GitHub Enable or Disable a Security Feature for an Organization hints: readOnly: false destructive: false idempotent: false call: github-orgs.orgsenableordisablesecurityproductonallorgrepos outputParameters: - type: object mapping: $. - name: github-list-organization-memberships-authenticated description: GitHub List Organization Memberships for the Authenticated User hints: readOnly: true destructive: false idempotent: true call: github-orgs.orgslistmembershipsforauthenticateduser with: state: tools.state outputParameters: - type: object mapping: $. - name: github-get-organization-membership-authenticated description: GitHub Get an Organization Membership for the Authenticated User hints: readOnly: true destructive: false idempotent: true call: github-orgs.orgsgetmembershipforauthenticateduser outputParameters: - type: object mapping: $. - name: github-update-organization-membership-authenticated description: GitHub Update an Organization Membership for the Authenticated User hints: readOnly: false destructive: false idempotent: true call: github-orgs.orgsupdatemembershipforauthenticateduser with: body: tools.body outputParameters: - type: object mapping: $. - name: github-list-organizations-authenticated-user description: GitHub List Organizations for the Authenticated User hints: readOnly: true destructive: false idempotent: true call: github-orgs.orgslistforauthenticateduser outputParameters: - type: object mapping: $. - name: github-list-organizations-user description: GitHub List Organizations for a User hints: readOnly: true destructive: false idempotent: true call: github-orgs.orgslistforuser outputParameters: - type: object mapping: $.