Replicate · Capability

Replicate — Accounts

Replicate — Accounts. 1 operations. Lead operation: Get the Authenticated Account. Self-contained Naftiko capability covering one Replicate business surface.

Run with Naftiko ReplicateAccounts

What You Can Do

GET
Accountget — Get the Authenticated Account
/v1/account

MCP Tools

get-authenticated-account

Get the Authenticated Account

read-only idempotent

Capability Spec

replicate-accounts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Replicate — Accounts
  description: 'Replicate — Accounts. 1 operations. Lead operation: Get the Authenticated Account. Self-contained Naftiko
    capability covering one Replicate business surface.'
  tags:
  - Replicate
  - Accounts
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    REPLICATE_API_KEY: REPLICATE_API_KEY
capability:
  consumes:
  - type: http
    namespace: replicate-accounts
    baseUri: https://api.replicate.com/v1
    description: Replicate — Accounts business capability. Self-contained, no shared references.
    resources:
    - name: account
      path: /account
      operations:
      - name: accountget
        method: GET
        description: Get the Authenticated Account
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.REPLICATE_API_KEY}}'
  exposes:
  - type: rest
    namespace: replicate-accounts-rest
    port: 8080
    description: REST adapter for Replicate — Accounts. One Spectral-compliant resource per consumed operation, prefixed with
      /v1.
    resources:
    - path: /v1/account
      name: account
      description: REST surface for account.
      operations:
      - method: GET
        name: accountget
        description: Get the Authenticated Account
        call: replicate-accounts.accountget
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: replicate-accounts-mcp
    port: 9090
    transport: http
    description: MCP adapter for Replicate — Accounts. One tool per consumed operation, routed inline through this capability's
      consumes block.
    tools:
    - name: get-authenticated-account
      description: Get the Authenticated Account
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: replicate-accounts.accountget
      outputParameters:
      - type: object
        mapping: $.