Phrase · Capability

Phrase Strings API Reference — Users

Phrase Strings API Reference — Users. 1 operations. Lead operation: Show current User. Self-contained Naftiko capability covering one Phrase business surface.

Run with Naftiko PhraseUsers

What You Can Do

GET
Showuser — Show current User
/v1/user

MCP Tools

show-current-user

Show current User

read-only idempotent

Capability Spec

strings-users.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Phrase Strings API Reference — Users
  description: 'Phrase Strings API Reference — Users. 1 operations. Lead operation: Show current User. Self-contained Naftiko
    capability covering one Phrase business surface.'
  tags:
  - Phrase
  - Users
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    PHRASE_API_KEY: PHRASE_API_KEY
capability:
  consumes:
  - type: http
    namespace: strings-users
    baseUri: https://api.phrase.com/v2
    description: Phrase Strings API Reference — Users business capability. Self-contained, no shared references.
    resources:
    - name: user
      path: /user
      operations:
      - name: showuser
        method: GET
        description: Show current User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: Authorization
      value: '{{env.PHRASE_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: strings-users-rest
    port: 8080
    description: REST adapter for Phrase Strings API Reference — Users. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/user
      name: user
      description: REST surface for user.
      operations:
      - method: GET
        name: showuser
        description: Show current User
        call: strings-users.showuser
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: strings-users-mcp
    port: 9090
    transport: http
    description: MCP adapter for Phrase Strings API Reference — Users. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: show-current-user
      description: Show current User
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: strings-users.showuser
      outputParameters:
      - type: object
        mapping: $.