naftiko: 1.0.0-alpha2 info: label: Deno Subhosting API — KV Databases description: 'Deno Subhosting API — KV Databases. 2 operations. Lead operation: List KV databases. Self-contained Naftiko capability covering one Deno business surface.' tags: - Deno - KV Databases created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: DENO_API_KEY: DENO_API_KEY capability: consumes: - type: http namespace: subhosting-kv-databases baseUri: https://api.deno.com/v1 description: Deno Subhosting API — KV Databases business capability. Self-contained, no shared references. resources: - name: organizations-organizationId-databases path: /organizations/{organizationId}/databases operations: - name: listkvdatabases method: GET description: List KV databases outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createkvdatabase method: POST description: Create KV database 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.DENO_API_KEY}}' exposes: - type: rest namespace: subhosting-kv-databases-rest port: 8080 description: REST adapter for Deno Subhosting API — KV Databases. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/organizations/{organizationid}/databases name: organizations-organizationid-databases description: REST surface for organizations-organizationId-databases. operations: - method: GET name: listkvdatabases description: List KV databases call: subhosting-kv-databases.listkvdatabases outputParameters: - type: object mapping: $. - method: POST name: createkvdatabase description: Create KV database call: subhosting-kv-databases.createkvdatabase with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: subhosting-kv-databases-mcp port: 9090 transport: http description: MCP adapter for Deno Subhosting API — KV Databases. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-kv-databases description: List KV databases hints: readOnly: true destructive: false idempotent: true call: subhosting-kv-databases.listkvdatabases outputParameters: - type: object mapping: $. - name: create-kv-database description: Create KV database hints: readOnly: false destructive: false idempotent: false call: subhosting-kv-databases.createkvdatabase with: body: tools.body outputParameters: - type: object mapping: $.