GitHub · Capability

github-repos-api — Status

github-repos-api — Status. 5 operations. Lead operation: GitHub Get the Combined Status for Specific Reference. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubStatus

What You Can Do

GET
Getthecombinedstatusforspecificreference — GitHub Get the Combined Status for Specific Reference
/v1/repos/{owner}/{repo}/commits/{ref}/status
POST
Createdeploymentstatus — GitHub Create Deployment Status
/v1/repos/{owner}/{repo}/deployments/{deployment-id}/statuses
GET
Getdeploymentstatus — GitHub Get Deployment Status
/v1/repos/{owner}/{repo}/deployments/{deployment-id}/statuses/{status-id}
GET
Listrepositorycachereplicationstatus — GitHub List Repository Cache Replication Status
/v1/repos/{owner}/{repo}/replicas/caches
POST
Createcommitstatus — GitHub Create Commit Status
/v1/repos/{owner}/{repo}/statuses/{sha}

MCP Tools

github-get-combined-status-specific

GitHub Get the Combined Status for Specific Reference

read-only idempotent
github-create-deployment-status

GitHub Create Deployment Status

github-get-deployment-status

GitHub Get Deployment Status

read-only idempotent
github-list-repository-cache-replication

GitHub List Repository Cache Replication Status

read-only idempotent
github-create-commit-status

GitHub Create Commit Status

Capability Spec

repo-tags-status.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: github-repos-api — Status
  description: 'github-repos-api — Status. 5 operations. Lead operation: GitHub Get the Combined Status for Specific Reference.
    Self-contained Naftiko capability covering one Github business surface.'
  tags:
  - Github
  - Status
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GITHUB_API_KEY: GITHUB_API_KEY
capability:
  consumes:
  - type: http
    namespace: repo-tags-status
    baseUri: ''
    description: github-repos-api — Status business capability. Self-contained, no shared references.
    resources:
    - name: repos-owner-repo-commits-ref-status
      path: /repos/{owner}/{repo}/commits/{ref}/status
      operations:
      - name: getthecombinedstatusforspecificreference
        method: GET
        description: GitHub Get the Combined Status for Specific Reference
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-deployments-deployment_id-statuses
      path: /repos/{owner}/{repo}/deployments/{deployment_id}/statuses
      operations:
      - name: createdeploymentstatus
        method: POST
        description: GitHub Create Deployment Status
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: repos-owner-repo-deployments-deployment_id-statuses-status_id
      path: /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}
      operations:
      - name: getdeploymentstatus
        method: GET
        description: GitHub Get Deployment Status
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: status_id
          in: path
          type: integer
          required: true
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-replicas-caches
      path: /repos/{owner}/{repo}/replicas/caches
      operations:
      - name: listrepositorycachereplicationstatus
        method: GET
        description: GitHub List Repository Cache Replication Status
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
    - name: repos-owner-repo-statuses-sha
      path: /repos/{owner}/{repo}/statuses/{sha}
      operations:
      - name: createcommitstatus
        method: POST
        description: GitHub Create Commit Status
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: sha
          in: path
          type: string
          required: true
        - name: Authorization
          in: header
          type: string
        - name: X-GitHub-Api-Version
          in: header
          type: string
        - name: Accept
          in: header
          type: string
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.GITHUB_API_KEY}}'
  exposes:
  - type: rest
    namespace: repo-tags-status-rest
    port: 8080
    description: REST adapter for github-repos-api — Status. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/repos/{owner}/{repo}/commits/{ref}/status
      name: repos-owner-repo-commits-ref-status
      description: REST surface for repos-owner-repo-commits-ref-status.
      operations:
      - method: GET
        name: getthecombinedstatusforspecificreference
        description: GitHub Get the Combined Status for Specific Reference
        call: repo-tags-status.getthecombinedstatusforspecificreference
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/deployments/{deployment-id}/statuses
      name: repos-owner-repo-deployments-deployment-id-statuses
      description: REST surface for repos-owner-repo-deployments-deployment_id-statuses.
      operations:
      - method: POST
        name: createdeploymentstatus
        description: GitHub Create Deployment Status
        call: repo-tags-status.createdeploymentstatus
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/deployments/{deployment-id}/statuses/{status-id}
      name: repos-owner-repo-deployments-deployment-id-statuses-status-id
      description: REST surface for repos-owner-repo-deployments-deployment_id-statuses-status_id.
      operations:
      - method: GET
        name: getdeploymentstatus
        description: GitHub Get Deployment Status
        call: repo-tags-status.getdeploymentstatus
        with:
          status_id: rest.status_id
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/replicas/caches
      name: repos-owner-repo-replicas-caches
      description: REST surface for repos-owner-repo-replicas-caches.
      operations:
      - method: GET
        name: listrepositorycachereplicationstatus
        description: GitHub List Repository Cache Replication Status
        call: repo-tags-status.listrepositorycachereplicationstatus
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repos/{owner}/{repo}/statuses/{sha}
      name: repos-owner-repo-statuses-sha
      description: REST surface for repos-owner-repo-statuses-sha.
      operations:
      - method: POST
        name: createcommitstatus
        description: GitHub Create Commit Status
        call: repo-tags-status.createcommitstatus
        with:
          sha: rest.sha
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: repo-tags-status-mcp
    port: 9090
    transport: http
    description: MCP adapter for github-repos-api — Status. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: github-get-combined-status-specific
      description: GitHub Get the Combined Status for Specific Reference
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: repo-tags-status.getthecombinedstatusforspecificreference
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: github-create-deployment-status
      description: GitHub Create Deployment Status
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: repo-tags-status.createdeploymentstatus
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: github-get-deployment-status
      description: GitHub Get Deployment Status
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: repo-tags-status.getdeploymentstatus
      with:
        status_id: tools.status_id
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: github-list-repository-cache-replication
      description: GitHub List Repository Cache Replication Status
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: repo-tags-status.listrepositorycachereplicationstatus
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: github-create-commit-status
      description: GitHub Create Commit Status
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: repo-tags-status.createcommitstatus
      with:
        sha: tools.sha
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.