GitHub · Capability

GitHub Org API — Projects

GitHub Org API — Projects. 2 operations. Lead operation: GitHub List Organization Projects. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubProjects

What You Can Do

GET
Listorganizationprojects — GitHub List Organization Projects
/v1/orgs/{org}/projects
GET
Listteamprojects — GitHub List Team Projects
/v1/orgs/{org}/teams/{team-slug}/projects

MCP Tools

github-list-organization-projects

GitHub List Organization Projects

read-only idempotent
github-list-team-projects

GitHub List Team Projects

read-only idempotent

Capability Spec

organizations-projects.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GitHub Org API — Projects
  description: 'GitHub Org API — Projects. 2 operations. Lead operation: GitHub List Organization Projects. Self-contained
    Naftiko capability covering one Github business surface.'
  tags:
  - Github
  - Projects
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GITHUB_API_KEY: GITHUB_API_KEY
capability:
  consumes:
  - type: http
    namespace: organizations-projects
    baseUri: ''
    description: GitHub Org API — Projects business capability. Self-contained, no shared references.
    resources:
    - name: orgs-org-projects
      path: /orgs/{org}/projects
      operations:
      - name: listorganizationprojects
        method: GET
        description: GitHub List Organization 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: orgs-org-teams-team_slug-projects
      path: /orgs/{org}/teams/{team_slug}/projects
      operations:
      - name: listteamprojects
        method: GET
        description: GitHub List Team Projects
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.GITHUB_API_KEY}}'
  exposes:
  - type: rest
    namespace: organizations-projects-rest
    port: 8080
    description: REST adapter for GitHub Org API — Projects. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/orgs/{org}/projects
      name: orgs-org-projects
      description: REST surface for orgs-org-projects.
      operations:
      - method: GET
        name: listorganizationprojects
        description: GitHub List Organization Projects
        call: organizations-projects.listorganizationprojects
        with:
          state: rest.state
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/teams/{team-slug}/projects
      name: orgs-org-teams-team-slug-projects
      description: REST surface for orgs-org-teams-team_slug-projects.
      operations:
      - method: GET
        name: listteamprojects
        description: GitHub List Team Projects
        call: organizations-projects.listteamprojects
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: organizations-projects-mcp
    port: 9090
    transport: http
    description: MCP adapter for GitHub Org API — Projects. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: github-list-organization-projects
      description: GitHub List Organization Projects
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: organizations-projects.listorganizationprojects
      with:
        state: tools.state
      outputParameters:
      - type: object
        mapping: $.
    - name: github-list-team-projects
      description: GitHub List Team Projects
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: organizations-projects.listteamprojects
      outputParameters:
      - type: object
        mapping: $.