GitHub · Capability

github-repos-api — Sites

github-repos-api — Sites. 4 operations. Lead operation: GitHub Get Github Enterprise Server Pages Site. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubSites

What You Can Do

GET
Getgithubenterpriseserverpagessite — GitHub Get Github Enterprise Server Pages Site
/v1/repos/{owner}/{repo}/pages
POST
Creategithubenterpriseserverpagessite — GitHub Create Github Enterprise Server Pages Site
/v1/repos/{owner}/{repo}/pages
PUT
Updateinformationaboutgithubenterpriseserverpagessite — GitHub Update Information About Github Enterprise Server Pages Site
/v1/repos/{owner}/{repo}/pages
DELETE
Deletegithubenterpriseserverpagessite — GitHub Delete Github Enterprise Server Pages Site
/v1/repos/{owner}/{repo}/pages

MCP Tools

github-get-github-enterprise-server

GitHub Get Github Enterprise Server Pages Site

read-only idempotent
github-create-github-enterprise-server

GitHub Create Github Enterprise Server Pages Site

github-update-information-about-github

GitHub Update Information About Github Enterprise Server Pages Site

idempotent
github-delete-github-enterprise-server

GitHub Delete Github Enterprise Server Pages Site

idempotent

Capability Spec

repo-tags-sites.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: github-repos-api — Sites
  description: 'github-repos-api — Sites. 4 operations. Lead operation: GitHub Get Github Enterprise Server Pages Site. Self-contained
    Naftiko capability covering one Github business surface.'
  tags:
  - Github
  - Sites
  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-sites
    baseUri: ''
    description: github-repos-api — Sites business capability. Self-contained, no shared references.
    resources:
    - name: repos-owner-repo-pages
      path: /repos/{owner}/{repo}/pages
      operations:
      - name: getgithubenterpriseserverpagessite
        method: GET
        description: GitHub Get Github Enterprise Server Pages Site
        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: creategithubenterpriseserverpagessite
        method: POST
        description: GitHub Create Github Enterprise Server Pages Site
        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: updateinformationaboutgithubenterpriseserverpagessite
        method: PUT
        description: GitHub Update Information About Github Enterprise Server Pages Site
        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: deletegithubenterpriseserverpagessite
        method: DELETE
        description: GitHub Delete Github Enterprise Server Pages Site
        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: repo-tags-sites-rest
    port: 8080
    description: REST adapter for github-repos-api — Sites. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/repos/{owner}/{repo}/pages
      name: repos-owner-repo-pages
      description: REST surface for repos-owner-repo-pages.
      operations:
      - method: GET
        name: getgithubenterpriseserverpagessite
        description: GitHub Get Github Enterprise Server Pages Site
        call: repo-tags-sites.getgithubenterpriseserverpagessite
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: creategithubenterpriseserverpagessite
        description: GitHub Create Github Enterprise Server Pages Site
        call: repo-tags-sites.creategithubenterpriseserverpagessite
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: updateinformationaboutgithubenterpriseserverpagessite
        description: GitHub Update Information About Github Enterprise Server Pages Site
        call: repo-tags-sites.updateinformationaboutgithubenterpriseserverpagessite
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: deletegithubenterpriseserverpagessite
        description: GitHub Delete Github Enterprise Server Pages Site
        call: repo-tags-sites.deletegithubenterpriseserverpagessite
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: repo-tags-sites-mcp
    port: 9090
    transport: http
    description: MCP adapter for github-repos-api — Sites. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: github-get-github-enterprise-server
      description: GitHub Get Github Enterprise Server Pages Site
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: repo-tags-sites.getgithubenterpriseserverpagessite
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.
    - name: github-create-github-enterprise-server
      description: GitHub Create Github Enterprise Server Pages Site
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: repo-tags-sites.creategithubenterpriseserverpagessite
      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-update-information-about-github
      description: GitHub Update Information About Github Enterprise Server Pages Site
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: repo-tags-sites.updateinformationaboutgithubenterpriseserverpagessite
      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-delete-github-enterprise-server
      description: GitHub Delete Github Enterprise Server Pages Site
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: repo-tags-sites.deletegithubenterpriseserverpagessite
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.