GitHub · Capability

GitHub v3 REST API — Oidc

GitHub v3 REST API — Oidc. 2 operations. Lead operation: GitHub Get the Customization Template for an OIDC Subject Claim for an Organization. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubOidc

What You Can Do

GET
Oidcgetoidccustomsubtemplatefororg — GitHub Get the Customization Template for an OIDC Subject Claim for an Organization
/v1/orgs/{org}/actions/oidc/customization/sub
PUT
Oidcupdateoidccustomsubtemplatefororg — GitHub Set the Customization Template for an OIDC Subject Claim for an Organization
/v1/orgs/{org}/actions/oidc/customization/sub

MCP Tools

github-get-customization-template-oidc

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

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

GitHub Set the Customization Template for an OIDC Subject Claim for an Organization

idempotent

Capability Spec

github-oidc.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GitHub v3 REST API — Oidc
  description: 'GitHub v3 REST API — Oidc. 2 operations. Lead operation: GitHub Get the Customization Template for an OIDC
    Subject Claim for an Organization. Self-contained Naftiko capability covering one Github business surface.'
  tags:
  - Github
  - Oidc
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GITHUB_API_KEY: GITHUB_API_KEY
capability:
  consumes:
  - type: http
    namespace: github-oidc
    baseUri: ''
    description: GitHub v3 REST API — Oidc business capability. Self-contained, no shared references.
    resources:
    - name: orgs-org-actions-oidc-customization-sub
      path: /orgs/{org}/actions/oidc/customization/sub
      operations:
      - name: oidcgetoidccustomsubtemplatefororg
        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: oidcupdateoidccustomsubtemplatefororg
        method: PUT
        description: GitHub Set the Customization Template for an OIDC Subject Claim for an Organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
  exposes:
  - type: rest
    namespace: github-oidc-rest
    port: 8080
    description: REST adapter for GitHub v3 REST API — Oidc. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - 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: oidcgetoidccustomsubtemplatefororg
        description: GitHub Get the Customization Template for an OIDC Subject Claim for an Organization
        call: github-oidc.oidcgetoidccustomsubtemplatefororg
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: oidcupdateoidccustomsubtemplatefororg
        description: GitHub Set the Customization Template for an OIDC Subject Claim for an Organization
        call: github-oidc.oidcupdateoidccustomsubtemplatefororg
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: github-oidc-mcp
    port: 9090
    transport: http
    description: MCP adapter for GitHub v3 REST API — Oidc. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - 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: github-oidc.oidcgetoidccustomsubtemplatefororg
      outputParameters:
      - type: object
        mapping: $.
    - name: github-set-customization-template-oidc
      description: GitHub Set the Customization Template for an OIDC Subject Claim for an Organization
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: github-oidc.oidcupdateoidccustomsubtemplatefororg
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.