GitHub · Capability

GitHub User API — Star

GitHub User API — Star. 1 operations. Lead operation: GitHub Star Repository for the Authenticated User. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubStar

What You Can Do

PUT
Starrepositoryfortheauthenticateduser — GitHub Star Repository for the Authenticated User
/v1/user/starred/{owner}/{repo}

MCP Tools

github-star-repository-authenticated-user

GitHub Star Repository for the Authenticated User

idempotent

Capability Spec

users-star.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GitHub User API — Star
  description: 'GitHub User API — Star. 1 operations. Lead operation: GitHub Star Repository for the Authenticated User. Self-contained
    Naftiko capability covering one Github business surface.'
  tags:
  - Github
  - Star
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GITHUB_API_KEY: GITHUB_API_KEY
capability:
  consumes:
  - type: http
    namespace: users-star
    baseUri: ''
    description: GitHub User API — Star business capability. Self-contained, no shared references.
    resources:
    - name: user-starred-owner-repo
      path: /user/starred/{owner}/{repo}
      operations:
      - name: starrepositoryfortheauthenticateduser
        method: PUT
        description: GitHub Star Repository for the Authenticated User
        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: users-star-rest
    port: 8080
    description: REST adapter for GitHub User API — Star. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/user/starred/{owner}/{repo}
      name: user-starred-owner-repo
      description: REST surface for user-starred-owner-repo.
      operations:
      - method: PUT
        name: starrepositoryfortheauthenticateduser
        description: GitHub Star Repository for the Authenticated User
        call: users-star.starrepositoryfortheauthenticateduser
        with:
          Authorization: rest.Authorization
          X-GitHub-Api-Version: rest.X-GitHub-Api-Version
          Accept: rest.Accept
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: users-star-mcp
    port: 9090
    transport: http
    description: MCP adapter for GitHub User API — Star. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: github-star-repository-authenticated-user
      description: GitHub Star Repository for the Authenticated User
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: users-star.starrepositoryfortheauthenticateduser
      with:
        Authorization: tools.Authorization
        X-GitHub-Api-Version: tools.X-GitHub-Api-Version
        Accept: tools.Accept
      outputParameters:
      - type: object
        mapping: $.