GitHub Copilot · Capability

GitHub Copilot REST API — Copilot Seats

GitHub Copilot REST API — Copilot Seats. 2 operations. Lead operation: Github Copilot List All Copilot Seat Assignments for an Organization. Self-contained Naftiko capability covering one Github Copilot business surface.

Run with Naftiko Github CopilotCopilot Seats

What You Can Do

GET
Listcopilotseats — Github Copilot List All Copilot Seat Assignments for an Organization
/v1/orgs/{org}/copilot/billing/seats
GET
Getcopilotseatforuser — Github Copilot Get Copilot Seat Assignment Details for a User
/v1/orgs/{org}/members/{username}/copilot

MCP Tools

github-copilot-list-all-copilot

Github Copilot List All Copilot Seat Assignments for an Organization

read-only idempotent
github-copilot-get-copilot-seat

Github Copilot Get Copilot Seat Assignment Details for a User

read-only idempotent

Capability Spec

github-copilot-copilot-seats.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GitHub Copilot REST API — Copilot Seats
  description: 'GitHub Copilot REST API — Copilot Seats. 2 operations. Lead operation: Github Copilot List All Copilot Seat
    Assignments for an Organization. Self-contained Naftiko capability covering one Github Copilot business surface.'
  tags:
  - Github Copilot
  - Copilot Seats
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GITHUB_COPILOT_API_KEY: GITHUB_COPILOT_API_KEY
capability:
  consumes:
  - type: http
    namespace: github-copilot-copilot-seats
    baseUri: https://api.github.com
    description: GitHub Copilot REST API — Copilot Seats business capability. Self-contained, no shared references.
    resources:
    - name: orgs-org-copilot-billing-seats
      path: /orgs/{org}/copilot/billing/seats
      operations:
      - name: listcopilotseats
        method: GET
        description: Github Copilot List All Copilot Seat Assignments for an Organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: orgs-org-members-username-copilot
      path: /orgs/{org}/members/{username}/copilot
      operations:
      - name: getcopilotseatforuser
        method: GET
        description: Github Copilot Get Copilot Seat Assignment Details for a User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.GITHUB_COPILOT_API_KEY}}'
  exposes:
  - type: rest
    namespace: github-copilot-copilot-seats-rest
    port: 8080
    description: REST adapter for GitHub Copilot REST API — Copilot Seats. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/orgs/{org}/copilot/billing/seats
      name: orgs-org-copilot-billing-seats
      description: REST surface for orgs-org-copilot-billing-seats.
      operations:
      - method: GET
        name: listcopilotseats
        description: Github Copilot List All Copilot Seat Assignments for an Organization
        call: github-copilot-copilot-seats.listcopilotseats
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/orgs/{org}/members/{username}/copilot
      name: orgs-org-members-username-copilot
      description: REST surface for orgs-org-members-username-copilot.
      operations:
      - method: GET
        name: getcopilotseatforuser
        description: Github Copilot Get Copilot Seat Assignment Details for a User
        call: github-copilot-copilot-seats.getcopilotseatforuser
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: github-copilot-copilot-seats-mcp
    port: 9090
    transport: http
    description: MCP adapter for GitHub Copilot REST API — Copilot Seats. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: github-copilot-list-all-copilot
      description: Github Copilot List All Copilot Seat Assignments for an Organization
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: github-copilot-copilot-seats.listcopilotseats
      outputParameters:
      - type: object
        mapping: $.
    - name: github-copilot-get-copilot-seat
      description: Github Copilot Get Copilot Seat Assignment Details for a User
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: github-copilot-copilot-seats.getcopilotseatforuser
      outputParameters:
      - type: object
        mapping: $.