GitHub · Capability

GitHub Teams API — Name

GitHub Teams API — Name. 1 operations. Lead operation: GitHub Get Team by Name. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubName

What You Can Do

GET
Getteambyname — GitHub Get Team by Name
/v1/orgs/{org}/teams/{team-slug}

MCP Tools

github-get-team-name

GitHub Get Team by Name

read-only idempotent

Capability Spec

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