GitHub · Capability

GitHub Repos API — Large File Storage

GitHub Repos API — Large File Storage. 2 operations. Lead operation: Enable Git Lfs For Repository. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubLarge File Storage

What You Can Do

PUT
Enablegitlfsforrepository — Enable Git Lfs For Repository
/v1/repos/{owner}/{repo}/lfs
DELETE
Disablegitlfsforrepository — Disable Git Lfs For Repository
/v1/repos/{owner}/{repo}/lfs

MCP Tools

enable-git-lfs-repository

Enable Git Lfs For Repository

idempotent
disable-git-lfs-repository

Disable Git Lfs For Repository

idempotent

Capability Spec

temp-large-file-storage.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GitHub Repos API — Large File Storage
  description: 'GitHub Repos API — Large File Storage. 2 operations. Lead operation: Enable Git Lfs For Repository. Self-contained
    Naftiko capability covering one Github business surface.'
  tags:
  - Github
  - Large File Storage
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GITHUB_API_KEY: GITHUB_API_KEY
capability:
  consumes:
  - type: http
    namespace: temp-large-file-storage
    baseUri: ''
    description: GitHub Repos API — Large File Storage business capability. Self-contained, no shared references.
    resources:
    - name: repos-owner-repo-lfs
      path: /repos/{owner}/{repo}/lfs
      operations:
      - name: enablegitlfsforrepository
        method: PUT
        description: Enable Git Lfs For Repository
        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: disablegitlfsforrepository
        method: DELETE
        description: Disable Git Lfs For Repository
        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
    authentication:
      type: bearer
      token: '{{env.GITHUB_API_KEY}}'
  exposes:
  - type: rest
    namespace: temp-large-file-storage-rest
    port: 8080
    description: REST adapter for GitHub Repos API — Large File Storage. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/repos/{owner}/{repo}/lfs
      name: repos-owner-repo-lfs
      description: REST surface for repos-owner-repo-lfs.
      operations:
      - method: PUT
        name: enablegitlfsforrepository
        description: Enable Git Lfs For Repository
        call: temp-large-file-storage.enablegitlfsforrepository
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: disablegitlfsforrepository
        description: Disable Git Lfs For Repository
        call: temp-large-file-storage.disablegitlfsforrepository
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: temp-large-file-storage-mcp
    port: 9090
    transport: http
    description: MCP adapter for GitHub Repos API — Large File Storage. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: enable-git-lfs-repository
      description: Enable Git Lfs For Repository
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: temp-large-file-storage.enablegitlfsforrepository
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: disable-git-lfs-repository
      description: Disable Git Lfs For Repository
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: temp-large-file-storage.disablegitlfsforrepository
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.