Harbor · Capability

Harbor API — Members

Harbor API — Members. 5 operations. Lead operation: Harbor List community members. Self-contained Naftiko capability covering one Harbor business surface.

Run with Naftiko HarborMembers

What You Can Do

GET
Listmembers — Harbor List community members
/v1/communities/{communityid}/members
POST
Createmember — Harbor Create a community member
/v1/communities/{communityid}/members
GET
Getmember — Harbor Get a community member
/v1/communities/{communityid}/members/{memberid}
PATCH
Updatemember — Harbor Update a community member
/v1/communities/{communityid}/members/{memberid}
POST
Awardpoints — Harbor Award points to a member
/v1/communities/{communityid}/members/{memberid}/points

MCP Tools

harbor-list-community-members

Harbor List community members

read-only idempotent
harbor-create-community-member

Harbor Create a community member

harbor-get-community-member

Harbor Get a community member

read-only idempotent
harbor-update-community-member

Harbor Update a community member

idempotent
harbor-award-points-member

Harbor Award points to a member

Capability Spec

harbor-members.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Harbor API — Members
  description: 'Harbor API — Members. 5 operations. Lead operation: Harbor List community members. Self-contained Naftiko
    capability covering one Harbor business surface.'
  tags:
  - Harbor
  - Members
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    HARBOR_API_KEY: HARBOR_API_KEY
capability:
  consumes:
  - type: http
    namespace: harbor-members
    baseUri: https://api.harbor.gg/v1
    description: Harbor API — Members business capability. Self-contained, no shared references.
    resources:
    - name: communities-communityId-members
      path: /communities/{communityId}/members
      operations:
      - name: listmembers
        method: GET
        description: Harbor List community members
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: tier
          in: query
          type: string
          description: Filter members by loyalty tier name.
        - name: status
          in: query
          type: string
          description: Filter by member status.
      - name: createmember
        method: POST
        description: Harbor Create a community member
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: communities-communityId-members-memberId
      path: /communities/{communityId}/members/{memberId}
      operations:
      - name: getmember
        method: GET
        description: Harbor Get a community member
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatemember
        method: PATCH
        description: Harbor Update a community member
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: communities-communityId-members-memberId-points
      path: /communities/{communityId}/members/{memberId}/points
      operations:
      - name: awardpoints
        method: POST
        description: Harbor Award points to a member
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    authentication:
      type: bearer
      token: '{{env.HARBOR_API_KEY}}'
  exposes:
  - type: rest
    namespace: harbor-members-rest
    port: 8080
    description: REST adapter for Harbor API — Members. One Spectral-compliant resource per consumed operation, prefixed with
      /v1.
    resources:
    - path: /v1/communities/{communityid}/members
      name: communities-communityid-members
      description: REST surface for communities-communityId-members.
      operations:
      - method: GET
        name: listmembers
        description: Harbor List community members
        call: harbor-members.listmembers
        with:
          tier: rest.tier
          status: rest.status
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createmember
        description: Harbor Create a community member
        call: harbor-members.createmember
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/communities/{communityid}/members/{memberid}
      name: communities-communityid-members-memberid
      description: REST surface for communities-communityId-members-memberId.
      operations:
      - method: GET
        name: getmember
        description: Harbor Get a community member
        call: harbor-members.getmember
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updatemember
        description: Harbor Update a community member
        call: harbor-members.updatemember
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/communities/{communityid}/members/{memberid}/points
      name: communities-communityid-members-memberid-points
      description: REST surface for communities-communityId-members-memberId-points.
      operations:
      - method: POST
        name: awardpoints
        description: Harbor Award points to a member
        call: harbor-members.awardpoints
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: harbor-members-mcp
    port: 9090
    transport: http
    description: MCP adapter for Harbor API — Members. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: harbor-list-community-members
      description: Harbor List community members
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: harbor-members.listmembers
      with:
        tier: tools.tier
        status: tools.status
      outputParameters:
      - type: object
        mapping: $.
    - name: harbor-create-community-member
      description: Harbor Create a community member
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: harbor-members.createmember
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: harbor-get-community-member
      description: Harbor Get a community member
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: harbor-members.getmember
      outputParameters:
      - type: object
        mapping: $.
    - name: harbor-update-community-member
      description: Harbor Update a community member
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: harbor-members.updatemember
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: harbor-award-points-member
      description: Harbor Award points to a member
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: harbor-members.awardpoints
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.