naftiko: 1.0.0-alpha2 info: label: Library of Congress loc.gov JSON API — Items description: 'Library of Congress loc.gov JSON API — Items. 1 operations. Lead operation: Get Item. Self-contained Naftiko capability covering one Library Of Congress business surface.' tags: - Library Of Congress - Items created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: LIBRARY_OF_CONGRESS_API_KEY: LIBRARY_OF_CONGRESS_API_KEY capability: consumes: - type: http namespace: loc-gov-json-items baseUri: https://www.loc.gov description: Library of Congress loc.gov JSON API — Items business capability. Self-contained, no shared references. resources: - name: item-itemId path: /item/{itemId}/ operations: - name: getitem method: GET description: Get Item outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: itemId in: path type: string required: true - name: fo in: query type: string exposes: - type: rest namespace: loc-gov-json-items-rest port: 8080 description: REST adapter for Library of Congress loc.gov JSON API — Items. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/item/{itemid} name: item-itemid description: REST surface for item-itemId. operations: - method: GET name: getitem description: Get Item call: loc-gov-json-items.getitem with: itemId: rest.itemId fo: rest.fo outputParameters: - type: object mapping: $. - type: mcp namespace: loc-gov-json-items-mcp port: 9090 transport: http description: MCP adapter for Library of Congress loc.gov JSON API — Items. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-item description: Get Item hints: readOnly: true destructive: false idempotent: true call: loc-gov-json-items.getitem with: itemId: tools.itemId fo: tools.fo outputParameters: - type: object mapping: $.