naftiko: 1.0.0-alpha2 info: label: RunSignup API — Teams description: 'RunSignup API — Teams. 2 operations. Lead operation: Get Race Teams. Self-contained Naftiko capability covering one Runsignup business surface.' tags: - Runsignup - Teams created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: RUNSIGNUP_API_KEY: RUNSIGNUP_API_KEY capability: consumes: - type: http namespace: runsignup-teams baseUri: https://runsignup.com/Rest description: RunSignup API — Teams business capability. Self-contained, no shared references. resources: - name: race-race_id-teams path: /race/{race_id}/teams operations: - name: getraceteams method: GET description: Get Race Teams outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: event_id in: query type: integer - name: page in: query type: integer - name: addoreditteams method: POST description: Add or Edit Race Teams outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.RUNSIGNUP_API_KEY}}' exposes: - type: rest namespace: runsignup-teams-rest port: 8080 description: REST adapter for RunSignup API — Teams. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/race/{race-id}/teams name: race-race-id-teams description: REST surface for race-race_id-teams. operations: - method: GET name: getraceteams description: Get Race Teams call: runsignup-teams.getraceteams with: event_id: rest.event_id page: rest.page outputParameters: - type: object mapping: $. - method: POST name: addoreditteams description: Add or Edit Race Teams call: runsignup-teams.addoreditteams with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: runsignup-teams-mcp port: 9090 transport: http description: MCP adapter for RunSignup API — Teams. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-race-teams description: Get Race Teams hints: readOnly: true destructive: false idempotent: true call: runsignup-teams.getraceteams with: event_id: tools.event_id page: tools.page outputParameters: - type: object mapping: $. - name: add-edit-race-teams description: Add or Edit Race Teams hints: readOnly: false destructive: false idempotent: false call: runsignup-teams.addoreditteams with: body: tools.body outputParameters: - type: object mapping: $.