Bluesky · Capability

Bluesky Social API — Labels

Bluesky Social API — Labels. 1 operations. Lead operation: Bluesky Find labels relevant to the provided AT-URI patterns.. Self-contained Naftiko capability covering one Bluesky business surface.

Run with Naftiko BlueskyLabels

What You Can Do

GET
Labelquerylabels — Bluesky Find labels relevant to the provided AT-URI patterns.
/v1/xrpc/com-atproto-label-querylabels

MCP Tools

bluesky-find-labels-relevant-provided

Bluesky Find labels relevant to the provided AT-URI patterns.

read-only idempotent

Capability Spec

bluesky-labels.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Bluesky Social API — Labels
  description: 'Bluesky Social API — Labels. 1 operations. Lead operation: Bluesky Find labels relevant to the provided AT-URI
    patterns.. Self-contained Naftiko capability covering one Bluesky business surface.'
  tags:
  - Bluesky
  - Labels
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    BLUESKY_API_KEY: BLUESKY_API_KEY
capability:
  consumes:
  - type: http
    namespace: bluesky-labels
    baseUri: https://bsky.social/xrpc
    description: Bluesky Social API — Labels business capability. Self-contained, no shared references.
    resources:
    - name: xrpc-com.atproto.label.queryLabels
      path: /xrpc/com.atproto.label.queryLabels
      operations:
      - name: labelquerylabels
        method: GET
        description: Bluesky Find labels relevant to the provided AT-URI patterns.
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: uriPatterns
          in: query
          type: array
          description: List of AT URI patterns to match (boolean 'OR'). Each may be a prefix (ending with '*'; will match
            inclusive of the string leading to '*'), or a full URI.
          required: true
        - name: sources
          in: query
          type: array
          description: Optional list of label sources (DIDs) to filter on.
        - name: limit
          in: query
          type: integer
        - name: cursor
          in: query
          type: string
    authentication:
      type: bearer
      token: '{{env.BLUESKY_API_KEY}}'
  exposes:
  - type: rest
    namespace: bluesky-labels-rest
    port: 8080
    description: REST adapter for Bluesky Social API — Labels. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/xrpc/com-atproto-label-querylabels
      name: xrpc-com-atproto-label-querylabels
      description: REST surface for xrpc-com.atproto.label.queryLabels.
      operations:
      - method: GET
        name: labelquerylabels
        description: Bluesky Find labels relevant to the provided AT-URI patterns.
        call: bluesky-labels.labelquerylabels
        with:
          uriPatterns: rest.uriPatterns
          sources: rest.sources
          limit: rest.limit
          cursor: rest.cursor
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: bluesky-labels-mcp
    port: 9090
    transport: http
    description: MCP adapter for Bluesky Social API — Labels. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: bluesky-find-labels-relevant-provided
      description: Bluesky Find labels relevant to the provided AT-URI patterns.
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bluesky-labels.labelquerylabels
      with:
        uriPatterns: tools.uriPatterns
        sources: tools.sources
        limit: tools.limit
        cursor: tools.cursor
      outputParameters:
      - type: object
        mapping: $.