Sound Transit · Capability

Sound Transit OneBusAway API — System

Sound Transit OneBusAway API — System. 2 operations. Lead operation: Get Server Configuration. Self-contained Naftiko capability covering one Sound Transit business surface.

Run with Naftiko Sound TransitSystem

What You Can Do

GET
Getconfig — Get Server Configuration
/v1/config-json
GET
Getcurrenttime — Get Current Time
/v1/current-time-json

MCP Tools

get-server-configuration

Get Server Configuration

read-only idempotent
get-current-time

Get Current Time

read-only idempotent

Capability Spec

onebusaway-system.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Sound Transit OneBusAway API — System
  description: 'Sound Transit OneBusAway API — System. 2 operations. Lead operation: Get Server Configuration. Self-contained
    Naftiko capability covering one Sound Transit business surface.'
  tags:
  - Sound Transit
  - System
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SOUND_TRANSIT_API_KEY: SOUND_TRANSIT_API_KEY
capability:
  consumes:
  - type: http
    namespace: onebusaway-system
    baseUri: https://api.pugetsound.onebusaway.org/api/where
    description: Sound Transit OneBusAway API — System business capability. Self-contained, no shared references.
    resources:
    - name: config.json
      path: /config.json
      operations:
      - name: getconfig
        method: GET
        description: Get Server Configuration
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: current-time.json
      path: /current-time.json
      operations:
      - name: getcurrenttime
        method: GET
        description: Get Current Time
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
  exposes:
  - type: rest
    namespace: onebusaway-system-rest
    port: 8080
    description: REST adapter for Sound Transit OneBusAway API — System. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/config-json
      name: config-json
      description: REST surface for config.json.
      operations:
      - method: GET
        name: getconfig
        description: Get Server Configuration
        call: onebusaway-system.getconfig
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/current-time-json
      name: current-time-json
      description: REST surface for current-time.json.
      operations:
      - method: GET
        name: getcurrenttime
        description: Get Current Time
        call: onebusaway-system.getcurrenttime
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: onebusaway-system-mcp
    port: 9090
    transport: http
    description: MCP adapter for Sound Transit OneBusAway API — System. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get-server-configuration
      description: Get Server Configuration
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: onebusaway-system.getconfig
      outputParameters:
      - type: object
        mapping: $.
    - name: get-current-time
      description: Get Current Time
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: onebusaway-system.getcurrenttime
      outputParameters:
      - type: object
        mapping: $.