GitHub · Capability

github-repos-api — Lists

github-repos-api — Lists. 1 operations. Lead operation: GitHub List Repository Projects. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubLists

What You Can Do

GET
Listrepositoryprojects — GitHub List Repository Projects
/v1/repos/{owner}/{repo}/projects

MCP Tools

github-list-repository-projects

GitHub List Repository Projects

read-only idempotent

Capability Spec

repo-projects-lists.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: github-repos-api — Lists
  description: 'github-repos-api — Lists. 1 operations. Lead operation: GitHub List Repository Projects. Self-contained Naftiko
    capability covering one Github business surface.'
  tags:
  - Github
  - Lists
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GITHUB_API_KEY: GITHUB_API_KEY
capability:
  consumes:
  - type: http
    namespace: repo-projects-lists
    baseUri: ''
    description: github-repos-api — Lists business capability. Self-contained, no shared references.
    resources:
    - name: repos-owner-repo-projects
      path: /repos/{owner}/{repo}/projects
      operations:
      - name: listrepositoryprojects
        method: GET
        description: GitHub List Repository Projects
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: state
          in: query
          type: string
          description: Indicates the state of the projects to return.
        - 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-projects-lists-rest
    port: 8080
    description: REST adapter for github-repos-api — Lists. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/repos/{owner}/{repo}/projects
      name: repos-owner-repo-projects
      description: REST surface for repos-owner-repo-projects.
      operations:
      - method: GET
        name: listrepositoryprojects
        description: GitHub List Repository Projects
        call: repo-projects-lists.listrepositoryprojects
        with:
          state: rest.state
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: repo-projects-lists-mcp
    port: 9090
    transport: http
    description: MCP adapter for github-repos-api — Lists. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: github-list-repository-projects
      description: GitHub List Repository Projects
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: repo-projects-lists.listrepositoryprojects
      with:
        state: tools.state
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.