naftiko: 1.0.0-alpha2 info: label: TensorDock Secrets API — Secrets description: 'TensorDock Secrets API (v2) — Secrets. 4 operations. Lead operation: Create Secret. Self-contained Naftiko capability for SSH key and generic-secret lifecycle.' tags: - TensorDock - Secrets - SSH Keys - Credentials created: '2026-05-25' modified: '2026-05-25' binds: - namespace: env keys: TENSORDOCK_BEARER_TOKEN: TENSORDOCK_BEARER_TOKEN capability: consumes: - type: http namespace: secrets-secrets baseUri: https://dashboard.tensordock.com description: Manage TensorDock SSH keys and encrypted secrets. resources: - name: secrets path: /api/v2/secrets operations: - name: listsecrets method: GET description: List all secrets. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createsecret method: POST description: Create a new secret. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: secret-detail path: /api/v2/secrets/{id} operations: - name: getsecret method: GET description: Get a secret by ID. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: deletesecret method: DELETE description: Delete a secret. outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer value: '{{env.TENSORDOCK_BEARER_TOKEN}}' placement: header exposes: - type: mcp namespace: secrets-secrets-mcp port: 9090 transport: http description: MCP adapter for TensorDock Secrets v2. tools: - name: tensordock-list-secrets description: List TensorDock secrets. hints: readOnly: true destructive: false idempotent: true call: secrets-secrets.listsecrets outputParameters: - type: object mapping: $. - name: tensordock-create-secret description: Create a TensorDock secret (SSHKEY or GENERIC). hints: readOnly: false destructive: false idempotent: false call: secrets-secrets.createsecret outputParameters: - type: object mapping: $. - name: tensordock-get-secret description: Get a TensorDock secret by ID. hints: readOnly: true destructive: false idempotent: true call: secrets-secrets.getsecret outputParameters: - type: object mapping: $. - name: tensordock-delete-secret description: Delete a TensorDock secret. hints: readOnly: false destructive: true idempotent: true call: secrets-secrets.deletesecret outputParameters: - type: object mapping: $.