naftiko: 1.0.0-alpha2 info: label: Cloudsmith API (v1) — namespaces description: 'Cloudsmith API (v1) — namespaces. 2 operations. Lead operation: Get a list of all namespaces the user belongs to.. Self-contained Naftiko capability covering one Cloudsmith business surface.' tags: - Cloudsmith - namespaces created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: CLOUDSMITH_API_KEY: CLOUDSMITH_API_KEY capability: consumes: - type: http namespace: cloudsmith-namespaces baseUri: https://api.cloudsmith.io description: Cloudsmith API (v1) — namespaces business capability. Self-contained, no shared references. resources: - name: namespaces path: /namespaces/ operations: - name: namespaceslist method: GET description: Get a list of all namespaces the user belongs to. outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: page in: query type: integer description: A page number within the paginated result set. - name: page_size in: query type: integer description: Number of results to return per page. - name: namespaces-slug path: /namespaces/{slug}/ operations: - name: namespacesread method: GET description: Get a specific namespace that the user belongs to. outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: cloudsmith-namespaces-rest port: 8080 description: REST adapter for Cloudsmith API (v1) — namespaces. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/namespaces name: namespaces description: REST surface for namespaces. operations: - method: GET name: namespaceslist description: Get a list of all namespaces the user belongs to. call: cloudsmith-namespaces.namespaceslist with: page: rest.page page_size: rest.page_size outputParameters: - type: object mapping: $. - path: /v1/namespaces/{slug} name: namespaces-slug description: REST surface for namespaces-slug. operations: - method: GET name: namespacesread description: Get a specific namespace that the user belongs to. call: cloudsmith-namespaces.namespacesread outputParameters: - type: object mapping: $. - type: mcp namespace: cloudsmith-namespaces-mcp port: 9090 transport: http description: MCP adapter for Cloudsmith API (v1) — namespaces. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-list-all-namespaces-user description: Get a list of all namespaces the user belongs to. hints: readOnly: true destructive: false idempotent: true call: cloudsmith-namespaces.namespaceslist with: page: tools.page page_size: tools.page_size outputParameters: - type: object mapping: $. - name: get-specific-namespace-that-user description: Get a specific namespace that the user belongs to. hints: readOnly: true destructive: false idempotent: true call: cloudsmith-namespaces.namespacesread outputParameters: - type: object mapping: $.