naftiko: 1.0.0-alpha2 info: label: Twilio Accounts API — Credentials description: 'Twilio Accounts API — Credentials. 4 operations. Lead operation: Twilio List Aws Credentials. Self-contained Naftiko capability covering one Twilio business surface.' tags: - Twilio - Credentials created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: TWILIO_API_KEY: TWILIO_API_KEY capability: consumes: - type: http namespace: accounts-credentials baseUri: https://api.twilio.com/2010-04-01 description: Twilio Accounts API — Credentials business capability. Self-contained, no shared references. resources: - name: Credentials-AWS path: /Credentials/AWS operations: - name: listawscredentials method: GET description: Twilio List Aws Credentials outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createawscredential method: POST description: Twilio Create an Aws Credential outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: Credentials-PublicKeys path: /Credentials/PublicKeys operations: - name: listpublickeys method: GET description: Twilio List Public Key Credentials outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createpublickey method: POST description: Twilio Create a Public Key Credential outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: basic username: '{{env.TWILIO_USER}}' password: '{{env.TWILIO_PASS}}' exposes: - type: rest namespace: accounts-credentials-rest port: 8080 description: REST adapter for Twilio Accounts API — Credentials. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/credentials/aws name: credentials-aws description: REST surface for Credentials-AWS. operations: - method: GET name: listawscredentials description: Twilio List Aws Credentials call: accounts-credentials.listawscredentials outputParameters: - type: object mapping: $. - method: POST name: createawscredential description: Twilio Create an Aws Credential call: accounts-credentials.createawscredential with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/credentials/publickeys name: credentials-publickeys description: REST surface for Credentials-PublicKeys. operations: - method: GET name: listpublickeys description: Twilio List Public Key Credentials call: accounts-credentials.listpublickeys outputParameters: - type: object mapping: $. - method: POST name: createpublickey description: Twilio Create a Public Key Credential call: accounts-credentials.createpublickey with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: accounts-credentials-mcp port: 9090 transport: http description: MCP adapter for Twilio Accounts API — Credentials. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: twilio-list-aws-credentials description: Twilio List Aws Credentials hints: readOnly: true destructive: false idempotent: true call: accounts-credentials.listawscredentials outputParameters: - type: object mapping: $. - name: twilio-create-aws-credential description: Twilio Create an Aws Credential hints: readOnly: false destructive: false idempotent: false call: accounts-credentials.createawscredential with: body: tools.body outputParameters: - type: object mapping: $. - name: twilio-list-public-key-credentials description: Twilio List Public Key Credentials hints: readOnly: true destructive: false idempotent: true call: accounts-credentials.listpublickeys outputParameters: - type: object mapping: $. - name: twilio-create-public-key-credential description: Twilio Create a Public Key Credential hints: readOnly: false destructive: false idempotent: false call: accounts-credentials.createpublickey with: body: tools.body outputParameters: - type: object mapping: $.