GitHub · Capability

GitHub Repos API — Autolinks

GitHub Repos API — Autolinks. 2 operations. Lead operation: Get All Autolinks Of Repository. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubAutolinks

What You Can Do

GET
Getallautolinksofrepository — Get All Autolinks Of Repository
/v1/repos/{owner}/{repo}/autolinks
DELETE
Deleteanautolinkreferencefromrepository — Delete An Autolink Reference From Repository
/v1/repos/{owner}/{repo}/autolinks/{autolink-id}

MCP Tools

get-all-autolinks-repository

Get All Autolinks Of Repository

read-only idempotent
delete-autolink-reference-repository

Delete An Autolink Reference From Repository

idempotent

Capability Spec

temp-autolinks.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GitHub Repos API — Autolinks
  description: 'GitHub Repos API — Autolinks. 2 operations. Lead operation: Get All Autolinks Of Repository. Self-contained
    Naftiko capability covering one Github business surface.'
  tags:
  - Github
  - Autolinks
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GITHUB_API_KEY: GITHUB_API_KEY
capability:
  consumes:
  - type: http
    namespace: temp-autolinks
    baseUri: ''
    description: GitHub Repos API — Autolinks business capability. Self-contained, no shared references.
    resources:
    - name: repos-owner-repo-autolinks
      path: /repos/{owner}/{repo}/autolinks
      operations:
      - name: getallautolinksofrepository
        method: GET
        description: Get All Autolinks Of 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: repos-owner-repo-autolinks-autolink_id
      path: /repos/{owner}/{repo}/autolinks/{autolink_id}
      operations:
      - name: deleteanautolinkreferencefromrepository
        method: DELETE
        description: Delete An Autolink Reference From 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-autolinks-rest
    port: 8080
    description: REST adapter for GitHub Repos API — Autolinks. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/repos/{owner}/{repo}/autolinks
      name: repos-owner-repo-autolinks
      description: REST surface for repos-owner-repo-autolinks.
      operations:
      - method: GET
        name: getallautolinksofrepository
        description: Get All Autolinks Of Repository
        call: temp-autolinks.getallautolinksofrepository
        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}/autolinks/{autolink-id}
      name: repos-owner-repo-autolinks-autolink-id
      description: REST surface for repos-owner-repo-autolinks-autolink_id.
      operations:
      - method: DELETE
        name: deleteanautolinkreferencefromrepository
        description: Delete An Autolink Reference From Repository
        call: temp-autolinks.deleteanautolinkreferencefromrepository
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: temp-autolinks-mcp
    port: 9090
    transport: http
    description: MCP adapter for GitHub Repos API — Autolinks. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: get-all-autolinks-repository
      description: Get All Autolinks Of Repository
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: temp-autolinks.getallautolinksofrepository
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: delete-autolink-reference-repository
      description: Delete An Autolink Reference From Repository
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: temp-autolinks.deleteanautolinkreferencefromrepository
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.