WakaTime · Capability

WakaTime API — Machines

WakaTime API — Machines. 1 operations. Lead operation: List Machine Names. Self-contained Naftiko capability covering one WakaTime business surface.

Run with Naftiko WakaTimeDeveloper ProductivityMachines

What You Can Do

GET
Listmachinenames — List Machine Names
/v1/users/current/machine-names

MCP Tools

list-machine-names

List Machine Names

read-only idempotent

Capability Spec

wakatime-api-v1-machines.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: WakaTime API — Machines
  description: 'WakaTime API — Machines. 1 operations. Lead operation: List Machine Names. Self-contained Naftiko capability covering one WakaTime business surface.'
  tags:
  - WakaTime
  - Developer Productivity
  - Machines
  created: '2026-05-30'
  modified: '2026-05-30'
binds:
- namespace: env
  keys:
    WAKATIME_API_KEY: WAKATIME_API_KEY
capability:
  consumes:
  - type: http
    namespace: wakatime-api-v1-machines
    baseUri: https://wakatime.com/api/v1
    description: WakaTime API — Machines business capability. Self-contained, no shared references.
    authentication:
      type: basic
      username: '{{env.WAKATIME_API_KEY}}'
      password: ''
    resources:
    - name: users-current-machine-names
      path: /users/current/machine_names
      operations:
      - name: listMachineNames
        method: GET
        description: List Machine Names
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: wakatime-api-v1-machines-rest
    port: 8080
    description: REST adapter for WakaTime API — Machines. One Spectral-compliant resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/users/current/machine-names
      name: users-current-machine-names
      description: REST surface for /users/current/machine_names.
      operations:
      - method: GET
        name: listMachineNames
        description: List Machine Names
        call: wakatime-api-v1-machines.listMachineNames
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: wakatime-api-v1-machines-mcp
    port: 9090
    transport: http
    description: MCP adapter for WakaTime API — Machines. One tool per consumed operation, routed inline through this capability's consumes block.
    tools:
    - name: list-machine-names
      description: List Machine Names
      hints:
        destructive: false
        idempotent: true
        readOnly: true
      call: wakatime-api-v1-machines.listMachineNames
      outputParameters:
      - type: object
        mapping: $.